diff --git a/README.md b/README.md index d407dda7..f78475a8 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Features: * It allows you to do everything official clients can do, programmatically! -* *It can make phone calls!* +* *It can make phone calls!* [See here for instructions](#calls) * It can be proxied! @@ -411,6 +411,58 @@ $MadelineProto->download_to_stream($message_media, $stream, $cb, $offset, $endof ``` +### Calls + +MadelineProto provides an easy wrapper to work with phone calls. + +The wrapper consists in the `\danog\MadelineProto\VoIP` class, that can be installed by compiling the [php-libtgvoip](https://github.com/danog/php-libtgvoip) extension. + +Please read the whole [VoIP API documentation](https://daniil.it/MadelineProto/API_docs/types/PhoneCall.html) before proceeding. + +You can also run [this script](https://daniil.it/php.sh), that will compile the latest version of ZTS PHP, PrimeModule, pthreads, and php-libtgvoip. + +It accepts one parameter with the ID of the person to call, and returns a VoIP object that can be used to play audio files, set the hold files, change the configuration and set the output file. + +Input/output audio can be converted from/to any audio/video file using ffmpeg (just don't forget to provide the correct number of channels, sample rate and bit depth, `fmpeg -i anyaudioorvideo -f s"$bitnumber"le -ac $channelNumber -ar $bitRate -acodec pcm_s"$bitnumber"le output.raw`). + +You can also stream the audio track of video streams (even from youtube), or audio streams. Just stream the data to a FIFO, and use ffmpeg to output the converted audio to another FIFO that will be used as input file. + +MadelineProto works using raw signed PCM audio with the sample rate and the bit depth specified in the configuration (see [here](https://daniil.it/MadelineProto/API_docs/types/PhoneCall.html) for info on how to fetch it). + + +Requesting calls is easy, just run the `request_call` method. + +``` +$controller = $MadelineProto->request_call('@danogentili')->play('input.raw')->then('inputb.raw')->setHoldFiles(['hold.raw'])->setOutputFile('output.raw'); +$controller->configuration['log_file_path'] = $controller->getOtherID().'.log'; + +// We need to receive updates in order to know that the other use accepted the call +while ($controller->getCallState() < \danog\MadelineProto\VoIP::CALL_STATE_READY) { + $MadelineProto->get_updates(); +} + +``` + + +Accepting calls is just as easy: you will receive an [updatePhoneCall](https://daniil.it/MadelineProto/API_docs/constructors/updatePhoneCall.html) object from your update source (see [update handling](#update-handling)). + +This array will contain a VoIP object under the `phone_call` key. + +``` + +$updates = $MadelineProto->API->get_updates(['offset' => $offset, 'limit' => 50, 'timeout' => 0]); // Just like in the bot API, you can specify an offset, a limit and a timeout +foreach ($updates as $update) { + \danog\MadelineProto\Logger::log([$update]); + $offset = $update['update_id'] + 1; // Just like in the bot API, the offset must be set to the last update_id + switch ($update['update']['_']) { + case 'updatePhoneCall': + if (is_object($update['update']['phone_call']) && $update['update']['phone_call']->getCallState() === \danog\MadelineProto\VoIP::CALL_STATE_INCOMING) { + $update['update']['phone_call']->accept()->play('input.raw')->then('inputb.raw')->playOnHold(['hold.raw'])->setOutputFile('output.raw'); + } + } +} +``` + ### Secret chats MadelineProto provides some wrappers to work with secret chats: diff --git a/docs/API_docs/constructors/accountDaysTTL.md b/docs/API_docs/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/docs/API_docs/constructors/accountDaysTTL.md +++ b/docs/API_docs/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/account_authorizations.md b/docs/API_docs/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/docs/API_docs/constructors/account_authorizations.md +++ b/docs/API_docs/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/account_noPassword.md b/docs/API_docs/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/docs/API_docs/constructors/account_noPassword.md +++ b/docs/API_docs/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/account_password.md b/docs/API_docs/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/docs/API_docs/constructors/account_password.md +++ b/docs/API_docs/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/account_passwordInputSettings.md b/docs/API_docs/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/docs/API_docs/constructors/account_passwordInputSettings.md +++ b/docs/API_docs/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/account_passwordSettings.md b/docs/API_docs/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/docs/API_docs/constructors/account_passwordSettings.md +++ b/docs/API_docs/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/account_privacyRules.md b/docs/API_docs/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/docs/API_docs/constructors/account_privacyRules.md +++ b/docs/API_docs/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/account_tmpPassword.md b/docs/API_docs/constructors/account_tmpPassword.md index e09c924b..51739691 100644 --- a/docs/API_docs/constructors/account_tmpPassword.md +++ b/docs/API_docs/constructors/account_tmpPassword.md @@ -25,6 +25,13 @@ description: account_tmpPassword attributes, type and example $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => bytes, 'valid_until' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.tmpPassword","tmp_password":"bytes","valid_until":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/auth_authorization.md b/docs/API_docs/constructors/auth_authorization.md index a162abcd..b59d5d96 100644 --- a/docs/API_docs/constructors/auth_authorization.md +++ b/docs/API_docs/constructors/auth_authorization.md @@ -25,6 +25,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","tmp_sessions":"int","user":"User"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/auth_checkedPhone.md b/docs/API_docs/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/docs/API_docs/constructors/auth_checkedPhone.md +++ b/docs/API_docs/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/auth_codeTypeCall.md b/docs/API_docs/constructors/auth_codeTypeCall.md index 6ac151ad..714eb23c 100644 --- a/docs/API_docs/constructors/auth_codeTypeCall.md +++ b/docs/API_docs/constructors/auth_codeTypeCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeCall attributes, type and example $auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeCall"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/auth_codeTypeFlashCall.md b/docs/API_docs/constructors/auth_codeTypeFlashCall.md index a8c2bc05..c535eccf 100644 --- a/docs/API_docs/constructors/auth_codeTypeFlashCall.md +++ b/docs/API_docs/constructors/auth_codeTypeFlashCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeFlashCall attributes, type and example $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeFlashCall"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/auth_codeTypeSms.md b/docs/API_docs/constructors/auth_codeTypeSms.md index aa7eccac..cbeb31cb 100644 --- a/docs/API_docs/constructors/auth_codeTypeSms.md +++ b/docs/API_docs/constructors/auth_codeTypeSms.md @@ -19,6 +19,13 @@ description: auth_codeTypeSms attributes, type and example $auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeSms"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/auth_exportedAuthorization.md b/docs/API_docs/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/docs/API_docs/constructors/auth_exportedAuthorization.md +++ b/docs/API_docs/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/auth_passwordRecovery.md b/docs/API_docs/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/docs/API_docs/constructors/auth_passwordRecovery.md +++ b/docs/API_docs/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/auth_sentCode.md b/docs/API_docs/constructors/auth_sentCode.md index f3ac1809..51e2d458 100644 --- a/docs/API_docs/constructors/auth_sentCode.md +++ b/docs/API_docs/constructors/auth_sentCode.md @@ -28,6 +28,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/auth_sentCodeTypeApp.md b/docs/API_docs/constructors/auth_sentCodeTypeApp.md index 84d05955..2456a284 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeApp.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeApp.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeApp attributes, type and example $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeApp","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/auth_sentCodeTypeCall.md b/docs/API_docs/constructors/auth_sentCodeTypeCall.md index 889cec01..39745809 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeCall.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeCall attributes, type and example $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeCall","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md b/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md index f5ec0920..2ba727ec 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/auth_sentCodeTypeSms.md b/docs/API_docs/constructors/auth_sentCodeTypeSms.md index 5c4075c1..4a350ff6 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeSms.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeSms.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeSms attributes, type and example $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeSms","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/authorization.md b/docs/API_docs/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/docs/API_docs/constructors/authorization.md +++ b/docs/API_docs/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/bad_msg_notification.md b/docs/API_docs/constructors/bad_msg_notification.md index f48351a4..1273c1b5 100644 --- a/docs/API_docs/constructors/bad_msg_notification.md +++ b/docs/API_docs/constructors/bad_msg_notification.md @@ -26,6 +26,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"bad_msg_notification","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/bad_server_salt.md b/docs/API_docs/constructors/bad_server_salt.md index 22cdb6fd..8eca3a7d 100644 --- a/docs/API_docs/constructors/bad_server_salt.md +++ b/docs/API_docs/constructors/bad_server_salt.md @@ -27,6 +27,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"bad_server_salt","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int","new_server_salt":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/botCommand.md b/docs/API_docs/constructors/botCommand.md index f4c689ef..cfcd9550 100644 --- a/docs/API_docs/constructors/botCommand.md +++ b/docs/API_docs/constructors/botCommand.md @@ -27,6 +27,13 @@ Represents command supported by bot $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/botInfo.md b/docs/API_docs/constructors/botInfo.md index 0fce4bf8..baaf28fd 100644 --- a/docs/API_docs/constructors/botInfo.md +++ b/docs/API_docs/constructors/botInfo.md @@ -26,6 +26,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/botInlineMediaResult.md b/docs/API_docs/constructors/botInlineMediaResult.md index 147b4774..29854010 100644 --- a/docs/API_docs/constructors/botInlineMediaResult.md +++ b/docs/API_docs/constructors/botInlineMediaResult.md @@ -30,6 +30,13 @@ description: botInlineMediaResult attributes, type and example $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/botInlineMessageMediaAuto.md b/docs/API_docs/constructors/botInlineMessageMediaAuto.md index 694cf6ea..c652331d 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaAuto.md +++ b/docs/API_docs/constructors/botInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaAuto attributes, type and example $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/botInlineMessageMediaContact.md b/docs/API_docs/constructors/botInlineMessageMediaContact.md index f57e4752..5e57bf4f 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaContact.md +++ b/docs/API_docs/constructors/botInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: botInlineMessageMediaContact attributes, type and example $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/botInlineMessageMediaGeo.md b/docs/API_docs/constructors/botInlineMessageMediaGeo.md index 40ea4ca1..04a4abed 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaGeo.md +++ b/docs/API_docs/constructors/botInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaGeo attributes, type and example $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/botInlineMessageMediaVenue.md b/docs/API_docs/constructors/botInlineMessageMediaVenue.md index 236f3cf1..6c08ee05 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaVenue.md +++ b/docs/API_docs/constructors/botInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: botInlineMessageMediaVenue attributes, type and example $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/botInlineMessageText.md b/docs/API_docs/constructors/botInlineMessageText.md index 278fe01d..007acd3d 100644 --- a/docs/API_docs/constructors/botInlineMessageText.md +++ b/docs/API_docs/constructors/botInlineMessageText.md @@ -27,6 +27,13 @@ description: botInlineMessageText attributes, type and example $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/botInlineResult.md b/docs/API_docs/constructors/botInlineResult.md index 839edda1..57255b6c 100644 --- a/docs/API_docs/constructors/botInlineResult.md +++ b/docs/API_docs/constructors/botInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/cdnConfig.md b/docs/API_docs/constructors/cdnConfig.md index 22f8cbd7..e1cf767d 100644 --- a/docs/API_docs/constructors/cdnConfig.md +++ b/docs/API_docs/constructors/cdnConfig.md @@ -24,6 +24,13 @@ description: cdnConfig attributes, type and example $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"cdnConfig","public_keys":["CdnPublicKey"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/cdnPublicKey.md b/docs/API_docs/constructors/cdnPublicKey.md index 3884dfb1..4cbc1de9 100644 --- a/docs/API_docs/constructors/cdnPublicKey.md +++ b/docs/API_docs/constructors/cdnPublicKey.md @@ -25,6 +25,13 @@ description: cdnPublicKey attributes, type and example $cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"cdnPublicKey","dc_id":"int","public_key":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channel.md b/docs/API_docs/constructors/channel.md index 42169f1d..d1de6024 100644 --- a/docs/API_docs/constructors/channel.md +++ b/docs/API_docs/constructors/channel.md @@ -42,6 +42,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, 'admin_rights' => ChannelAdminRights, 'banned_rights' => ChannelBannedRights, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","creator":"Bool","left":"Bool","broadcast":"Bool","verified":"Bool","megagroup":"Bool","restricted":"Bool","democracy":"Bool","signatures":"Bool","min":"Bool","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int","restriction_reason":"string","admin_rights":"ChannelAdminRights","banned_rights":"ChannelBannedRights"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEvent.md b/docs/API_docs/constructors/channelAdminLogEvent.md index 9ff9e88e..df23435a 100644 --- a/docs/API_docs/constructors/channelAdminLogEvent.md +++ b/docs/API_docs/constructors/channelAdminLogEvent.md @@ -27,6 +27,13 @@ description: channelAdminLogEvent attributes, type and example $channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEvent","id":"long","date":"int","user_id":"int","action":"ChannelAdminLogEventAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionChangeAbout.md b/docs/API_docs/constructors/channelAdminLogEventActionChangeAbout.md index 50c1cf5c..ff3b809a 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionChangeAbout.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionChangeAbout.md @@ -25,6 +25,13 @@ description: channelAdminLogEventActionChangeAbout attributes, type and example $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => string, 'new_value' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionChangeAbout","prev_value":"string","new_value":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionChangePhoto.md b/docs/API_docs/constructors/channelAdminLogEventActionChangePhoto.md index 515767ed..7b8db13e 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionChangePhoto.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionChangePhoto.md @@ -25,6 +25,13 @@ description: channelAdminLogEventActionChangePhoto attributes, type and example $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionChangePhoto","prev_photo":"ChatPhoto","new_photo":"ChatPhoto"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionChangeTitle.md b/docs/API_docs/constructors/channelAdminLogEventActionChangeTitle.md index b9c1361c..57cb4e1f 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionChangeTitle.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionChangeTitle.md @@ -25,6 +25,13 @@ description: channelAdminLogEventActionChangeTitle attributes, type and example $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => string, 'new_value' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionChangeTitle","prev_value":"string","new_value":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionChangeUsername.md b/docs/API_docs/constructors/channelAdminLogEventActionChangeUsername.md index c91e1be7..2084faa9 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionChangeUsername.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionChangeUsername.md @@ -25,6 +25,13 @@ description: channelAdminLogEventActionChangeUsername attributes, type and examp $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => string, 'new_value' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionChangeUsername","prev_value":"string","new_value":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionDeleteMessage.md b/docs/API_docs/constructors/channelAdminLogEventActionDeleteMessage.md index 6d41003b..1078d9f1 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionDeleteMessage.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionDeleteMessage.md @@ -24,6 +24,13 @@ description: channelAdminLogEventActionDeleteMessage attributes, type and exampl $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionDeleteMessage","message":"Message"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionEditMessage.md b/docs/API_docs/constructors/channelAdminLogEventActionEditMessage.md index 4c8e9489..f40b1b53 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionEditMessage.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionEditMessage.md @@ -25,6 +25,13 @@ description: channelAdminLogEventActionEditMessage attributes, type and example $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionEditMessage","prev_message":"Message","new_message":"Message"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionParticipantInvite.md b/docs/API_docs/constructors/channelAdminLogEventActionParticipantInvite.md index b0382d38..c2219d82 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantInvite.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantInvite.md @@ -24,6 +24,13 @@ description: channelAdminLogEventActionParticipantInvite attributes, type and ex $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionParticipantInvite","participant":"ChannelParticipant"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionParticipantJoin.md b/docs/API_docs/constructors/channelAdminLogEventActionParticipantJoin.md index 160961e0..3e258157 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantJoin.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantJoin.md @@ -19,6 +19,13 @@ description: channelAdminLogEventActionParticipantJoin attributes, type and exam $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionParticipantJoin"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionParticipantLeave.md b/docs/API_docs/constructors/channelAdminLogEventActionParticipantLeave.md index 9797be4e..38132cf1 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantLeave.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantLeave.md @@ -19,6 +19,13 @@ description: channelAdminLogEventActionParticipantLeave attributes, type and exa $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionParticipantLeave"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.md b/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.md index bd0ca9fb..62c462d7 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.md @@ -25,6 +25,13 @@ description: channelAdminLogEventActionParticipantToggleAdmin attributes, type a $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionParticipantToggleAdmin","prev_participant":"ChannelParticipant","new_participant":"ChannelParticipant"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleBan.md b/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleBan.md index f3d75b5a..bb5c37c9 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleBan.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleBan.md @@ -25,6 +25,13 @@ description: channelAdminLogEventActionParticipantToggleBan attributes, type and $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionParticipantToggleBan","prev_participant":"ChannelParticipant","new_participant":"ChannelParticipant"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionToggleInvites.md b/docs/API_docs/constructors/channelAdminLogEventActionToggleInvites.md index de398e61..45fcedd8 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionToggleInvites.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionToggleInvites.md @@ -24,6 +24,13 @@ description: channelAdminLogEventActionToggleInvites attributes, type and exampl $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionToggleInvites","new_value":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionToggleSignatures.md b/docs/API_docs/constructors/channelAdminLogEventActionToggleSignatures.md index 3a4e5322..4fa24103 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionToggleSignatures.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionToggleSignatures.md @@ -24,6 +24,13 @@ description: channelAdminLogEventActionToggleSignatures attributes, type and exa $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionToggleSignatures","new_value":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventActionUpdatePinned.md b/docs/API_docs/constructors/channelAdminLogEventActionUpdatePinned.md index af02766e..3dd6ea87 100644 --- a/docs/API_docs/constructors/channelAdminLogEventActionUpdatePinned.md +++ b/docs/API_docs/constructors/channelAdminLogEventActionUpdatePinned.md @@ -24,6 +24,13 @@ description: channelAdminLogEventActionUpdatePinned attributes, type and example $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventActionUpdatePinned","message":"Message"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminLogEventsFilter.md b/docs/API_docs/constructors/channelAdminLogEventsFilter.md index 5c09f737..2ffbc39a 100644 --- a/docs/API_docs/constructors/channelAdminLogEventsFilter.md +++ b/docs/API_docs/constructors/channelAdminLogEventsFilter.md @@ -37,6 +37,13 @@ description: channelAdminLogEventsFilter attributes, type and example $channelAdminLogEventsFilter = ['_' => 'channelAdminLogEventsFilter', 'join' => Bool, 'leave' => Bool, 'invite' => Bool, 'ban' => Bool, 'unban' => Bool, 'kick' => Bool, 'unkick' => Bool, 'promote' => Bool, 'demote' => Bool, 'info' => Bool, 'settings' => Bool, 'pinned' => Bool, 'edit' => Bool, 'delete' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminLogEventsFilter","join":"Bool","leave":"Bool","invite":"Bool","ban":"Bool","unban":"Bool","kick":"Bool","unkick":"Bool","promote":"Bool","demote":"Bool","info":"Bool","settings":"Bool","pinned":"Bool","edit":"Bool","delete":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelAdminRights.md b/docs/API_docs/constructors/channelAdminRights.md index fe237b39..6cd0f98c 100644 --- a/docs/API_docs/constructors/channelAdminRights.md +++ b/docs/API_docs/constructors/channelAdminRights.md @@ -32,6 +32,13 @@ description: channelAdminRights attributes, type and example $channelAdminRights = ['_' => 'channelAdminRights', 'change_info' => Bool, 'post_messages' => Bool, 'edit_messages' => Bool, 'delete_messages' => Bool, 'ban_users' => Bool, 'invite_users' => Bool, 'invite_link' => Bool, 'pin_messages' => Bool, 'add_admins' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelAdminRights","change_info":"Bool","post_messages":"Bool","edit_messages":"Bool","delete_messages":"Bool","ban_users":"Bool","invite_users":"Bool","invite_link":"Bool","pin_messages":"Bool","add_admins":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelBannedRights.md b/docs/API_docs/constructors/channelBannedRights.md index 9d8d596e..21c908be 100644 --- a/docs/API_docs/constructors/channelBannedRights.md +++ b/docs/API_docs/constructors/channelBannedRights.md @@ -32,6 +32,13 @@ description: channelBannedRights attributes, type and example $channelBannedRights = ['_' => 'channelBannedRights', 'view_messages' => Bool, 'send_messages' => Bool, 'send_media' => Bool, 'send_stickers' => Bool, 'send_gifs' => Bool, 'send_games' => Bool, 'send_inline' => Bool, 'embed_links' => Bool, 'until_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelBannedRights","view_messages":"Bool","send_messages":"Bool","send_media":"Bool","send_stickers":"Bool","send_gifs":"Bool","send_games":"Bool","send_inline":"Bool","embed_links":"Bool","until_date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelForbidden.md b/docs/API_docs/constructors/channelForbidden.md index 6f7de55f..f25fb574 100644 --- a/docs/API_docs/constructors/channelForbidden.md +++ b/docs/API_docs/constructors/channelForbidden.md @@ -29,6 +29,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'until_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string","until_date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelFull.md b/docs/API_docs/constructors/channelFull.md index 494e650b..a50e064a 100644 --- a/docs/API_docs/constructors/channelFull.md +++ b/docs/API_docs/constructors/channelFull.md @@ -41,6 +41,13 @@ description: channelFull attributes, type and example $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","can_view_participants":"Bool","can_set_username":"Bool","id":"int","about":"string","participants_count":"int","admins_count":"int","kicked_count":"int","banned_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":["BotInfo"],"migrated_from_chat_id":"int","migrated_from_max_id":"int","pinned_msg_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelMessagesFilter.md b/docs/API_docs/constructors/channelMessagesFilter.md index b8b7725b..677f7356 100644 --- a/docs/API_docs/constructors/channelMessagesFilter.md +++ b/docs/API_docs/constructors/channelMessagesFilter.md @@ -25,6 +25,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelMessagesFilterEmpty.md b/docs/API_docs/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/docs/API_docs/constructors/channelMessagesFilterEmpty.md +++ b/docs/API_docs/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelParticipant.md b/docs/API_docs/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/docs/API_docs/constructors/channelParticipant.md +++ b/docs/API_docs/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelParticipantAdmin.md b/docs/API_docs/constructors/channelParticipantAdmin.md index 0d9b04c3..d468e8bf 100644 --- a/docs/API_docs/constructors/channelParticipantAdmin.md +++ b/docs/API_docs/constructors/channelParticipantAdmin.md @@ -29,6 +29,13 @@ description: channelParticipantAdmin attributes, type and example $channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantAdmin","can_edit":"Bool","user_id":"int","inviter_id":"int","promoted_by":"int","date":"int","admin_rights":"ChannelAdminRights"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelParticipantBanned.md b/docs/API_docs/constructors/channelParticipantBanned.md index 1913af66..af239055 100644 --- a/docs/API_docs/constructors/channelParticipantBanned.md +++ b/docs/API_docs/constructors/channelParticipantBanned.md @@ -28,6 +28,13 @@ description: channelParticipantBanned attributes, type and example $channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantBanned","left":"Bool","user_id":"int","kicked_by":"int","date":"int","banned_rights":"ChannelBannedRights"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelParticipantCreator.md b/docs/API_docs/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/docs/API_docs/constructors/channelParticipantCreator.md +++ b/docs/API_docs/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelParticipantSelf.md b/docs/API_docs/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/docs/API_docs/constructors/channelParticipantSelf.md +++ b/docs/API_docs/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelParticipantsAdmins.md b/docs/API_docs/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/docs/API_docs/constructors/channelParticipantsAdmins.md +++ b/docs/API_docs/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelParticipantsBanned.md b/docs/API_docs/constructors/channelParticipantsBanned.md index 366a4fab..12229f9b 100644 --- a/docs/API_docs/constructors/channelParticipantsBanned.md +++ b/docs/API_docs/constructors/channelParticipantsBanned.md @@ -24,6 +24,13 @@ description: channelParticipantsBanned attributes, type and example $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBanned","q":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelParticipantsBots.md b/docs/API_docs/constructors/channelParticipantsBots.md index 24b68c95..963f155e 100644 --- a/docs/API_docs/constructors/channelParticipantsBots.md +++ b/docs/API_docs/constructors/channelParticipantsBots.md @@ -19,6 +19,13 @@ description: channelParticipantsBots attributes, type and example $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBots"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelParticipantsKicked.md b/docs/API_docs/constructors/channelParticipantsKicked.md index 43ecf72c..276fa3ee 100644 --- a/docs/API_docs/constructors/channelParticipantsKicked.md +++ b/docs/API_docs/constructors/channelParticipantsKicked.md @@ -24,6 +24,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked","q":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelParticipantsRecent.md b/docs/API_docs/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/docs/API_docs/constructors/channelParticipantsRecent.md +++ b/docs/API_docs/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channelParticipantsSearch.md b/docs/API_docs/constructors/channelParticipantsSearch.md index 8dcd5e9d..ca63b7cf 100644 --- a/docs/API_docs/constructors/channelParticipantsSearch.md +++ b/docs/API_docs/constructors/channelParticipantsSearch.md @@ -24,6 +24,13 @@ description: channelParticipantsSearch attributes, type and example $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsSearch","q":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channels_adminLogResults.md b/docs/API_docs/constructors/channels_adminLogResults.md index d757dcd5..c4848621 100644 --- a/docs/API_docs/constructors/channels_adminLogResults.md +++ b/docs/API_docs/constructors/channels_adminLogResults.md @@ -26,6 +26,13 @@ description: channels_adminLogResults attributes, type and example $channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.adminLogResults","events":["ChannelAdminLogEvent"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channels_channelParticipant.md b/docs/API_docs/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/docs/API_docs/constructors/channels_channelParticipant.md +++ b/docs/API_docs/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/channels_channelParticipants.md b/docs/API_docs/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/docs/API_docs/constructors/channels_channelParticipants.md +++ b/docs/API_docs/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chat.md b/docs/API_docs/constructors/chat.md index 9bad67b3..70955e06 100644 --- a/docs/API_docs/constructors/chat.md +++ b/docs/API_docs/constructors/chat.md @@ -36,6 +36,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatEmpty.md b/docs/API_docs/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/docs/API_docs/constructors/chatEmpty.md +++ b/docs/API_docs/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatForbidden.md b/docs/API_docs/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/docs/API_docs/constructors/chatForbidden.md +++ b/docs/API_docs/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatFull.md b/docs/API_docs/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/docs/API_docs/constructors/chatFull.md +++ b/docs/API_docs/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatInvite.md b/docs/API_docs/constructors/chatInvite.md index 7f23c6b9..b818ebc8 100644 --- a/docs/API_docs/constructors/chatInvite.md +++ b/docs/API_docs/constructors/chatInvite.md @@ -31,6 +31,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string","photo":"ChatPhoto","participants_count":"int","participants":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatInviteAlready.md b/docs/API_docs/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/docs/API_docs/constructors/chatInviteAlready.md +++ b/docs/API_docs/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatInviteEmpty.md b/docs/API_docs/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/docs/API_docs/constructors/chatInviteEmpty.md +++ b/docs/API_docs/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatInviteExported.md b/docs/API_docs/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/docs/API_docs/constructors/chatInviteExported.md +++ b/docs/API_docs/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatParticipant.md b/docs/API_docs/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/docs/API_docs/constructors/chatParticipant.md +++ b/docs/API_docs/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatParticipantAdmin.md b/docs/API_docs/constructors/chatParticipantAdmin.md index 6740c4a3..775f29c7 100644 --- a/docs/API_docs/constructors/chatParticipantAdmin.md +++ b/docs/API_docs/constructors/chatParticipantAdmin.md @@ -26,6 +26,13 @@ description: chatParticipantAdmin attributes, type and example $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatParticipantCreator.md b/docs/API_docs/constructors/chatParticipantCreator.md index b80542a7..687dd93f 100644 --- a/docs/API_docs/constructors/chatParticipantCreator.md +++ b/docs/API_docs/constructors/chatParticipantCreator.md @@ -24,6 +24,13 @@ description: chatParticipantCreator attributes, type and example $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatParticipants.md b/docs/API_docs/constructors/chatParticipants.md index 2420f15e..c1602888 100644 --- a/docs/API_docs/constructors/chatParticipants.md +++ b/docs/API_docs/constructors/chatParticipants.md @@ -26,6 +26,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatParticipantsForbidden.md b/docs/API_docs/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/docs/API_docs/constructors/chatParticipantsForbidden.md +++ b/docs/API_docs/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatPhoto.md b/docs/API_docs/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/docs/API_docs/constructors/chatPhoto.md +++ b/docs/API_docs/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/chatPhotoEmpty.md b/docs/API_docs/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/docs/API_docs/constructors/chatPhotoEmpty.md +++ b/docs/API_docs/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/client_DH_inner_data.md b/docs/API_docs/constructors/client_DH_inner_data.md index 3455f5cb..1505e457 100644 --- a/docs/API_docs/constructors/client_DH_inner_data.md +++ b/docs/API_docs/constructors/client_DH_inner_data.md @@ -27,6 +27,13 @@ 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' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"client_DH_inner_data","nonce":"int128","server_nonce":"int128","retry_id":"long","g_b":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/config.md b/docs/API_docs/constructors/config.md index 3487743c..a12af4b2 100644 --- a/docs/API_docs/constructors/config.md +++ b/docs/API_docs/constructors/config.md @@ -55,6 +55,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => string, 'suggested_lang_code' => string, 'lang_pack_version' => int, 'disabled_features' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","phonecalls_enabled":"Bool","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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","pinned_dialogs_count_max":"int","call_receive_timeout_ms":"int","call_ring_timeout_ms":"int","call_connect_timeout_ms":"int","call_packet_timeout_ms":"int","me_url_prefix":"string","suggested_lang_code":"string","lang_pack_version":"int","disabled_features":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contact.md b/docs/API_docs/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/docs/API_docs/constructors/contact.md +++ b/docs/API_docs/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contactBlocked.md b/docs/API_docs/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/docs/API_docs/constructors/contactBlocked.md +++ b/docs/API_docs/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contactLinkContact.md b/docs/API_docs/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/docs/API_docs/constructors/contactLinkContact.md +++ b/docs/API_docs/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contactLinkHasPhone.md b/docs/API_docs/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/docs/API_docs/constructors/contactLinkHasPhone.md +++ b/docs/API_docs/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contactLinkNone.md b/docs/API_docs/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/docs/API_docs/constructors/contactLinkNone.md +++ b/docs/API_docs/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contactLinkUnknown.md b/docs/API_docs/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/docs/API_docs/constructors/contactLinkUnknown.md +++ b/docs/API_docs/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contactStatus.md b/docs/API_docs/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/docs/API_docs/constructors/contactStatus.md +++ b/docs/API_docs/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contacts_blocked.md b/docs/API_docs/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/docs/API_docs/constructors/contacts_blocked.md +++ b/docs/API_docs/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contacts_blockedSlice.md b/docs/API_docs/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/docs/API_docs/constructors/contacts_blockedSlice.md +++ b/docs/API_docs/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contacts_contacts.md b/docs/API_docs/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/docs/API_docs/constructors/contacts_contacts.md +++ b/docs/API_docs/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contacts_contactsNotModified.md b/docs/API_docs/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/docs/API_docs/constructors/contacts_contactsNotModified.md +++ b/docs/API_docs/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contacts_found.md b/docs/API_docs/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/docs/API_docs/constructors/contacts_found.md +++ b/docs/API_docs/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contacts_importedContacts.md b/docs/API_docs/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/docs/API_docs/constructors/contacts_importedContacts.md +++ b/docs/API_docs/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contacts_link.md b/docs/API_docs/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/docs/API_docs/constructors/contacts_link.md +++ b/docs/API_docs/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contacts_resolvedPeer.md b/docs/API_docs/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/docs/API_docs/constructors/contacts_resolvedPeer.md +++ b/docs/API_docs/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contacts_topPeers.md b/docs/API_docs/constructors/contacts_topPeers.md index 0ef10578..d059cb80 100644 --- a/docs/API_docs/constructors/contacts_topPeers.md +++ b/docs/API_docs/constructors/contacts_topPeers.md @@ -26,6 +26,13 @@ description: contacts_topPeers attributes, type and example $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/contacts_topPeersNotModified.md b/docs/API_docs/constructors/contacts_topPeersNotModified.md index 9ab95116..ce380f72 100644 --- a/docs/API_docs/constructors/contacts_topPeersNotModified.md +++ b/docs/API_docs/constructors/contacts_topPeersNotModified.md @@ -19,6 +19,13 @@ description: contacts_topPeersNotModified attributes, type and example $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeersNotModified"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/dataJSON.md b/docs/API_docs/constructors/dataJSON.md index c2368727..5ad2bebc 100644 --- a/docs/API_docs/constructors/dataJSON.md +++ b/docs/API_docs/constructors/dataJSON.md @@ -24,6 +24,13 @@ description: dataJSON attributes, type and example $dataJSON = ['_' => 'dataJSON', 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dataJSON","data":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/dcOption.md b/docs/API_docs/constructors/dcOption.md index e8a2f6c3..85c59c95 100644 --- a/docs/API_docs/constructors/dcOption.md +++ b/docs/API_docs/constructors/dcOption.md @@ -31,6 +31,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","cdn":"Bool","static":"Bool","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedDataBlock.md b/docs/API_docs/constructors/decryptedDataBlock.md index ddb63a44..7028d775 100644 --- a/docs/API_docs/constructors/decryptedDataBlock.md +++ b/docs/API_docs/constructors/decryptedDataBlock.md @@ -30,6 +30,13 @@ description: decryptedDataBlock attributes, type and example $decryptedDataBlock = ['_' => 'decryptedDataBlock', 'voice_call_id' => int128, 'in_seq_no' => int, 'out_seq_no' => int, 'recent_received_mask' => int, 'proto' => int, 'extra' => string, 'raw_data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedDataBlock","voice_call_id":"int128","in_seq_no":"int","out_seq_no":"int","recent_received_mask":"int","proto":"int","extra":"string","raw_data":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageActionAbortKey_20.md b/docs/API_docs/constructors/decryptedMessageActionAbortKey_20.md index c097a18a..7d5c3376 100644 --- a/docs/API_docs/constructors/decryptedMessageActionAbortKey_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionAbortKey_20.md @@ -24,6 +24,13 @@ description: decryptedMessageActionAbortKey attributes, type and example $decryptedMessageActionAbortKey_20 = ['_' => 'decryptedMessageActionAbortKey', 'exchange_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageActionAbortKey","exchange_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageActionAcceptKey_20.md b/docs/API_docs/constructors/decryptedMessageActionAcceptKey_20.md index 3af32bc4..f4160f6b 100644 --- a/docs/API_docs/constructors/decryptedMessageActionAcceptKey_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionAcceptKey_20.md @@ -26,6 +26,13 @@ description: decryptedMessageActionAcceptKey attributes, type and example $decryptedMessageActionAcceptKey_20 = ['_' => 'decryptedMessageActionAcceptKey', 'exchange_id' => long, 'g_b' => bytes, 'key_fingerprint' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageActionAcceptKey","exchange_id":"long","g_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageActionCommitKey_20.md b/docs/API_docs/constructors/decryptedMessageActionCommitKey_20.md index 98e09353..85816c18 100644 --- a/docs/API_docs/constructors/decryptedMessageActionCommitKey_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionCommitKey_20.md @@ -25,6 +25,13 @@ description: decryptedMessageActionCommitKey attributes, type and example $decryptedMessageActionCommitKey_20 = ['_' => 'decryptedMessageActionCommitKey', 'exchange_id' => long, 'key_fingerprint' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageActionCommitKey","exchange_id":"long","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageActionDeleteMessages_8.md b/docs/API_docs/constructors/decryptedMessageActionDeleteMessages_8.md index 82e887c6..8dab3367 100644 --- a/docs/API_docs/constructors/decryptedMessageActionDeleteMessages_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionDeleteMessages_8.md @@ -24,6 +24,13 @@ description: decryptedMessageActionDeleteMessages attributes, type and example $decryptedMessageActionDeleteMessages_8 = ['_' => 'decryptedMessageActionDeleteMessages', 'random_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageActionDeleteMessages","random_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageActionFlushHistory_8.md b/docs/API_docs/constructors/decryptedMessageActionFlushHistory_8.md index b137332c..91efe37e 100644 --- a/docs/API_docs/constructors/decryptedMessageActionFlushHistory_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionFlushHistory_8.md @@ -19,6 +19,13 @@ description: decryptedMessageActionFlushHistory attributes, type and example $decryptedMessageActionFlushHistory_8 = ['_' => 'decryptedMessageActionFlushHistory', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageActionFlushHistory"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageActionNoop_20.md b/docs/API_docs/constructors/decryptedMessageActionNoop_20.md index 1166756f..b1d4e33b 100644 --- a/docs/API_docs/constructors/decryptedMessageActionNoop_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionNoop_20.md @@ -19,6 +19,13 @@ description: decryptedMessageActionNoop attributes, type and example $decryptedMessageActionNoop_20 = ['_' => 'decryptedMessageActionNoop', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageActionNoop"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageActionNotifyLayer_17.md b/docs/API_docs/constructors/decryptedMessageActionNotifyLayer_17.md index 6f781212..64922d63 100644 --- a/docs/API_docs/constructors/decryptedMessageActionNotifyLayer_17.md +++ b/docs/API_docs/constructors/decryptedMessageActionNotifyLayer_17.md @@ -24,6 +24,13 @@ description: decryptedMessageActionNotifyLayer attributes, type and example $decryptedMessageActionNotifyLayer_17 = ['_' => 'decryptedMessageActionNotifyLayer', 'layer' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageActionNotifyLayer","layer":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageActionReadMessages_8.md b/docs/API_docs/constructors/decryptedMessageActionReadMessages_8.md index 218ef3af..93dc480a 100644 --- a/docs/API_docs/constructors/decryptedMessageActionReadMessages_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionReadMessages_8.md @@ -24,6 +24,13 @@ description: decryptedMessageActionReadMessages attributes, type and example $decryptedMessageActionReadMessages_8 = ['_' => 'decryptedMessageActionReadMessages', 'random_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageActionReadMessages","random_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageActionRequestKey_20.md b/docs/API_docs/constructors/decryptedMessageActionRequestKey_20.md index 8d16ed62..b1f895cf 100644 --- a/docs/API_docs/constructors/decryptedMessageActionRequestKey_20.md +++ b/docs/API_docs/constructors/decryptedMessageActionRequestKey_20.md @@ -25,6 +25,13 @@ description: decryptedMessageActionRequestKey attributes, type and example $decryptedMessageActionRequestKey_20 = ['_' => 'decryptedMessageActionRequestKey', 'exchange_id' => long, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageActionRequestKey","exchange_id":"long","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageActionResend_17.md b/docs/API_docs/constructors/decryptedMessageActionResend_17.md index d856d3ba..6df23047 100644 --- a/docs/API_docs/constructors/decryptedMessageActionResend_17.md +++ b/docs/API_docs/constructors/decryptedMessageActionResend_17.md @@ -25,6 +25,13 @@ description: decryptedMessageActionResend attributes, type and example $decryptedMessageActionResend_17 = ['_' => 'decryptedMessageActionResend', 'start_seq_no' => int, 'end_seq_no' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageActionResend","start_seq_no":"int","end_seq_no":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageActionScreenshotMessages_8.md b/docs/API_docs/constructors/decryptedMessageActionScreenshotMessages_8.md index 8a1a841f..881b4115 100644 --- a/docs/API_docs/constructors/decryptedMessageActionScreenshotMessages_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionScreenshotMessages_8.md @@ -24,6 +24,13 @@ description: decryptedMessageActionScreenshotMessages attributes, type and examp $decryptedMessageActionScreenshotMessages_8 = ['_' => 'decryptedMessageActionScreenshotMessages', 'random_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageActionScreenshotMessages","random_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageActionSetMessageTTL_8.md b/docs/API_docs/constructors/decryptedMessageActionSetMessageTTL_8.md index 6eed77a1..335bbb31 100644 --- a/docs/API_docs/constructors/decryptedMessageActionSetMessageTTL_8.md +++ b/docs/API_docs/constructors/decryptedMessageActionSetMessageTTL_8.md @@ -24,6 +24,13 @@ description: decryptedMessageActionSetMessageTTL attributes, type and example $decryptedMessageActionSetMessageTTL_8 = ['_' => 'decryptedMessageActionSetMessageTTL', 'ttl_seconds' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageActionSetMessageTTL","ttl_seconds":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageActionTyping_17.md b/docs/API_docs/constructors/decryptedMessageActionTyping_17.md index db41ee87..244e53de 100644 --- a/docs/API_docs/constructors/decryptedMessageActionTyping_17.md +++ b/docs/API_docs/constructors/decryptedMessageActionTyping_17.md @@ -24,6 +24,13 @@ description: decryptedMessageActionTyping attributes, type and example $decryptedMessageActionTyping_17 = ['_' => 'decryptedMessageActionTyping', 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageActionTyping","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageLayer_17.md b/docs/API_docs/constructors/decryptedMessageLayer_17.md index 24fca4eb..8de4868e 100644 --- a/docs/API_docs/constructors/decryptedMessageLayer_17.md +++ b/docs/API_docs/constructors/decryptedMessageLayer_17.md @@ -27,6 +27,13 @@ description: decryptedMessageLayer attributes, type and example $decryptedMessageLayer_17 = ['_' => 'decryptedMessageLayer', 'layer' => int, 'in_seq_no' => int, 'out_seq_no' => int, 'message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageLayer","layer":"int","in_seq_no":"int","out_seq_no":"int","message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaAudio_17.md b/docs/API_docs/constructors/decryptedMessageMediaAudio_17.md index 084dc995..4073a74d 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaAudio_17.md +++ b/docs/API_docs/constructors/decryptedMessageMediaAudio_17.md @@ -28,6 +28,13 @@ description: decryptedMessageMediaAudio attributes, type and example $decryptedMessageMediaAudio_17 = ['_' => 'decryptedMessageMediaAudio', 'duration' => int, 'mime_type' => string, 'size' => int, 'key' => bytes, 'iv' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaAudio","duration":"int","mime_type":"string","size":"int","key":"bytes","iv":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaAudio_8.md b/docs/API_docs/constructors/decryptedMessageMediaAudio_8.md index ad73518a..f35bcd86 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaAudio_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaAudio_8.md @@ -27,6 +27,13 @@ description: decryptedMessageMediaAudio attributes, type and example $decryptedMessageMediaAudio_8 = ['_' => 'decryptedMessageMediaAudio', 'duration' => int, 'size' => int, 'key' => bytes, 'iv' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaAudio","duration":"int","size":"int","key":"bytes","iv":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaContact_8.md b/docs/API_docs/constructors/decryptedMessageMediaContact_8.md index 0dc458d5..77c4db73 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaContact_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaContact_8.md @@ -27,6 +27,13 @@ description: decryptedMessageMediaContact attributes, type and example $decryptedMessageMediaContact_8 = ['_' => 'decryptedMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaDocument_45.md b/docs/API_docs/constructors/decryptedMessageMediaDocument_45.md index 98346b1e..1cffd1bf 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaDocument_45.md +++ b/docs/API_docs/constructors/decryptedMessageMediaDocument_45.md @@ -32,6 +32,13 @@ description: decryptedMessageMediaDocument attributes, type and example $decryptedMessageMediaDocument_45 = ['_' => 'decryptedMessageMediaDocument', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'mime_type' => string, 'size' => int, 'key' => bytes, 'iv' => bytes, 'attributes' => [DocumentAttribute], 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaDocument","thumb":"bytes","thumb_w":"int","thumb_h":"int","mime_type":"string","size":"int","key":"bytes","iv":"bytes","attributes":["DocumentAttribute"],"caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaDocument_8.md b/docs/API_docs/constructors/decryptedMessageMediaDocument_8.md index 7bc86b8e..4f41be70 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaDocument_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaDocument_8.md @@ -31,6 +31,13 @@ description: decryptedMessageMediaDocument attributes, type and example $decryptedMessageMediaDocument_8 = ['_' => 'decryptedMessageMediaDocument', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'file_name' => string, 'mime_type' => string, 'size' => int, 'key' => bytes, 'iv' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaDocument","thumb":"bytes","thumb_w":"int","thumb_h":"int","file_name":"string","mime_type":"string","size":"int","key":"bytes","iv":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaEmpty_8.md b/docs/API_docs/constructors/decryptedMessageMediaEmpty_8.md index 15d933c3..08d7801f 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaEmpty_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaEmpty_8.md @@ -19,6 +19,13 @@ description: decryptedMessageMediaEmpty attributes, type and example $decryptedMessageMediaEmpty_8 = ['_' => 'decryptedMessageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaExternalDocument_23.md b/docs/API_docs/constructors/decryptedMessageMediaExternalDocument_23.md index c729e177..f1af280f 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaExternalDocument_23.md +++ b/docs/API_docs/constructors/decryptedMessageMediaExternalDocument_23.md @@ -31,6 +31,13 @@ description: decryptedMessageMediaExternalDocument attributes, type and example $decryptedMessageMediaExternalDocument_23 = ['_' => 'decryptedMessageMediaExternalDocument', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaExternalDocument","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaGeoPoint_8.md b/docs/API_docs/constructors/decryptedMessageMediaGeoPoint_8.md index cf7817b5..fb7bcdee 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaGeoPoint_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaGeoPoint_8.md @@ -25,6 +25,13 @@ description: decryptedMessageMediaGeoPoint attributes, type and example $decryptedMessageMediaGeoPoint_8 = ['_' => 'decryptedMessageMediaGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaPhoto_45.md b/docs/API_docs/constructors/decryptedMessageMediaPhoto_45.md index 14485538..ada70640 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaPhoto_45.md +++ b/docs/API_docs/constructors/decryptedMessageMediaPhoto_45.md @@ -32,6 +32,13 @@ description: decryptedMessageMediaPhoto attributes, type and example $decryptedMessageMediaPhoto_45 = ['_' => 'decryptedMessageMediaPhoto', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'w' => int, 'h' => int, 'size' => int, 'key' => bytes, 'iv' => bytes, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaPhoto","thumb":"bytes","thumb_w":"int","thumb_h":"int","w":"int","h":"int","size":"int","key":"bytes","iv":"bytes","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md b/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md index 0237cb65..4ad3aeb4 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md @@ -31,6 +31,13 @@ description: decryptedMessageMediaPhoto attributes, type and example $decryptedMessageMediaPhoto_8 = ['_' => 'decryptedMessageMediaPhoto', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'w' => int, 'h' => int, 'size' => int, 'key' => bytes, 'iv' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaPhoto","thumb":"bytes","thumb_w":"int","thumb_h":"int","w":"int","h":"int","size":"int","key":"bytes","iv":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaVenue_46.md b/docs/API_docs/constructors/decryptedMessageMediaVenue_46.md index 25a89147..3384e5e8 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaVenue_46.md +++ b/docs/API_docs/constructors/decryptedMessageMediaVenue_46.md @@ -29,6 +29,13 @@ description: decryptedMessageMediaVenue attributes, type and example $decryptedMessageMediaVenue_46 = ['_' => 'decryptedMessageMediaVenue', 'lat' => double, 'long' => double, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaVenue","lat":"double","long":"double","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaVideo_17.md b/docs/API_docs/constructors/decryptedMessageMediaVideo_17.md index a2ff5144..0360a7ad 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaVideo_17.md +++ b/docs/API_docs/constructors/decryptedMessageMediaVideo_17.md @@ -33,6 +33,13 @@ description: decryptedMessageMediaVideo attributes, type and example $decryptedMessageMediaVideo_17 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'mime_type' => string, 'w' => int, 'h' => int, 'size' => int, 'key' => bytes, 'iv' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaVideo","thumb":"bytes","thumb_w":"int","thumb_h":"int","duration":"int","mime_type":"string","w":"int","h":"int","size":"int","key":"bytes","iv":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md b/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md index 36eafa9e..a3df8210 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md +++ b/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md @@ -34,6 +34,13 @@ description: decryptedMessageMediaVideo attributes, type and example $decryptedMessageMediaVideo_45 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'mime_type' => string, 'w' => int, 'h' => int, 'size' => int, 'key' => bytes, 'iv' => bytes, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaVideo","thumb":"bytes","thumb_w":"int","thumb_h":"int","duration":"int","mime_type":"string","w":"int","h":"int","size":"int","key":"bytes","iv":"bytes","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaVideo_8.md b/docs/API_docs/constructors/decryptedMessageMediaVideo_8.md index 72971570..8752bfaa 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaVideo_8.md +++ b/docs/API_docs/constructors/decryptedMessageMediaVideo_8.md @@ -32,6 +32,13 @@ description: decryptedMessageMediaVideo attributes, type and example $decryptedMessageMediaVideo_8 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'w' => int, 'h' => int, 'size' => int, 'key' => bytes, 'iv' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaVideo","thumb":"bytes","thumb_w":"int","thumb_h":"int","duration":"int","w":"int","h":"int","size":"int","key":"bytes","iv":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageMediaWebPage_46.md b/docs/API_docs/constructors/decryptedMessageMediaWebPage_46.md index 0e2302bd..17784f07 100644 --- a/docs/API_docs/constructors/decryptedMessageMediaWebPage_46.md +++ b/docs/API_docs/constructors/decryptedMessageMediaWebPage_46.md @@ -24,6 +24,13 @@ description: decryptedMessageMediaWebPage attributes, type and example $decryptedMessageMediaWebPage_46 = ['_' => 'decryptedMessageMediaWebPage', 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageMediaWebPage","url":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageService_17.md b/docs/API_docs/constructors/decryptedMessageService_17.md index e6e54609..ac4fae92 100644 --- a/docs/API_docs/constructors/decryptedMessageService_17.md +++ b/docs/API_docs/constructors/decryptedMessageService_17.md @@ -24,6 +24,13 @@ description: decryptedMessageService attributes, type and example $decryptedMessageService_17 = ['_' => 'decryptedMessageService', 'action' => DecryptedMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageService","action":"DecryptedMessageAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessageService_8.md b/docs/API_docs/constructors/decryptedMessageService_8.md index 48eb9ffd..890fbc7b 100644 --- a/docs/API_docs/constructors/decryptedMessageService_8.md +++ b/docs/API_docs/constructors/decryptedMessageService_8.md @@ -24,6 +24,13 @@ description: decryptedMessageService attributes, type and example $decryptedMessageService_8 = ['_' => 'decryptedMessageService', 'action' => DecryptedMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessageService","action":"DecryptedMessageAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessage_17.md b/docs/API_docs/constructors/decryptedMessage_17.md index 1a81f0ec..a07af507 100644 --- a/docs/API_docs/constructors/decryptedMessage_17.md +++ b/docs/API_docs/constructors/decryptedMessage_17.md @@ -26,6 +26,13 @@ description: decryptedMessage attributes, type and example $decryptedMessage_17 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => string, 'media' => DecryptedMessageMedia, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessage","ttl":"int","message":"string","media":"DecryptedMessageMedia"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessage_45.md b/docs/API_docs/constructors/decryptedMessage_45.md index de0e8f21..f7ea6121 100644 --- a/docs/API_docs/constructors/decryptedMessage_45.md +++ b/docs/API_docs/constructors/decryptedMessage_45.md @@ -29,6 +29,13 @@ description: decryptedMessage attributes, type and example $decryptedMessage_45 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => string, 'media' => DecryptedMessageMedia, 'entities' => [MessageEntity], 'via_bot_name' => string, 'reply_to_random_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessage","ttl":"int","message":"string","media":"DecryptedMessageMedia","entities":["MessageEntity"],"via_bot_name":"string","reply_to_random_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/decryptedMessage_8.md b/docs/API_docs/constructors/decryptedMessage_8.md index 9754f1c4..12eb01c9 100644 --- a/docs/API_docs/constructors/decryptedMessage_8.md +++ b/docs/API_docs/constructors/decryptedMessage_8.md @@ -25,6 +25,13 @@ description: decryptedMessage attributes, type and example $decryptedMessage_8 = ['_' => 'decryptedMessage', 'message' => string, 'media' => DecryptedMessageMedia, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"decryptedMessage","message":"string","media":"DecryptedMessageMedia"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/destroy_auth_key_fail.md b/docs/API_docs/constructors/destroy_auth_key_fail.md index b34c9ed3..00dececb 100644 --- a/docs/API_docs/constructors/destroy_auth_key_fail.md +++ b/docs/API_docs/constructors/destroy_auth_key_fail.md @@ -19,6 +19,13 @@ description: destroy_auth_key_fail attributes, type and example $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_auth_key_fail"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/destroy_auth_key_none.md b/docs/API_docs/constructors/destroy_auth_key_none.md index bbaf778a..2d5ed5f3 100644 --- a/docs/API_docs/constructors/destroy_auth_key_none.md +++ b/docs/API_docs/constructors/destroy_auth_key_none.md @@ -19,6 +19,13 @@ description: destroy_auth_key_none attributes, type and example $destroy_auth_key_none = ['_' => 'destroy_auth_key_none', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_auth_key_none"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/destroy_auth_key_ok.md b/docs/API_docs/constructors/destroy_auth_key_ok.md index e9038ea9..642a29c3 100644 --- a/docs/API_docs/constructors/destroy_auth_key_ok.md +++ b/docs/API_docs/constructors/destroy_auth_key_ok.md @@ -19,6 +19,13 @@ description: destroy_auth_key_ok attributes, type and example $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_auth_key_ok"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/destroy_session_none.md b/docs/API_docs/constructors/destroy_session_none.md index 89bb5678..9e5278b4 100644 --- a/docs/API_docs/constructors/destroy_session_none.md +++ b/docs/API_docs/constructors/destroy_session_none.md @@ -24,6 +24,13 @@ description: destroy_session_none attributes, type and example $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_session_none","session_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/destroy_session_ok.md b/docs/API_docs/constructors/destroy_session_ok.md index 5675c75f..17b39b93 100644 --- a/docs/API_docs/constructors/destroy_session_ok.md +++ b/docs/API_docs/constructors/destroy_session_ok.md @@ -24,6 +24,13 @@ description: destroy_session_ok attributes, type and example $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_session_ok","session_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/dh_gen_fail.md b/docs/API_docs/constructors/dh_gen_fail.md index 16073250..320b9306 100644 --- a/docs/API_docs/constructors/dh_gen_fail.md +++ b/docs/API_docs/constructors/dh_gen_fail.md @@ -26,6 +26,13 @@ description: dh_gen_fail attributes, type and example $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dh_gen_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash3":"int128"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/dh_gen_ok.md b/docs/API_docs/constructors/dh_gen_ok.md index a8675829..2b43d907 100644 --- a/docs/API_docs/constructors/dh_gen_ok.md +++ b/docs/API_docs/constructors/dh_gen_ok.md @@ -26,6 +26,13 @@ description: dh_gen_ok attributes, type and example $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dh_gen_ok","nonce":"int128","server_nonce":"int128","new_nonce_hash1":"int128"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/dh_gen_retry.md b/docs/API_docs/constructors/dh_gen_retry.md index b3ec92f5..db5c1928 100644 --- a/docs/API_docs/constructors/dh_gen_retry.md +++ b/docs/API_docs/constructors/dh_gen_retry.md @@ -26,6 +26,13 @@ description: dh_gen_retry attributes, type and example $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dh_gen_retry","nonce":"int128","server_nonce":"int128","new_nonce_hash2":"int128"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/dialog.md b/docs/API_docs/constructors/dialog.md index 5309a2be..5c5c2008 100644 --- a/docs/API_docs/constructors/dialog.md +++ b/docs/API_docs/constructors/dialog.md @@ -32,6 +32,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'pinned' => Bool, '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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","pinned":"Bool","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"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/disabledFeature.md b/docs/API_docs/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/docs/API_docs/constructors/disabledFeature.md +++ b/docs/API_docs/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/document.md b/docs/API_docs/constructors/document.md index 5921896e..fdadf27d 100644 --- a/docs/API_docs/constructors/document.md +++ b/docs/API_docs/constructors/document.md @@ -32,6 +32,13 @@ 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' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","version":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeAnimated.md b/docs/API_docs/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/docs/API_docs/constructors/documentAttributeAnimated.md +++ b/docs/API_docs/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeAnimated_23.md b/docs/API_docs/constructors/documentAttributeAnimated_23.md index eb8612a3..b1982049 100644 --- a/docs/API_docs/constructors/documentAttributeAnimated_23.md +++ b/docs/API_docs/constructors/documentAttributeAnimated_23.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated_23 = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeAudio.md b/docs/API_docs/constructors/documentAttributeAudio.md index 83ba2eb9..74aa516d 100644 --- a/docs/API_docs/constructors/documentAttributeAudio.md +++ b/docs/API_docs/constructors/documentAttributeAudio.md @@ -28,6 +28,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeAudio_23.md b/docs/API_docs/constructors/documentAttributeAudio_23.md index a8a22941..08a879a6 100644 --- a/docs/API_docs/constructors/documentAttributeAudio_23.md +++ b/docs/API_docs/constructors/documentAttributeAudio_23.md @@ -24,6 +24,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio_23 = ['_' => 'documentAttributeAudio', 'duration' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","duration":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeAudio_46.md b/docs/API_docs/constructors/documentAttributeAudio_46.md index 2fed3727..c5010c03 100644 --- a/docs/API_docs/constructors/documentAttributeAudio_46.md +++ b/docs/API_docs/constructors/documentAttributeAudio_46.md @@ -26,6 +26,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio_46 = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeFilename.md b/docs/API_docs/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/docs/API_docs/constructors/documentAttributeFilename.md +++ b/docs/API_docs/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeFilename_23.md b/docs/API_docs/constructors/documentAttributeFilename_23.md index 5082e418..5c7315d1 100644 --- a/docs/API_docs/constructors/documentAttributeFilename_23.md +++ b/docs/API_docs/constructors/documentAttributeFilename_23.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename_23 = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeHasStickers.md b/docs/API_docs/constructors/documentAttributeHasStickers.md index 5345d27d..b09f783d 100644 --- a/docs/API_docs/constructors/documentAttributeHasStickers.md +++ b/docs/API_docs/constructors/documentAttributeHasStickers.md @@ -19,6 +19,13 @@ description: documentAttributeHasStickers attributes, type and example $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeHasStickers"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeImageSize.md b/docs/API_docs/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/docs/API_docs/constructors/documentAttributeImageSize.md +++ b/docs/API_docs/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeImageSize_23.md b/docs/API_docs/constructors/documentAttributeImageSize_23.md index 80e0cb01..366ff3a7 100644 --- a/docs/API_docs/constructors/documentAttributeImageSize_23.md +++ b/docs/API_docs/constructors/documentAttributeImageSize_23.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize_23 = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeSticker.md b/docs/API_docs/constructors/documentAttributeSticker.md index 746b6fd0..77b8f437 100644 --- a/docs/API_docs/constructors/documentAttributeSticker.md +++ b/docs/API_docs/constructors/documentAttributeSticker.md @@ -27,6 +27,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","mask":"Bool","alt":"string","stickerset":"InputStickerSet","mask_coords":"MaskCoords"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeSticker_23.md b/docs/API_docs/constructors/documentAttributeSticker_23.md index 085f0801..7875e1ce 100644 --- a/docs/API_docs/constructors/documentAttributeSticker_23.md +++ b/docs/API_docs/constructors/documentAttributeSticker_23.md @@ -19,6 +19,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker_23 = ['_' => 'documentAttributeSticker', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeSticker_55.md b/docs/API_docs/constructors/documentAttributeSticker_55.md index f10216b3..e33b9d1b 100644 --- a/docs/API_docs/constructors/documentAttributeSticker_55.md +++ b/docs/API_docs/constructors/documentAttributeSticker_55.md @@ -25,6 +25,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker_55 = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeVideo.md b/docs/API_docs/constructors/documentAttributeVideo.md index 4c23e731..26a3dd47 100644 --- a/docs/API_docs/constructors/documentAttributeVideo.md +++ b/docs/API_docs/constructors/documentAttributeVideo.md @@ -27,6 +27,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","round_message":"Bool","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeVideo_23.md b/docs/API_docs/constructors/documentAttributeVideo_23.md index 875e64eb..3668e416 100644 --- a/docs/API_docs/constructors/documentAttributeVideo_23.md +++ b/docs/API_docs/constructors/documentAttributeVideo_23.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo_23 = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentAttributeVideo_66.md b/docs/API_docs/constructors/documentAttributeVideo_66.md index e20de543..c6324013 100644 --- a/docs/API_docs/constructors/documentAttributeVideo_66.md +++ b/docs/API_docs/constructors/documentAttributeVideo_66.md @@ -27,6 +27,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo_66 = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","round_message":"Bool","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/documentEmpty.md b/docs/API_docs/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/docs/API_docs/constructors/documentEmpty.md +++ b/docs/API_docs/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/draftMessage.md b/docs/API_docs/constructors/draftMessage.md index 9cbeec53..57d7d5c9 100644 --- a/docs/API_docs/constructors/draftMessage.md +++ b/docs/API_docs/constructors/draftMessage.md @@ -28,6 +28,13 @@ description: draftMessage attributes, type and example $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/draftMessageEmpty.md b/docs/API_docs/constructors/draftMessageEmpty.md index 0ddfc989..4a9098b7 100644 --- a/docs/API_docs/constructors/draftMessageEmpty.md +++ b/docs/API_docs/constructors/draftMessageEmpty.md @@ -19,6 +19,13 @@ description: draftMessageEmpty attributes, type and example $draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessageEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/encryptedChat.md b/docs/API_docs/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/docs/API_docs/constructors/encryptedChat.md +++ b/docs/API_docs/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/encryptedChatDiscarded.md b/docs/API_docs/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/docs/API_docs/constructors/encryptedChatDiscarded.md +++ b/docs/API_docs/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/encryptedChatEmpty.md b/docs/API_docs/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/docs/API_docs/constructors/encryptedChatEmpty.md +++ b/docs/API_docs/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/encryptedChatRequested.md b/docs/API_docs/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/docs/API_docs/constructors/encryptedChatRequested.md +++ b/docs/API_docs/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/encryptedChatWaiting.md b/docs/API_docs/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/docs/API_docs/constructors/encryptedChatWaiting.md +++ b/docs/API_docs/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/encryptedFile.md b/docs/API_docs/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/docs/API_docs/constructors/encryptedFile.md +++ b/docs/API_docs/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/encryptedFileEmpty.md b/docs/API_docs/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/docs/API_docs/constructors/encryptedFileEmpty.md +++ b/docs/API_docs/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/encryptedMessage.md b/docs/API_docs/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/docs/API_docs/constructors/encryptedMessage.md +++ b/docs/API_docs/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/encryptedMessageService.md b/docs/API_docs/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/docs/API_docs/constructors/encryptedMessageService.md +++ b/docs/API_docs/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/error.md b/docs/API_docs/constructors/error.md index 2031cf25..f4258241 100644 --- a/docs/API_docs/constructors/error.md +++ b/docs/API_docs/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/exportedMessageLink.md b/docs/API_docs/constructors/exportedMessageLink.md index d151e98e..b6f0c21f 100644 --- a/docs/API_docs/constructors/exportedMessageLink.md +++ b/docs/API_docs/constructors/exportedMessageLink.md @@ -24,6 +24,13 @@ description: exportedMessageLink attributes, type and example $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"exportedMessageLink","link":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/fileLocation.md b/docs/API_docs/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/docs/API_docs/constructors/fileLocation.md +++ b/docs/API_docs/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/fileLocationUnavailable.md b/docs/API_docs/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/docs/API_docs/constructors/fileLocationUnavailable.md +++ b/docs/API_docs/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/fileLocationUnavailable_23.md b/docs/API_docs/constructors/fileLocationUnavailable_23.md index 20d4b07f..2d9704f1 100644 --- a/docs/API_docs/constructors/fileLocationUnavailable_23.md +++ b/docs/API_docs/constructors/fileLocationUnavailable_23.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable_23 = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/fileLocation_23.md b/docs/API_docs/constructors/fileLocation_23.md index 70795eb8..cd4ae0ce 100644 --- a/docs/API_docs/constructors/fileLocation_23.md +++ b/docs/API_docs/constructors/fileLocation_23.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation_23 = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/foundGif.md b/docs/API_docs/constructors/foundGif.md index e241eabe..99a0faa0 100644 --- a/docs/API_docs/constructors/foundGif.md +++ b/docs/API_docs/constructors/foundGif.md @@ -29,6 +29,13 @@ description: foundGif attributes, type and example $foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/foundGifCached.md b/docs/API_docs/constructors/foundGifCached.md index f73c07df..a73fb47c 100644 --- a/docs/API_docs/constructors/foundGifCached.md +++ b/docs/API_docs/constructors/foundGifCached.md @@ -26,6 +26,13 @@ description: foundGifCached attributes, type and example $foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/future_salt.md b/docs/API_docs/constructors/future_salt.md index fd084341..c70f48ec 100644 --- a/docs/API_docs/constructors/future_salt.md +++ b/docs/API_docs/constructors/future_salt.md @@ -26,6 +26,13 @@ description: future_salt attributes, type and example $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"future_salt","valid_since":"int","valid_until":"int","salt":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/future_salts.md b/docs/API_docs/constructors/future_salts.md index 2b694a80..a6bba188 100644 --- a/docs/API_docs/constructors/future_salts.md +++ b/docs/API_docs/constructors/future_salts.md @@ -26,6 +26,13 @@ description: future_salts attributes, type and example $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"future_salts","req_msg_id":"long","now":"int","salts":["future_salt"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/game.md b/docs/API_docs/constructors/game.md index c3aa155d..3bb1dfe1 100644 --- a/docs/API_docs/constructors/game.md +++ b/docs/API_docs/constructors/game.md @@ -30,6 +30,13 @@ description: game attributes, type and example $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"game","id":"long","access_hash":"long","short_name":"string","title":"string","description":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/geoPoint.md b/docs/API_docs/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/docs/API_docs/constructors/geoPoint.md +++ b/docs/API_docs/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/geoPointEmpty.md b/docs/API_docs/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/docs/API_docs/constructors/geoPointEmpty.md +++ b/docs/API_docs/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/help_appUpdate.md b/docs/API_docs/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/docs/API_docs/constructors/help_appUpdate.md +++ b/docs/API_docs/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/help_configSimple.md b/docs/API_docs/constructors/help_configSimple.md index 85ba5102..9635d896 100644 --- a/docs/API_docs/constructors/help_configSimple.md +++ b/docs/API_docs/constructors/help_configSimple.md @@ -27,6 +27,13 @@ description: help_configSimple attributes, type and example $help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.configSimple","date":"int","expires":"int","dc_id":"int","ip_port_list":["ipPort"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/help_inviteText.md b/docs/API_docs/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/docs/API_docs/constructors/help_inviteText.md +++ b/docs/API_docs/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/help_noAppUpdate.md b/docs/API_docs/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/docs/API_docs/constructors/help_noAppUpdate.md +++ b/docs/API_docs/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/help_support.md b/docs/API_docs/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/docs/API_docs/constructors/help_support.md +++ b/docs/API_docs/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/help_termsOfService.md b/docs/API_docs/constructors/help_termsOfService.md index a945b971..6af3d9e5 100644 --- a/docs/API_docs/constructors/help_termsOfService.md +++ b/docs/API_docs/constructors/help_termsOfService.md @@ -24,6 +24,13 @@ description: help_termsOfService attributes, type and example $help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.termsOfService","text":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/highScore.md b/docs/API_docs/constructors/highScore.md index 27b8ec02..8fe62af9 100644 --- a/docs/API_docs/constructors/highScore.md +++ b/docs/API_docs/constructors/highScore.md @@ -26,6 +26,13 @@ description: highScore attributes, type and example $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"highScore","pos":"int","user_id":"int","score":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/http_wait.md b/docs/API_docs/constructors/http_wait.md index 50cb9cf6..be4aa968 100644 --- a/docs/API_docs/constructors/http_wait.md +++ b/docs/API_docs/constructors/http_wait.md @@ -26,6 +26,13 @@ description: http_wait attributes, type and example $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"http_wait","max_delay":"int","wait_after":"int","max_wait":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/importedContact.md b/docs/API_docs/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/docs/API_docs/constructors/importedContact.md +++ b/docs/API_docs/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inlineBotSwitchPM.md b/docs/API_docs/constructors/inlineBotSwitchPM.md index 41ca65ac..86c0d9d4 100644 --- a/docs/API_docs/constructors/inlineBotSwitchPM.md +++ b/docs/API_docs/constructors/inlineBotSwitchPM.md @@ -25,6 +25,13 @@ description: inlineBotSwitchPM attributes, type and example $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputAppEvent.md b/docs/API_docs/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/docs/API_docs/constructors/inputAppEvent.md +++ b/docs/API_docs/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputBotInlineMessageGame.md b/docs/API_docs/constructors/inputBotInlineMessageGame.md index 5369ed7a..1a8bc54d 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageGame.md +++ b/docs/API_docs/constructors/inputBotInlineMessageGame.md @@ -24,6 +24,13 @@ description: inputBotInlineMessageGame attributes, type and example $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageGame","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputBotInlineMessageID.md b/docs/API_docs/constructors/inputBotInlineMessageID.md index 0d8d3f9e..757f7146 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageID.md +++ b/docs/API_docs/constructors/inputBotInlineMessageID.md @@ -26,6 +26,13 @@ description: inputBotInlineMessageID attributes, type and example $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md b/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md index 75bb48f3..aa6b51df 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md b/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md index 754ce5ac..1bd6518f 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md b/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md index 6eac346e..8c4f7ecc 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md b/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md index ddb3c3fe..01e38309 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputBotInlineMessageText.md b/docs/API_docs/constructors/inputBotInlineMessageText.md index 77de3cf6..c785cbed 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageText.md +++ b/docs/API_docs/constructors/inputBotInlineMessageText.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageText attributes, type and example $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputBotInlineResult.md b/docs/API_docs/constructors/inputBotInlineResult.md index 9ff31ee5..ed68ad5c 100644 --- a/docs/API_docs/constructors/inputBotInlineResult.md +++ b/docs/API_docs/constructors/inputBotInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputBotInlineResultDocument.md b/docs/API_docs/constructors/inputBotInlineResultDocument.md index a5d9c466..15080274 100644 --- a/docs/API_docs/constructors/inputBotInlineResultDocument.md +++ b/docs/API_docs/constructors/inputBotInlineResultDocument.md @@ -29,6 +29,13 @@ description: inputBotInlineResultDocument attributes, type and example $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputBotInlineResultGame.md b/docs/API_docs/constructors/inputBotInlineResultGame.md index 0d5f96a7..be8f6f21 100644 --- a/docs/API_docs/constructors/inputBotInlineResultGame.md +++ b/docs/API_docs/constructors/inputBotInlineResultGame.md @@ -26,6 +26,13 @@ description: inputBotInlineResultGame attributes, type and example $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => string, 'short_name' => string, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultGame","id":"string","short_name":"string","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputBotInlineResultPhoto.md b/docs/API_docs/constructors/inputBotInlineResultPhoto.md index ca2c6b7a..bbc38a5a 100644 --- a/docs/API_docs/constructors/inputBotInlineResultPhoto.md +++ b/docs/API_docs/constructors/inputBotInlineResultPhoto.md @@ -27,6 +27,13 @@ description: inputBotInlineResultPhoto attributes, type and example $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputChannel.md b/docs/API_docs/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/docs/API_docs/constructors/inputChannel.md +++ b/docs/API_docs/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputChannelEmpty.md b/docs/API_docs/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/docs/API_docs/constructors/inputChannelEmpty.md +++ b/docs/API_docs/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputChatPhoto.md b/docs/API_docs/constructors/inputChatPhoto.md index 8d46e6c3..aa98b610 100644 --- a/docs/API_docs/constructors/inputChatPhoto.md +++ b/docs/API_docs/constructors/inputChatPhoto.md @@ -24,6 +24,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputChatPhotoEmpty.md b/docs/API_docs/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/docs/API_docs/constructors/inputChatPhotoEmpty.md +++ b/docs/API_docs/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputChatUploadedPhoto.md b/docs/API_docs/constructors/inputChatUploadedPhoto.md index eec015d4..ce3b4224 100644 --- a/docs/API_docs/constructors/inputChatUploadedPhoto.md +++ b/docs/API_docs/constructors/inputChatUploadedPhoto.md @@ -24,6 +24,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputDocument.md b/docs/API_docs/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/docs/API_docs/constructors/inputDocument.md +++ b/docs/API_docs/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputDocumentEmpty.md b/docs/API_docs/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/docs/API_docs/constructors/inputDocumentEmpty.md +++ b/docs/API_docs/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputDocumentFileLocation.md b/docs/API_docs/constructors/inputDocumentFileLocation.md index 41e520bb..b13feb4a 100644 --- a/docs/API_docs/constructors/inputDocumentFileLocation.md +++ b/docs/API_docs/constructors/inputDocumentFileLocation.md @@ -26,6 +26,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long","version":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputEncryptedChat.md b/docs/API_docs/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/docs/API_docs/constructors/inputEncryptedChat.md +++ b/docs/API_docs/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputEncryptedFile.md b/docs/API_docs/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/docs/API_docs/constructors/inputEncryptedFile.md +++ b/docs/API_docs/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md b/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md +++ b/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputEncryptedFileEmpty.md b/docs/API_docs/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/docs/API_docs/constructors/inputEncryptedFileEmpty.md +++ b/docs/API_docs/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputEncryptedFileLocation.md b/docs/API_docs/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/docs/API_docs/constructors/inputEncryptedFileLocation.md +++ b/docs/API_docs/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputEncryptedFileUploaded.md b/docs/API_docs/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/docs/API_docs/constructors/inputEncryptedFileUploaded.md +++ b/docs/API_docs/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputFile.md b/docs/API_docs/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/docs/API_docs/constructors/inputFile.md +++ b/docs/API_docs/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputFileBig.md b/docs/API_docs/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/docs/API_docs/constructors/inputFileBig.md +++ b/docs/API_docs/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputFileLocation.md b/docs/API_docs/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/docs/API_docs/constructors/inputFileLocation.md +++ b/docs/API_docs/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputGameID.md b/docs/API_docs/constructors/inputGameID.md index 287e2543..c8ce7efc 100644 --- a/docs/API_docs/constructors/inputGameID.md +++ b/docs/API_docs/constructors/inputGameID.md @@ -25,6 +25,13 @@ description: inputGameID attributes, type and example $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGameID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputGameShortName.md b/docs/API_docs/constructors/inputGameShortName.md index eaad7dd7..82671253 100644 --- a/docs/API_docs/constructors/inputGameShortName.md +++ b/docs/API_docs/constructors/inputGameShortName.md @@ -25,6 +25,13 @@ description: inputGameShortName attributes, type and example $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGameShortName","bot_id":"InputUser","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputGeoPoint.md b/docs/API_docs/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/docs/API_docs/constructors/inputGeoPoint.md +++ b/docs/API_docs/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputGeoPointEmpty.md b/docs/API_docs/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/docs/API_docs/constructors/inputGeoPointEmpty.md +++ b/docs/API_docs/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaContact.md b/docs/API_docs/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/docs/API_docs/constructors/inputMediaContact.md +++ b/docs/API_docs/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaDocument.md b/docs/API_docs/constructors/inputMediaDocument.md index 1959cc4e..89ef5bdc 100644 --- a/docs/API_docs/constructors/inputMediaDocument.md +++ b/docs/API_docs/constructors/inputMediaDocument.md @@ -25,6 +25,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaDocumentExternal.md b/docs/API_docs/constructors/inputMediaDocumentExternal.md index a56856ec..df91c315 100644 --- a/docs/API_docs/constructors/inputMediaDocumentExternal.md +++ b/docs/API_docs/constructors/inputMediaDocumentExternal.md @@ -25,6 +25,13 @@ description: inputMediaDocumentExternal attributes, type and example $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocumentExternal","url":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaEmpty.md b/docs/API_docs/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/docs/API_docs/constructors/inputMediaEmpty.md +++ b/docs/API_docs/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaGame.md b/docs/API_docs/constructors/inputMediaGame.md index 91b7bc9a..399f03c0 100644 --- a/docs/API_docs/constructors/inputMediaGame.md +++ b/docs/API_docs/constructors/inputMediaGame.md @@ -24,6 +24,13 @@ description: inputMediaGame attributes, type and example $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGame","id":"InputGame"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaGeoPoint.md b/docs/API_docs/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/docs/API_docs/constructors/inputMediaGeoPoint.md +++ b/docs/API_docs/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaGifExternal.md b/docs/API_docs/constructors/inputMediaGifExternal.md index af227d69..284e3cdd 100644 --- a/docs/API_docs/constructors/inputMediaGifExternal.md +++ b/docs/API_docs/constructors/inputMediaGifExternal.md @@ -25,6 +25,13 @@ description: inputMediaGifExternal attributes, type and example $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGifExternal","url":"string","q":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaInvoice.md b/docs/API_docs/constructors/inputMediaInvoice.md index c63e1547..6c5c6baf 100644 --- a/docs/API_docs/constructors/inputMediaInvoice.md +++ b/docs/API_docs/constructors/inputMediaInvoice.md @@ -30,6 +30,13 @@ description: inputMediaInvoice attributes, type and example $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => string, 'description' => string, 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => bytes, 'provider' => string, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaInvoice","title":"string","description":"string","photo":"InputWebDocument","invoice":"Invoice","payload":"bytes","provider":"string","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaPhoto.md b/docs/API_docs/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/docs/API_docs/constructors/inputMediaPhoto.md +++ b/docs/API_docs/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaPhotoExternal.md b/docs/API_docs/constructors/inputMediaPhotoExternal.md index b8115970..b50c9771 100644 --- a/docs/API_docs/constructors/inputMediaPhotoExternal.md +++ b/docs/API_docs/constructors/inputMediaPhotoExternal.md @@ -25,6 +25,13 @@ description: inputMediaPhotoExternal attributes, type and example $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhotoExternal","url":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaUploadedDocument.md b/docs/API_docs/constructors/inputMediaUploadedDocument.md index 7a74f1d6..f88ff5f0 100644 --- a/docs/API_docs/constructors/inputMediaUploadedDocument.md +++ b/docs/API_docs/constructors/inputMediaUploadedDocument.md @@ -28,6 +28,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaUploadedPhoto.md b/docs/API_docs/constructors/inputMediaUploadedPhoto.md index 338e998b..ee07669d 100644 --- a/docs/API_docs/constructors/inputMediaUploadedPhoto.md +++ b/docs/API_docs/constructors/inputMediaUploadedPhoto.md @@ -26,6 +26,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md b/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md index 2e08e76d..fcbbab79 100644 --- a/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md +++ b/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md @@ -29,6 +29,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMediaVenue.md b/docs/API_docs/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/docs/API_docs/constructors/inputMediaVenue.md +++ b/docs/API_docs/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessageEntityMentionName.md b/docs/API_docs/constructors/inputMessageEntityMentionName.md index ba7132d5..9465bf2b 100644 --- a/docs/API_docs/constructors/inputMessageEntityMentionName.md +++ b/docs/API_docs/constructors/inputMessageEntityMentionName.md @@ -26,6 +26,13 @@ description: inputMessageEntityMentionName attributes, type and example $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md b/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md index 06e4b6ed..7a78f5c4 100644 --- a/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md +++ b/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterChatPhotos"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterDocument.md b/docs/API_docs/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/docs/API_docs/constructors/inputMessagesFilterDocument.md +++ b/docs/API_docs/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterEmpty.md b/docs/API_docs/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/docs/API_docs/constructors/inputMessagesFilterEmpty.md +++ b/docs/API_docs/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterGif.md b/docs/API_docs/constructors/inputMessagesFilterGif.md index 02da8091..31be8767 100644 --- a/docs/API_docs/constructors/inputMessagesFilterGif.md +++ b/docs/API_docs/constructors/inputMessagesFilterGif.md @@ -19,6 +19,13 @@ description: inputMessagesFilterGif attributes, type and example $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterGif"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterMusic.md b/docs/API_docs/constructors/inputMessagesFilterMusic.md index 2b211ca0..99111007 100644 --- a/docs/API_docs/constructors/inputMessagesFilterMusic.md +++ b/docs/API_docs/constructors/inputMessagesFilterMusic.md @@ -19,6 +19,13 @@ description: inputMessagesFilterMusic attributes, type and example $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterMusic"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md b/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md index e9193dc8..70531f22 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md @@ -24,6 +24,13 @@ description: inputMessagesFilterPhoneCalls attributes, type and example $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhoneCalls","missed":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md b/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotos.md b/docs/API_docs/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhotos.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterRoundVideo.md b/docs/API_docs/constructors/inputMessagesFilterRoundVideo.md index f1a7404c..ff055dc6 100644 --- a/docs/API_docs/constructors/inputMessagesFilterRoundVideo.md +++ b/docs/API_docs/constructors/inputMessagesFilterRoundVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterRoundVideo attributes, type and example $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterRoundVideo"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterRoundVoice.md b/docs/API_docs/constructors/inputMessagesFilterRoundVoice.md index 5952ee1b..c848bedf 100644 --- a/docs/API_docs/constructors/inputMessagesFilterRoundVoice.md +++ b/docs/API_docs/constructors/inputMessagesFilterRoundVoice.md @@ -19,6 +19,13 @@ description: inputMessagesFilterRoundVoice attributes, type and example $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterRoundVoice"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterUrl.md b/docs/API_docs/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/docs/API_docs/constructors/inputMessagesFilterUrl.md +++ b/docs/API_docs/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterVideo.md b/docs/API_docs/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/docs/API_docs/constructors/inputMessagesFilterVideo.md +++ b/docs/API_docs/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputMessagesFilterVoice.md b/docs/API_docs/constructors/inputMessagesFilterVoice.md index 1318e465..f111a3df 100644 --- a/docs/API_docs/constructors/inputMessagesFilterVoice.md +++ b/docs/API_docs/constructors/inputMessagesFilterVoice.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVoice attributes, type and example $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVoice"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputNotifyAll.md b/docs/API_docs/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/docs/API_docs/constructors/inputNotifyAll.md +++ b/docs/API_docs/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputNotifyChats.md b/docs/API_docs/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/docs/API_docs/constructors/inputNotifyChats.md +++ b/docs/API_docs/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputNotifyPeer.md b/docs/API_docs/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/docs/API_docs/constructors/inputNotifyPeer.md +++ b/docs/API_docs/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputNotifyUsers.md b/docs/API_docs/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/docs/API_docs/constructors/inputNotifyUsers.md +++ b/docs/API_docs/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPaymentCredentials.md b/docs/API_docs/constructors/inputPaymentCredentials.md index af621e44..03d99d63 100644 --- a/docs/API_docs/constructors/inputPaymentCredentials.md +++ b/docs/API_docs/constructors/inputPaymentCredentials.md @@ -25,6 +25,13 @@ description: inputPaymentCredentials attributes, type and example $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPaymentCredentials","save":"Bool","data":"DataJSON"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPaymentCredentialsSaved.md b/docs/API_docs/constructors/inputPaymentCredentialsSaved.md index 74c6ea9b..d3117a9d 100644 --- a/docs/API_docs/constructors/inputPaymentCredentialsSaved.md +++ b/docs/API_docs/constructors/inputPaymentCredentialsSaved.md @@ -25,6 +25,13 @@ description: inputPaymentCredentialsSaved attributes, type and example $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => string, 'tmp_password' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPaymentCredentialsSaved","id":"string","tmp_password":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPeerChannel.md b/docs/API_docs/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/docs/API_docs/constructors/inputPeerChannel.md +++ b/docs/API_docs/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPeerChat.md b/docs/API_docs/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/docs/API_docs/constructors/inputPeerChat.md +++ b/docs/API_docs/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPeerEmpty.md b/docs/API_docs/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/docs/API_docs/constructors/inputPeerEmpty.md +++ b/docs/API_docs/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPeerNotifyEventsAll.md b/docs/API_docs/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/docs/API_docs/constructors/inputPeerNotifyEventsAll.md +++ b/docs/API_docs/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md b/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md +++ b/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPeerNotifySettings.md b/docs/API_docs/constructors/inputPeerNotifySettings.md index d8db7388..6676a2f6 100644 --- a/docs/API_docs/constructors/inputPeerNotifySettings.md +++ b/docs/API_docs/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPeerSelf.md b/docs/API_docs/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/docs/API_docs/constructors/inputPeerSelf.md +++ b/docs/API_docs/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPeerUser.md b/docs/API_docs/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/docs/API_docs/constructors/inputPeerUser.md +++ b/docs/API_docs/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPhoneCall.md b/docs/API_docs/constructors/inputPhoneCall.md index 6f2c73f5..f9099021 100644 --- a/docs/API_docs/constructors/inputPhoneCall.md +++ b/docs/API_docs/constructors/inputPhoneCall.md @@ -25,6 +25,13 @@ description: inputPhoneCall attributes, type and example $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneCall","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPhoneContact.md b/docs/API_docs/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/docs/API_docs/constructors/inputPhoneContact.md +++ b/docs/API_docs/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPhoto.md b/docs/API_docs/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/docs/API_docs/constructors/inputPhoto.md +++ b/docs/API_docs/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPhotoEmpty.md b/docs/API_docs/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/docs/API_docs/constructors/inputPhotoEmpty.md +++ b/docs/API_docs/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md b/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md index 43210930..293e876d 100644 --- a/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md +++ b/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPrivacyKeyPhoneCall.md b/docs/API_docs/constructors/inputPrivacyKeyPhoneCall.md index fdfe3360..ba97f5df 100644 --- a/docs/API_docs/constructors/inputPrivacyKeyPhoneCall.md +++ b/docs/API_docs/constructors/inputPrivacyKeyPhoneCall.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyPhoneCall attributes, type and example $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyPhoneCall"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowAll.md b/docs/API_docs/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/docs/API_docs/constructors/inputPrivacyValueAllowAll.md +++ b/docs/API_docs/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md b/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md +++ b/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md b/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md +++ b/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md b/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md b/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md b/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputReportReasonOther.md b/docs/API_docs/constructors/inputReportReasonOther.md index 547711c4..ffd351a0 100644 --- a/docs/API_docs/constructors/inputReportReasonOther.md +++ b/docs/API_docs/constructors/inputReportReasonOther.md @@ -24,6 +24,13 @@ description: inputReportReasonOther attributes, type and example $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonOther","text":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputReportReasonPornography.md b/docs/API_docs/constructors/inputReportReasonPornography.md index f73c6f4d..866d691c 100644 --- a/docs/API_docs/constructors/inputReportReasonPornography.md +++ b/docs/API_docs/constructors/inputReportReasonPornography.md @@ -19,6 +19,13 @@ description: inputReportReasonPornography attributes, type and example $inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonPornography"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputReportReasonSpam.md b/docs/API_docs/constructors/inputReportReasonSpam.md index ea2a9257..4cf6f414 100644 --- a/docs/API_docs/constructors/inputReportReasonSpam.md +++ b/docs/API_docs/constructors/inputReportReasonSpam.md @@ -19,6 +19,13 @@ description: inputReportReasonSpam attributes, type and example $inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonSpam"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputReportReasonViolence.md b/docs/API_docs/constructors/inputReportReasonViolence.md index 18a2ba4c..f2046d6e 100644 --- a/docs/API_docs/constructors/inputReportReasonViolence.md +++ b/docs/API_docs/constructors/inputReportReasonViolence.md @@ -19,6 +19,13 @@ description: inputReportReasonViolence attributes, type and example $inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonViolence"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputStickerSetEmpty.md b/docs/API_docs/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/docs/API_docs/constructors/inputStickerSetEmpty.md +++ b/docs/API_docs/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputStickerSetID.md b/docs/API_docs/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/docs/API_docs/constructors/inputStickerSetID.md +++ b/docs/API_docs/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputStickerSetItem.md b/docs/API_docs/constructors/inputStickerSetItem.md index 982c5b98..d3885e1f 100644 --- a/docs/API_docs/constructors/inputStickerSetItem.md +++ b/docs/API_docs/constructors/inputStickerSetItem.md @@ -26,6 +26,13 @@ description: inputStickerSetItem attributes, type and example $inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => string, 'mask_coords' => MaskCoords, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetItem","document":"InputDocument","emoji":"string","mask_coords":"MaskCoords"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputStickerSetShortName.md b/docs/API_docs/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/docs/API_docs/constructors/inputStickerSetShortName.md +++ b/docs/API_docs/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputStickeredMediaDocument.md b/docs/API_docs/constructors/inputStickeredMediaDocument.md index 59ce4e3e..e7a64e8c 100644 --- a/docs/API_docs/constructors/inputStickeredMediaDocument.md +++ b/docs/API_docs/constructors/inputStickeredMediaDocument.md @@ -24,6 +24,13 @@ description: inputStickeredMediaDocument attributes, type and example $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickeredMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputStickeredMediaPhoto.md b/docs/API_docs/constructors/inputStickeredMediaPhoto.md index e48fb0e3..d909033a 100644 --- a/docs/API_docs/constructors/inputStickeredMediaPhoto.md +++ b/docs/API_docs/constructors/inputStickeredMediaPhoto.md @@ -24,6 +24,13 @@ description: inputStickeredMediaPhoto attributes, type and example $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickeredMediaPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputUser.md b/docs/API_docs/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/docs/API_docs/constructors/inputUser.md +++ b/docs/API_docs/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputUserEmpty.md b/docs/API_docs/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/docs/API_docs/constructors/inputUserEmpty.md +++ b/docs/API_docs/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputUserSelf.md b/docs/API_docs/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/docs/API_docs/constructors/inputUserSelf.md +++ b/docs/API_docs/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputWebDocument.md b/docs/API_docs/constructors/inputWebDocument.md index cd28894d..c6d30018 100644 --- a/docs/API_docs/constructors/inputWebDocument.md +++ b/docs/API_docs/constructors/inputWebDocument.md @@ -27,6 +27,13 @@ description: inputWebDocument attributes, type and example $inputWebDocument = ['_' => 'inputWebDocument', 'url' => string, 'size' => int, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputWebDocument","url":"string","size":"int","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/inputWebFileLocation.md b/docs/API_docs/constructors/inputWebFileLocation.md index e39ab6ac..dd65c97c 100644 --- a/docs/API_docs/constructors/inputWebFileLocation.md +++ b/docs/API_docs/constructors/inputWebFileLocation.md @@ -25,6 +25,13 @@ description: inputWebFileLocation attributes, type and example $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => string, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputWebFileLocation","url":"string","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/invoice.md b/docs/API_docs/constructors/invoice.md index ce219681..594738d0 100644 --- a/docs/API_docs/constructors/invoice.md +++ b/docs/API_docs/constructors/invoice.md @@ -31,6 +31,13 @@ description: invoice attributes, type and example $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => string, 'prices' => [LabeledPrice], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"invoice","test":"Bool","name_requested":"Bool","phone_requested":"Bool","email_requested":"Bool","shipping_address_requested":"Bool","flexible":"Bool","currency":"string","prices":["LabeledPrice"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/ipPort.md b/docs/API_docs/constructors/ipPort.md index c5bbd24a..4618541e 100644 --- a/docs/API_docs/constructors/ipPort.md +++ b/docs/API_docs/constructors/ipPort.md @@ -25,6 +25,13 @@ description: ipPort attributes, type and example $ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"ipPort","ipv4":"int","port":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/keyboardButton.md b/docs/API_docs/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/docs/API_docs/constructors/keyboardButton.md +++ b/docs/API_docs/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/keyboardButtonBuy.md b/docs/API_docs/constructors/keyboardButtonBuy.md index 6076d602..a01c257c 100644 --- a/docs/API_docs/constructors/keyboardButtonBuy.md +++ b/docs/API_docs/constructors/keyboardButtonBuy.md @@ -24,6 +24,13 @@ description: keyboardButtonBuy attributes, type and example $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonBuy","text":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/keyboardButtonCallback.md b/docs/API_docs/constructors/keyboardButtonCallback.md index 1fe8571c..27bc68b8 100644 --- a/docs/API_docs/constructors/keyboardButtonCallback.md +++ b/docs/API_docs/constructors/keyboardButtonCallback.md @@ -25,6 +25,13 @@ description: keyboardButtonCallback attributes, type and example $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/keyboardButtonGame.md b/docs/API_docs/constructors/keyboardButtonGame.md index 170831e1..a8569aed 100644 --- a/docs/API_docs/constructors/keyboardButtonGame.md +++ b/docs/API_docs/constructors/keyboardButtonGame.md @@ -24,6 +24,13 @@ description: keyboardButtonGame attributes, type and example $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonGame","text":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md b/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md index 05cfd3cb..38cdc756 100644 --- a/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md +++ b/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestGeoLocation","text":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/keyboardButtonRequestPhone.md b/docs/API_docs/constructors/keyboardButtonRequestPhone.md index cbff4adb..9c76c330 100644 --- a/docs/API_docs/constructors/keyboardButtonRequestPhone.md +++ b/docs/API_docs/constructors/keyboardButtonRequestPhone.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestPhone attributes, type and example $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestPhone","text":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/keyboardButtonRow.md b/docs/API_docs/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/docs/API_docs/constructors/keyboardButtonRow.md +++ b/docs/API_docs/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/keyboardButtonSwitchInline.md b/docs/API_docs/constructors/keyboardButtonSwitchInline.md index d93e0087..76688727 100644 --- a/docs/API_docs/constructors/keyboardButtonSwitchInline.md +++ b/docs/API_docs/constructors/keyboardButtonSwitchInline.md @@ -26,6 +26,13 @@ description: keyboardButtonSwitchInline attributes, type and example $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => string, 'query' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonSwitchInline","same_peer":"Bool","text":"string","query":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/keyboardButtonUrl.md b/docs/API_docs/constructors/keyboardButtonUrl.md index a6411824..bf60dc2a 100644 --- a/docs/API_docs/constructors/keyboardButtonUrl.md +++ b/docs/API_docs/constructors/keyboardButtonUrl.md @@ -25,6 +25,13 @@ description: keyboardButtonUrl attributes, type and example $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonUrl","text":"string","url":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/labeledPrice.md b/docs/API_docs/constructors/labeledPrice.md index 7b4a1da4..0849bba2 100644 --- a/docs/API_docs/constructors/labeledPrice.md +++ b/docs/API_docs/constructors/labeledPrice.md @@ -25,6 +25,13 @@ description: labeledPrice attributes, type and example $labeledPrice = ['_' => 'labeledPrice', 'label' => string, 'amount' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"labeledPrice","label":"string","amount":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/langPackDifference.md b/docs/API_docs/constructors/langPackDifference.md index c82b2693..28aa4ccf 100644 --- a/docs/API_docs/constructors/langPackDifference.md +++ b/docs/API_docs/constructors/langPackDifference.md @@ -27,6 +27,13 @@ description: langPackDifference attributes, type and example $langPackDifference = ['_' => 'langPackDifference', 'lang_code' => string, 'from_version' => int, 'version' => int, 'strings' => [LangPackString], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"langPackDifference","lang_code":"string","from_version":"int","version":"int","strings":["LangPackString"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/langPackLanguage.md b/docs/API_docs/constructors/langPackLanguage.md index 43b7961e..27b11053 100644 --- a/docs/API_docs/constructors/langPackLanguage.md +++ b/docs/API_docs/constructors/langPackLanguage.md @@ -26,6 +26,13 @@ description: langPackLanguage attributes, type and example $langPackLanguage = ['_' => 'langPackLanguage', 'name' => string, 'native_name' => string, 'lang_code' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"langPackLanguage","name":"string","native_name":"string","lang_code":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/langPackString.md b/docs/API_docs/constructors/langPackString.md index 60f0944c..2af643c0 100644 --- a/docs/API_docs/constructors/langPackString.md +++ b/docs/API_docs/constructors/langPackString.md @@ -25,6 +25,13 @@ description: langPackString attributes, type and example $langPackString = ['_' => 'langPackString', 'key' => string, 'value' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"langPackString","key":"string","value":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/langPackStringDeleted.md b/docs/API_docs/constructors/langPackStringDeleted.md index 0d015936..94bbb263 100644 --- a/docs/API_docs/constructors/langPackStringDeleted.md +++ b/docs/API_docs/constructors/langPackStringDeleted.md @@ -24,6 +24,13 @@ description: langPackStringDeleted attributes, type and example $langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"langPackStringDeleted","key":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/langPackStringPluralized.md b/docs/API_docs/constructors/langPackStringPluralized.md index 8ec4c3e1..7ceffdb4 100644 --- a/docs/API_docs/constructors/langPackStringPluralized.md +++ b/docs/API_docs/constructors/langPackStringPluralized.md @@ -30,6 +30,13 @@ description: langPackStringPluralized attributes, type and example $langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => string, 'zero_value' => string, 'one_value' => string, 'two_value' => string, 'few_value' => string, 'many_value' => string, 'other_value' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"langPackStringPluralized","key":"string","zero_value":"string","one_value":"string","two_value":"string","few_value":"string","many_value":"string","other_value":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/maskCoords.md b/docs/API_docs/constructors/maskCoords.md index a0779629..72c25c0e 100644 --- a/docs/API_docs/constructors/maskCoords.md +++ b/docs/API_docs/constructors/maskCoords.md @@ -27,6 +27,13 @@ description: maskCoords attributes, type and example $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"maskCoords","n":"int","x":"double","y":"double","zoom":"double"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/message.md b/docs/API_docs/constructors/message.md index 135401c5..cce1fc65 100644 --- a/docs/API_docs/constructors/message.md +++ b/docs/API_docs/constructors/message.md @@ -41,6 +41,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, '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' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","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":["MessageEntity"],"views":"int","edit_date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionChannelCreate.md b/docs/API_docs/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/docs/API_docs/constructors/messageActionChannelCreate.md +++ b/docs/API_docs/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionChannelMigrateFrom.md b/docs/API_docs/constructors/messageActionChannelMigrateFrom.md index d15c0bf3..b63de131 100644 --- a/docs/API_docs/constructors/messageActionChannelMigrateFrom.md +++ b/docs/API_docs/constructors/messageActionChannelMigrateFrom.md @@ -25,6 +25,13 @@ description: messageActionChannelMigrateFrom attributes, type and example $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionChatAddUser.md b/docs/API_docs/constructors/messageActionChatAddUser.md index 135e16de..5edc7d3b 100644 --- a/docs/API_docs/constructors/messageActionChatAddUser.md +++ b/docs/API_docs/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionChatCreate.md b/docs/API_docs/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/docs/API_docs/constructors/messageActionChatCreate.md +++ b/docs/API_docs/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionChatDeletePhoto.md b/docs/API_docs/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/docs/API_docs/constructors/messageActionChatDeletePhoto.md +++ b/docs/API_docs/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionChatDeleteUser.md b/docs/API_docs/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/docs/API_docs/constructors/messageActionChatDeleteUser.md +++ b/docs/API_docs/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionChatEditPhoto.md b/docs/API_docs/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/docs/API_docs/constructors/messageActionChatEditPhoto.md +++ b/docs/API_docs/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionChatEditTitle.md b/docs/API_docs/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/docs/API_docs/constructors/messageActionChatEditTitle.md +++ b/docs/API_docs/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionChatJoinedByLink.md b/docs/API_docs/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/docs/API_docs/constructors/messageActionChatJoinedByLink.md +++ b/docs/API_docs/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionChatMigrateTo.md b/docs/API_docs/constructors/messageActionChatMigrateTo.md index fda20a24..7214d295 100644 --- a/docs/API_docs/constructors/messageActionChatMigrateTo.md +++ b/docs/API_docs/constructors/messageActionChatMigrateTo.md @@ -24,6 +24,13 @@ description: messageActionChatMigrateTo attributes, type and example $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionEmpty.md b/docs/API_docs/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/docs/API_docs/constructors/messageActionEmpty.md +++ b/docs/API_docs/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionGameScore.md b/docs/API_docs/constructors/messageActionGameScore.md index b94e0cf5..0f498dab 100644 --- a/docs/API_docs/constructors/messageActionGameScore.md +++ b/docs/API_docs/constructors/messageActionGameScore.md @@ -25,6 +25,13 @@ description: messageActionGameScore attributes, type and example $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionGameScore","game_id":"long","score":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionHistoryClear.md b/docs/API_docs/constructors/messageActionHistoryClear.md index 02160753..d576d087 100644 --- a/docs/API_docs/constructors/messageActionHistoryClear.md +++ b/docs/API_docs/constructors/messageActionHistoryClear.md @@ -19,6 +19,13 @@ description: messageActionHistoryClear attributes, type and example $messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionHistoryClear"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionPaymentSent.md b/docs/API_docs/constructors/messageActionPaymentSent.md index 1b864185..d926846a 100644 --- a/docs/API_docs/constructors/messageActionPaymentSent.md +++ b/docs/API_docs/constructors/messageActionPaymentSent.md @@ -25,6 +25,13 @@ description: messageActionPaymentSent attributes, type and example $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => string, 'total_amount' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPaymentSent","currency":"string","total_amount":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionPaymentSentMe.md b/docs/API_docs/constructors/messageActionPaymentSentMe.md index b13bdf41..32e5b4ae 100644 --- a/docs/API_docs/constructors/messageActionPaymentSentMe.md +++ b/docs/API_docs/constructors/messageActionPaymentSentMe.md @@ -29,6 +29,13 @@ description: messageActionPaymentSentMe attributes, type and example $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => string, 'total_amount' => long, 'payload' => bytes, 'info' => PaymentRequestedInfo, 'shipping_option_id' => string, 'charge' => PaymentCharge, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPaymentSentMe","currency":"string","total_amount":"long","payload":"bytes","info":"PaymentRequestedInfo","shipping_option_id":"string","charge":"PaymentCharge"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionPhoneCall.md b/docs/API_docs/constructors/messageActionPhoneCall.md index ca360e23..6eed4cd3 100644 --- a/docs/API_docs/constructors/messageActionPhoneCall.md +++ b/docs/API_docs/constructors/messageActionPhoneCall.md @@ -26,6 +26,13 @@ description: messageActionPhoneCall attributes, type and example $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPhoneCall","call_id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageActionPinMessage.md b/docs/API_docs/constructors/messageActionPinMessage.md index 05443bcc..c8595522 100644 --- a/docs/API_docs/constructors/messageActionPinMessage.md +++ b/docs/API_docs/constructors/messageActionPinMessage.md @@ -19,6 +19,13 @@ description: messageActionPinMessage attributes, type and example $messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPinMessage"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageEmpty.md b/docs/API_docs/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/docs/API_docs/constructors/messageEmpty.md +++ b/docs/API_docs/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageEntityBold.md b/docs/API_docs/constructors/messageEntityBold.md index 9eee0153..7f10315f 100644 --- a/docs/API_docs/constructors/messageEntityBold.md +++ b/docs/API_docs/constructors/messageEntityBold.md @@ -27,6 +27,13 @@ Bold text $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageEntityBotCommand.md b/docs/API_docs/constructors/messageEntityBotCommand.md index dbf89c44..4910ef16 100644 --- a/docs/API_docs/constructors/messageEntityBotCommand.md +++ b/docs/API_docs/constructors/messageEntityBotCommand.md @@ -27,6 +27,13 @@ Bot command beginning with / $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageEntityCode.md b/docs/API_docs/constructors/messageEntityCode.md index dcb9b29b..a3866f0e 100644 --- a/docs/API_docs/constructors/messageEntityCode.md +++ b/docs/API_docs/constructors/messageEntityCode.md @@ -27,6 +27,13 @@ Text needs to be formatted as inside of code HTML tag $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageEntityEmail.md b/docs/API_docs/constructors/messageEntityEmail.md index edf6d0c4..3234baab 100644 --- a/docs/API_docs/constructors/messageEntityEmail.md +++ b/docs/API_docs/constructors/messageEntityEmail.md @@ -27,6 +27,13 @@ Email $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageEntityHashtag.md b/docs/API_docs/constructors/messageEntityHashtag.md index 62cba597..83683fe1 100644 --- a/docs/API_docs/constructors/messageEntityHashtag.md +++ b/docs/API_docs/constructors/messageEntityHashtag.md @@ -27,6 +27,13 @@ Hashtag beginning with # $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageEntityItalic.md b/docs/API_docs/constructors/messageEntityItalic.md index 9ea32add..a8a5004c 100644 --- a/docs/API_docs/constructors/messageEntityItalic.md +++ b/docs/API_docs/constructors/messageEntityItalic.md @@ -27,6 +27,13 @@ Italic text $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageEntityMention.md b/docs/API_docs/constructors/messageEntityMention.md index 854e1678..9fc33026 100644 --- a/docs/API_docs/constructors/messageEntityMention.md +++ b/docs/API_docs/constructors/messageEntityMention.md @@ -27,6 +27,13 @@ Mention of the user by his username $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageEntityMentionName.md b/docs/API_docs/constructors/messageEntityMentionName.md index a9d78ab2..a4b7a506 100644 --- a/docs/API_docs/constructors/messageEntityMentionName.md +++ b/docs/API_docs/constructors/messageEntityMentionName.md @@ -28,6 +28,13 @@ Mention of the user by some text $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageEntityPre.md b/docs/API_docs/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/docs/API_docs/constructors/messageEntityPre.md +++ b/docs/API_docs/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageEntityTextUrl.md b/docs/API_docs/constructors/messageEntityTextUrl.md index 3014eca9..daa95d45 100644 --- a/docs/API_docs/constructors/messageEntityTextUrl.md +++ b/docs/API_docs/constructors/messageEntityTextUrl.md @@ -28,6 +28,13 @@ Text description showed instead of the url $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageEntityUnknown.md b/docs/API_docs/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/docs/API_docs/constructors/messageEntityUnknown.md +++ b/docs/API_docs/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageEntityUrl.md b/docs/API_docs/constructors/messageEntityUrl.md index 11d73bd1..6c5411f0 100644 --- a/docs/API_docs/constructors/messageEntityUrl.md +++ b/docs/API_docs/constructors/messageEntityUrl.md @@ -27,6 +27,13 @@ Url beginning with http $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageFwdHeader.md b/docs/API_docs/constructors/messageFwdHeader.md index 80baa30c..15b5b5f3 100644 --- a/docs/API_docs/constructors/messageFwdHeader.md +++ b/docs/API_docs/constructors/messageFwdHeader.md @@ -27,6 +27,13 @@ description: messageFwdHeader attributes, type and example $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageMediaContact.md b/docs/API_docs/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/docs/API_docs/constructors/messageMediaContact.md +++ b/docs/API_docs/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageMediaDocument.md b/docs/API_docs/constructors/messageMediaDocument.md index 66a67150..0fc6558b 100644 --- a/docs/API_docs/constructors/messageMediaDocument.md +++ b/docs/API_docs/constructors/messageMediaDocument.md @@ -25,6 +25,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageMediaEmpty.md b/docs/API_docs/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/docs/API_docs/constructors/messageMediaEmpty.md +++ b/docs/API_docs/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageMediaGame.md b/docs/API_docs/constructors/messageMediaGame.md index 7a5e9dbc..349b9023 100644 --- a/docs/API_docs/constructors/messageMediaGame.md +++ b/docs/API_docs/constructors/messageMediaGame.md @@ -24,6 +24,13 @@ description: messageMediaGame attributes, type and example $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGame","game":"Game"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageMediaGeo.md b/docs/API_docs/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/docs/API_docs/constructors/messageMediaGeo.md +++ b/docs/API_docs/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageMediaInvoice.md b/docs/API_docs/constructors/messageMediaInvoice.md index 2c7cdb20..cfbcd280 100644 --- a/docs/API_docs/constructors/messageMediaInvoice.md +++ b/docs/API_docs/constructors/messageMediaInvoice.md @@ -32,6 +32,13 @@ description: messageMediaInvoice attributes, type and example $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => string, 'description' => string, 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => string, 'total_amount' => long, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaInvoice","shipping_address_requested":"Bool","test":"Bool","title":"string","description":"string","photo":"WebDocument","receipt_msg_id":"int","currency":"string","total_amount":"long","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageMediaPhoto.md b/docs/API_docs/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/docs/API_docs/constructors/messageMediaPhoto.md +++ b/docs/API_docs/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageMediaUnsupported.md b/docs/API_docs/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/docs/API_docs/constructors/messageMediaUnsupported.md +++ b/docs/API_docs/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageMediaVenue.md b/docs/API_docs/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/docs/API_docs/constructors/messageMediaVenue.md +++ b/docs/API_docs/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageMediaWebPage.md b/docs/API_docs/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/docs/API_docs/constructors/messageMediaWebPage.md +++ b/docs/API_docs/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageRange.md b/docs/API_docs/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/docs/API_docs/constructors/messageRange.md +++ b/docs/API_docs/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messageService.md b/docs/API_docs/constructors/messageService.md index 2b2990c5..558cc6c9 100644 --- a/docs/API_docs/constructors/messageService.md +++ b/docs/API_docs/constructors/messageService.md @@ -34,6 +34,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","id":"int","from_id":"int","to_id":"Peer","reply_to_msg_id":"int","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_affectedHistory.md b/docs/API_docs/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/docs/API_docs/constructors/messages_affectedHistory.md +++ b/docs/API_docs/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_affectedMessages.md b/docs/API_docs/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/docs/API_docs/constructors/messages_affectedMessages.md +++ b/docs/API_docs/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_allStickers.md b/docs/API_docs/constructors/messages_allStickers.md index 7a5fe6af..a16f30e8 100644 --- a/docs/API_docs/constructors/messages_allStickers.md +++ b/docs/API_docs/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_allStickersNotModified.md b/docs/API_docs/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/docs/API_docs/constructors/messages_allStickersNotModified.md +++ b/docs/API_docs/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_archivedStickers.md b/docs/API_docs/constructors/messages_archivedStickers.md index c04ebb81..7cc54d64 100644 --- a/docs/API_docs/constructors/messages_archivedStickers.md +++ b/docs/API_docs/constructors/messages_archivedStickers.md @@ -25,6 +25,13 @@ description: messages_archivedStickers attributes, type and example $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.archivedStickers","count":"int","sets":["StickerSetCovered"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_botCallbackAnswer.md b/docs/API_docs/constructors/messages_botCallbackAnswer.md index 122fed81..d60a5957 100644 --- a/docs/API_docs/constructors/messages_botCallbackAnswer.md +++ b/docs/API_docs/constructors/messages_botCallbackAnswer.md @@ -28,6 +28,13 @@ description: messages_botCallbackAnswer attributes, type and example $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, 'cache_time' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botCallbackAnswer","alert":"Bool","has_url":"Bool","message":"string","url":"string","cache_time":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_botResults.md b/docs/API_docs/constructors/messages_botResults.md index 4b893535..8b1a8efc 100644 --- a/docs/API_docs/constructors/messages_botResults.md +++ b/docs/API_docs/constructors/messages_botResults.md @@ -29,6 +29,13 @@ description: messages_botResults attributes, type and example $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"],"cache_time":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_channelMessages.md b/docs/API_docs/constructors/messages_channelMessages.md index e1e8ab16..4c5e4839 100644 --- a/docs/API_docs/constructors/messages_channelMessages.md +++ b/docs/API_docs/constructors/messages_channelMessages.md @@ -28,6 +28,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_chatFull.md b/docs/API_docs/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/docs/API_docs/constructors/messages_chatFull.md +++ b/docs/API_docs/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_chats.md b/docs/API_docs/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/docs/API_docs/constructors/messages_chats.md +++ b/docs/API_docs/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_chatsSlice.md b/docs/API_docs/constructors/messages_chatsSlice.md index a9ad638d..ddd00630 100644 --- a/docs/API_docs/constructors/messages_chatsSlice.md +++ b/docs/API_docs/constructors/messages_chatsSlice.md @@ -25,6 +25,13 @@ description: messages_chatsSlice attributes, type and example $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatsSlice","count":"int","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_dhConfig.md b/docs/API_docs/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/docs/API_docs/constructors/messages_dhConfig.md +++ b/docs/API_docs/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_dhConfigNotModified.md b/docs/API_docs/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/docs/API_docs/constructors/messages_dhConfigNotModified.md +++ b/docs/API_docs/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_dialogs.md b/docs/API_docs/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/docs/API_docs/constructors/messages_dialogs.md +++ b/docs/API_docs/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_dialogsSlice.md b/docs/API_docs/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/docs/API_docs/constructors/messages_dialogsSlice.md +++ b/docs/API_docs/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_featuredStickers.md b/docs/API_docs/constructors/messages_featuredStickers.md index c4884d2e..beae5c36 100644 --- a/docs/API_docs/constructors/messages_featuredStickers.md +++ b/docs/API_docs/constructors/messages_featuredStickers.md @@ -26,6 +26,13 @@ description: messages_featuredStickers attributes, type and example $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.featuredStickers","hash":"int","sets":["StickerSetCovered"],"unread":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_featuredStickersNotModified.md b/docs/API_docs/constructors/messages_featuredStickersNotModified.md index 45036248..033dd647 100644 --- a/docs/API_docs/constructors/messages_featuredStickersNotModified.md +++ b/docs/API_docs/constructors/messages_featuredStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_featuredStickersNotModified attributes, type and example $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.featuredStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_foundGifs.md b/docs/API_docs/constructors/messages_foundGifs.md index 5db1a1db..7cf2eaac 100644 --- a/docs/API_docs/constructors/messages_foundGifs.md +++ b/docs/API_docs/constructors/messages_foundGifs.md @@ -25,6 +25,13 @@ description: messages_foundGifs attributes, type and example $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_highScores.md b/docs/API_docs/constructors/messages_highScores.md index 989bb2a3..6fdb3222 100644 --- a/docs/API_docs/constructors/messages_highScores.md +++ b/docs/API_docs/constructors/messages_highScores.md @@ -25,6 +25,13 @@ description: messages_highScores attributes, type and example $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.highScores","scores":["HighScore"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_messageEditData.md b/docs/API_docs/constructors/messages_messageEditData.md index 84fede7d..f04529f4 100644 --- a/docs/API_docs/constructors/messages_messageEditData.md +++ b/docs/API_docs/constructors/messages_messageEditData.md @@ -24,6 +24,13 @@ description: messages_messageEditData attributes, type and example $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messageEditData","caption":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_messages.md b/docs/API_docs/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/docs/API_docs/constructors/messages_messages.md +++ b/docs/API_docs/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_messagesSlice.md b/docs/API_docs/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/docs/API_docs/constructors/messages_messagesSlice.md +++ b/docs/API_docs/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_peerDialogs.md b/docs/API_docs/constructors/messages_peerDialogs.md index 3f6ba7b2..ba596c19 100644 --- a/docs/API_docs/constructors/messages_peerDialogs.md +++ b/docs/API_docs/constructors/messages_peerDialogs.md @@ -28,6 +28,13 @@ description: messages_peerDialogs attributes, type and example $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_recentStickers.md b/docs/API_docs/constructors/messages_recentStickers.md index ec13359e..89cc7c7b 100644 --- a/docs/API_docs/constructors/messages_recentStickers.md +++ b/docs/API_docs/constructors/messages_recentStickers.md @@ -25,6 +25,13 @@ description: messages_recentStickers attributes, type and example $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.recentStickers","hash":"int","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_recentStickersNotModified.md b/docs/API_docs/constructors/messages_recentStickersNotModified.md index fd4553c8..d4c2f39a 100644 --- a/docs/API_docs/constructors/messages_recentStickersNotModified.md +++ b/docs/API_docs/constructors/messages_recentStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_recentStickersNotModified attributes, type and example $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.recentStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_savedGifs.md b/docs/API_docs/constructors/messages_savedGifs.md index dfcab426..6077da46 100644 --- a/docs/API_docs/constructors/messages_savedGifs.md +++ b/docs/API_docs/constructors/messages_savedGifs.md @@ -25,6 +25,13 @@ description: messages_savedGifs attributes, type and example $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_savedGifsNotModified.md b/docs/API_docs/constructors/messages_savedGifsNotModified.md index 78292bdb..6f35f43d 100644 --- a/docs/API_docs/constructors/messages_savedGifsNotModified.md +++ b/docs/API_docs/constructors/messages_savedGifsNotModified.md @@ -19,6 +19,13 @@ description: messages_savedGifsNotModified attributes, type and example $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifsNotModified"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_sentEncryptedFile.md b/docs/API_docs/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/docs/API_docs/constructors/messages_sentEncryptedFile.md +++ b/docs/API_docs/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_sentEncryptedMessage.md b/docs/API_docs/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/docs/API_docs/constructors/messages_sentEncryptedMessage.md +++ b/docs/API_docs/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_stickerSet.md b/docs/API_docs/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/docs/API_docs/constructors/messages_stickerSet.md +++ b/docs/API_docs/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md b/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md index 92b2c31e..a56dbf2b 100644 --- a/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md +++ b/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md @@ -24,6 +24,13 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSetInstallResultArchive","sets":["StickerSetCovered"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md b/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md index c3d79b4f..269af099 100644 --- a/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md +++ b/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md @@ -19,6 +19,13 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSetInstallResultSuccess"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_stickers.md b/docs/API_docs/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/docs/API_docs/constructors/messages_stickers.md +++ b/docs/API_docs/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/messages_stickersNotModified.md b/docs/API_docs/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/docs/API_docs/constructors/messages_stickersNotModified.md +++ b/docs/API_docs/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/msg_detailed_info.md b/docs/API_docs/constructors/msg_detailed_info.md index 61e40732..f92347b0 100644 --- a/docs/API_docs/constructors/msg_detailed_info.md +++ b/docs/API_docs/constructors/msg_detailed_info.md @@ -27,6 +27,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_detailed_info","msg_id":"long","answer_msg_id":"long","bytes":"int","status":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/msg_new_detailed_info.md b/docs/API_docs/constructors/msg_new_detailed_info.md index 2f57220b..b2a3db96 100644 --- a/docs/API_docs/constructors/msg_new_detailed_info.md +++ b/docs/API_docs/constructors/msg_new_detailed_info.md @@ -26,6 +26,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_new_detailed_info","answer_msg_id":"long","bytes":"int","status":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/msg_resend_req.md b/docs/API_docs/constructors/msg_resend_req.md index 58f6daec..2abb95c1 100644 --- a/docs/API_docs/constructors/msg_resend_req.md +++ b/docs/API_docs/constructors/msg_resend_req.md @@ -24,6 +24,13 @@ description: msg_resend_req attributes, type and example $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_resend_req","msg_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/msgs_ack.md b/docs/API_docs/constructors/msgs_ack.md index 05f60aff..8b1b2f9f 100644 --- a/docs/API_docs/constructors/msgs_ack.md +++ b/docs/API_docs/constructors/msgs_ack.md @@ -24,6 +24,13 @@ description: msgs_ack attributes, type and example $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_ack","msg_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/msgs_all_info.md b/docs/API_docs/constructors/msgs_all_info.md index f9adeb83..50a539bc 100644 --- a/docs/API_docs/constructors/msgs_all_info.md +++ b/docs/API_docs/constructors/msgs_all_info.md @@ -25,6 +25,13 @@ description: msgs_all_info attributes, type and example $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long], 'info' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_all_info","msg_ids":["long"],"info":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/msgs_state_info.md b/docs/API_docs/constructors/msgs_state_info.md index 0066d567..d5819d23 100644 --- a/docs/API_docs/constructors/msgs_state_info.md +++ b/docs/API_docs/constructors/msgs_state_info.md @@ -25,6 +25,13 @@ description: msgs_state_info attributes, type and example $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_state_info","req_msg_id":"long","info":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/msgs_state_req.md b/docs/API_docs/constructors/msgs_state_req.md index 53d846c7..8247b8c1 100644 --- a/docs/API_docs/constructors/msgs_state_req.md +++ b/docs/API_docs/constructors/msgs_state_req.md @@ -24,6 +24,13 @@ description: msgs_state_req attributes, type and example $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_state_req","msg_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/nearestDc.md b/docs/API_docs/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/docs/API_docs/constructors/nearestDc.md +++ b/docs/API_docs/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/new_session_created.md b/docs/API_docs/constructors/new_session_created.md index 7cccc77c..5eac0fac 100644 --- a/docs/API_docs/constructors/new_session_created.md +++ b/docs/API_docs/constructors/new_session_created.md @@ -26,6 +26,13 @@ description: new_session_created attributes, type and example $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"new_session_created","first_msg_id":"long","unique_id":"long","server_salt":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/notifyAll.md b/docs/API_docs/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/docs/API_docs/constructors/notifyAll.md +++ b/docs/API_docs/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/notifyChats.md b/docs/API_docs/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/docs/API_docs/constructors/notifyChats.md +++ b/docs/API_docs/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/notifyPeer.md b/docs/API_docs/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/docs/API_docs/constructors/notifyPeer.md +++ b/docs/API_docs/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/notifyUsers.md b/docs/API_docs/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/docs/API_docs/constructors/notifyUsers.md +++ b/docs/API_docs/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/p_q_inner_data.md b/docs/API_docs/constructors/p_q_inner_data.md index e8719b89..b956ca92 100644 --- a/docs/API_docs/constructors/p_q_inner_data.md +++ b/docs/API_docs/constructors/p_q_inner_data.md @@ -29,6 +29,13 @@ description: p_q_inner_data attributes, type and example $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => string, 'p' => string, 'q' => string, 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"p_q_inner_data","pq":"string","p":"string","q":"string","nonce":"int128","server_nonce":"int128","new_nonce":"int256"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockAnchor.md b/docs/API_docs/constructors/pageBlockAnchor.md index b5f2dda9..7e7e3582 100644 --- a/docs/API_docs/constructors/pageBlockAnchor.md +++ b/docs/API_docs/constructors/pageBlockAnchor.md @@ -24,6 +24,13 @@ description: pageBlockAnchor attributes, type and example $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockAnchor","name":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockAudio.md b/docs/API_docs/constructors/pageBlockAudio.md index 0ed38bf7..36b37b62 100644 --- a/docs/API_docs/constructors/pageBlockAudio.md +++ b/docs/API_docs/constructors/pageBlockAudio.md @@ -25,6 +25,13 @@ description: pageBlockAudio attributes, type and example $pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockAudio","audio_id":"long","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockAuthorDate.md b/docs/API_docs/constructors/pageBlockAuthorDate.md index 3fe84037..b30337e1 100644 --- a/docs/API_docs/constructors/pageBlockAuthorDate.md +++ b/docs/API_docs/constructors/pageBlockAuthorDate.md @@ -25,6 +25,13 @@ description: pageBlockAuthorDate attributes, type and example $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockAuthorDate","author":"RichText","published_date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockBlockquote.md b/docs/API_docs/constructors/pageBlockBlockquote.md index d020e7d4..03b93ab7 100644 --- a/docs/API_docs/constructors/pageBlockBlockquote.md +++ b/docs/API_docs/constructors/pageBlockBlockquote.md @@ -25,6 +25,13 @@ description: pageBlockBlockquote attributes, type and example $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockBlockquote","text":"RichText","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockChannel.md b/docs/API_docs/constructors/pageBlockChannel.md index 9543fb38..bc43c4f8 100644 --- a/docs/API_docs/constructors/pageBlockChannel.md +++ b/docs/API_docs/constructors/pageBlockChannel.md @@ -24,6 +24,13 @@ description: pageBlockChannel attributes, type and example $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockChannel","channel":"Chat"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockCollage.md b/docs/API_docs/constructors/pageBlockCollage.md index 74c40f44..7ae744f5 100644 --- a/docs/API_docs/constructors/pageBlockCollage.md +++ b/docs/API_docs/constructors/pageBlockCollage.md @@ -25,6 +25,13 @@ description: pageBlockCollage attributes, type and example $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock], 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockCollage","items":["PageBlock"],"caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockCover.md b/docs/API_docs/constructors/pageBlockCover.md index 9ae62342..5c91d850 100644 --- a/docs/API_docs/constructors/pageBlockCover.md +++ b/docs/API_docs/constructors/pageBlockCover.md @@ -24,6 +24,13 @@ description: pageBlockCover attributes, type and example $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockCover","cover":"PageBlock"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockDivider.md b/docs/API_docs/constructors/pageBlockDivider.md index 81b90d28..03b6b756 100644 --- a/docs/API_docs/constructors/pageBlockDivider.md +++ b/docs/API_docs/constructors/pageBlockDivider.md @@ -19,6 +19,13 @@ description: pageBlockDivider attributes, type and example $pageBlockDivider = ['_' => 'pageBlockDivider', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockDivider"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockEmbed.md b/docs/API_docs/constructors/pageBlockEmbed.md index 1b0887b7..acc257b8 100644 --- a/docs/API_docs/constructors/pageBlockEmbed.md +++ b/docs/API_docs/constructors/pageBlockEmbed.md @@ -31,6 +31,13 @@ description: pageBlockEmbed attributes, type and example $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => string, 'html' => string, 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockEmbed","full_width":"Bool","allow_scrolling":"Bool","url":"string","html":"string","poster_photo_id":"long","w":"int","h":"int","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockEmbedPost.md b/docs/API_docs/constructors/pageBlockEmbedPost.md index 8edfb4a1..7bd9a9cf 100644 --- a/docs/API_docs/constructors/pageBlockEmbedPost.md +++ b/docs/API_docs/constructors/pageBlockEmbedPost.md @@ -30,6 +30,13 @@ description: pageBlockEmbedPost attributes, type and example $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => string, 'webpage_id' => long, 'author_photo_id' => long, 'author' => string, 'date' => int, 'blocks' => [PageBlock], 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockEmbedPost","url":"string","webpage_id":"long","author_photo_id":"long","author":"string","date":"int","blocks":["PageBlock"],"caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockFooter.md b/docs/API_docs/constructors/pageBlockFooter.md index 94bc6666..b35e731e 100644 --- a/docs/API_docs/constructors/pageBlockFooter.md +++ b/docs/API_docs/constructors/pageBlockFooter.md @@ -24,6 +24,13 @@ description: pageBlockFooter attributes, type and example $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockFooter","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockHeader.md b/docs/API_docs/constructors/pageBlockHeader.md index ed536e6e..69fb595d 100644 --- a/docs/API_docs/constructors/pageBlockHeader.md +++ b/docs/API_docs/constructors/pageBlockHeader.md @@ -24,6 +24,13 @@ description: pageBlockHeader attributes, type and example $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockHeader","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockList.md b/docs/API_docs/constructors/pageBlockList.md index 4797dbcb..e3608efe 100644 --- a/docs/API_docs/constructors/pageBlockList.md +++ b/docs/API_docs/constructors/pageBlockList.md @@ -25,6 +25,13 @@ description: pageBlockList attributes, type and example $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockList","ordered":"Bool","items":["RichText"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockParagraph.md b/docs/API_docs/constructors/pageBlockParagraph.md index 4a8b62fd..c3cae789 100644 --- a/docs/API_docs/constructors/pageBlockParagraph.md +++ b/docs/API_docs/constructors/pageBlockParagraph.md @@ -24,6 +24,13 @@ description: pageBlockParagraph attributes, type and example $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockParagraph","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockPhoto.md b/docs/API_docs/constructors/pageBlockPhoto.md index 3deea303..cd89acb3 100644 --- a/docs/API_docs/constructors/pageBlockPhoto.md +++ b/docs/API_docs/constructors/pageBlockPhoto.md @@ -25,6 +25,13 @@ description: pageBlockPhoto attributes, type and example $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockPhoto","photo_id":"long","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockPreformatted.md b/docs/API_docs/constructors/pageBlockPreformatted.md index 38747e45..7fb3de67 100644 --- a/docs/API_docs/constructors/pageBlockPreformatted.md +++ b/docs/API_docs/constructors/pageBlockPreformatted.md @@ -25,6 +25,13 @@ description: pageBlockPreformatted attributes, type and example $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockPreformatted","text":"RichText","language":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockPullquote.md b/docs/API_docs/constructors/pageBlockPullquote.md index 85a8ceed..12c9fc4c 100644 --- a/docs/API_docs/constructors/pageBlockPullquote.md +++ b/docs/API_docs/constructors/pageBlockPullquote.md @@ -25,6 +25,13 @@ description: pageBlockPullquote attributes, type and example $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockPullquote","text":"RichText","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockSlideshow.md b/docs/API_docs/constructors/pageBlockSlideshow.md index c71f0e90..de0d384c 100644 --- a/docs/API_docs/constructors/pageBlockSlideshow.md +++ b/docs/API_docs/constructors/pageBlockSlideshow.md @@ -25,6 +25,13 @@ description: pageBlockSlideshow attributes, type and example $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock], 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockSlideshow","items":["PageBlock"],"caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockSubheader.md b/docs/API_docs/constructors/pageBlockSubheader.md index 495b6196..7efc0a7c 100644 --- a/docs/API_docs/constructors/pageBlockSubheader.md +++ b/docs/API_docs/constructors/pageBlockSubheader.md @@ -24,6 +24,13 @@ description: pageBlockSubheader attributes, type and example $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockSubheader","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockSubtitle.md b/docs/API_docs/constructors/pageBlockSubtitle.md index cc359365..6551b737 100644 --- a/docs/API_docs/constructors/pageBlockSubtitle.md +++ b/docs/API_docs/constructors/pageBlockSubtitle.md @@ -24,6 +24,13 @@ description: pageBlockSubtitle attributes, type and example $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockSubtitle","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockTitle.md b/docs/API_docs/constructors/pageBlockTitle.md index cd3cc8e3..75f47508 100644 --- a/docs/API_docs/constructors/pageBlockTitle.md +++ b/docs/API_docs/constructors/pageBlockTitle.md @@ -24,6 +24,13 @@ description: pageBlockTitle attributes, type and example $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockTitle","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockUnsupported.md b/docs/API_docs/constructors/pageBlockUnsupported.md index 59275dda..5b7d881f 100644 --- a/docs/API_docs/constructors/pageBlockUnsupported.md +++ b/docs/API_docs/constructors/pageBlockUnsupported.md @@ -19,6 +19,13 @@ description: pageBlockUnsupported attributes, type and example $pageBlockUnsupported = ['_' => 'pageBlockUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockUnsupported"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageBlockVideo.md b/docs/API_docs/constructors/pageBlockVideo.md index 73379377..59a824c1 100644 --- a/docs/API_docs/constructors/pageBlockVideo.md +++ b/docs/API_docs/constructors/pageBlockVideo.md @@ -27,6 +27,13 @@ description: pageBlockVideo attributes, type and example $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockVideo","autoplay":"Bool","loop":"Bool","video_id":"long","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pageFull.md b/docs/API_docs/constructors/pageFull.md index 1c179fe8..c1c2d245 100644 --- a/docs/API_docs/constructors/pageFull.md +++ b/docs/API_docs/constructors/pageFull.md @@ -26,6 +26,13 @@ description: pageFull attributes, type and example $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageFull","blocks":["PageBlock"],"photos":["Photo"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pagePart.md b/docs/API_docs/constructors/pagePart.md index fae9d53b..ebab5b40 100644 --- a/docs/API_docs/constructors/pagePart.md +++ b/docs/API_docs/constructors/pagePart.md @@ -26,6 +26,13 @@ description: pagePart attributes, type and example $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pagePart","blocks":["PageBlock"],"photos":["Photo"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/paymentCharge.md b/docs/API_docs/constructors/paymentCharge.md index 4c08bbb7..2f9c6127 100644 --- a/docs/API_docs/constructors/paymentCharge.md +++ b/docs/API_docs/constructors/paymentCharge.md @@ -25,6 +25,13 @@ description: paymentCharge attributes, type and example $paymentCharge = ['_' => 'paymentCharge', 'id' => string, 'provider_charge_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"paymentCharge","id":"string","provider_charge_id":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/paymentRequestedInfo.md b/docs/API_docs/constructors/paymentRequestedInfo.md index ad7a2907..a4e8612d 100644 --- a/docs/API_docs/constructors/paymentRequestedInfo.md +++ b/docs/API_docs/constructors/paymentRequestedInfo.md @@ -27,6 +27,13 @@ description: paymentRequestedInfo attributes, type and example $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => string, 'phone' => string, 'email' => string, 'shipping_address' => PostAddress, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"paymentRequestedInfo","name":"string","phone":"string","email":"string","shipping_address":"PostAddress"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/paymentSavedCredentialsCard.md b/docs/API_docs/constructors/paymentSavedCredentialsCard.md index 16edbaf8..fd97903a 100644 --- a/docs/API_docs/constructors/paymentSavedCredentialsCard.md +++ b/docs/API_docs/constructors/paymentSavedCredentialsCard.md @@ -25,6 +25,13 @@ description: paymentSavedCredentialsCard attributes, type and example $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => string, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"paymentSavedCredentialsCard","id":"string","title":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/payments_paymentForm.md b/docs/API_docs/constructors/payments_paymentForm.md index 4f22bcbd..dff13e64 100644 --- a/docs/API_docs/constructors/payments_paymentForm.md +++ b/docs/API_docs/constructors/payments_paymentForm.md @@ -34,6 +34,13 @@ description: payments_paymentForm attributes, type and example $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => string, 'native_provider' => string, 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.paymentForm","can_save_credentials":"Bool","password_missing":"Bool","bot_id":"int","invoice":"Invoice","provider_id":"int","url":"string","native_provider":"string","native_params":"DataJSON","saved_info":"PaymentRequestedInfo","saved_credentials":"PaymentSavedCredentials","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/payments_paymentReceipt.md b/docs/API_docs/constructors/payments_paymentReceipt.md index f3c14832..90000f42 100644 --- a/docs/API_docs/constructors/payments_paymentReceipt.md +++ b/docs/API_docs/constructors/payments_paymentReceipt.md @@ -33,6 +33,13 @@ description: payments_paymentReceipt attributes, type and example $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => string, 'total_amount' => long, 'credentials_title' => string, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.paymentReceipt","date":"int","bot_id":"int","invoice":"Invoice","provider_id":"int","info":"PaymentRequestedInfo","shipping":"ShippingOption","currency":"string","total_amount":"long","credentials_title":"string","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/payments_paymentResult.md b/docs/API_docs/constructors/payments_paymentResult.md index 18d75fad..aad37320 100644 --- a/docs/API_docs/constructors/payments_paymentResult.md +++ b/docs/API_docs/constructors/payments_paymentResult.md @@ -24,6 +24,13 @@ description: payments_paymentResult attributes, type and example $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.paymentResult","updates":"Updates"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/payments_paymentVerficationNeeded.md b/docs/API_docs/constructors/payments_paymentVerficationNeeded.md index f3af9acf..0b2f4224 100644 --- a/docs/API_docs/constructors/payments_paymentVerficationNeeded.md +++ b/docs/API_docs/constructors/payments_paymentVerficationNeeded.md @@ -24,6 +24,13 @@ description: payments_paymentVerficationNeeded attributes, type and example $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.paymentVerficationNeeded","url":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/payments_savedInfo.md b/docs/API_docs/constructors/payments_savedInfo.md index 42c5b738..57e9b3ad 100644 --- a/docs/API_docs/constructors/payments_savedInfo.md +++ b/docs/API_docs/constructors/payments_savedInfo.md @@ -25,6 +25,13 @@ description: payments_savedInfo attributes, type and example $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.savedInfo","has_saved_credentials":"Bool","saved_info":"PaymentRequestedInfo"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/payments_validatedRequestedInfo.md b/docs/API_docs/constructors/payments_validatedRequestedInfo.md index abf335ca..7140482a 100644 --- a/docs/API_docs/constructors/payments_validatedRequestedInfo.md +++ b/docs/API_docs/constructors/payments_validatedRequestedInfo.md @@ -25,6 +25,13 @@ description: payments_validatedRequestedInfo attributes, type and example $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => string, 'shipping_options' => [ShippingOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.validatedRequestedInfo","id":"string","shipping_options":["ShippingOption"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/peerChannel.md b/docs/API_docs/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/docs/API_docs/constructors/peerChannel.md +++ b/docs/API_docs/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/peerChat.md b/docs/API_docs/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/docs/API_docs/constructors/peerChat.md +++ b/docs/API_docs/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/peerNotifyEventsAll.md b/docs/API_docs/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/docs/API_docs/constructors/peerNotifyEventsAll.md +++ b/docs/API_docs/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/peerNotifyEventsEmpty.md b/docs/API_docs/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/docs/API_docs/constructors/peerNotifyEventsEmpty.md +++ b/docs/API_docs/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/peerNotifySettings.md b/docs/API_docs/constructors/peerNotifySettings.md index 6c2d984e..fb5f90ac 100644 --- a/docs/API_docs/constructors/peerNotifySettings.md +++ b/docs/API_docs/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/peerNotifySettingsEmpty.md b/docs/API_docs/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/docs/API_docs/constructors/peerNotifySettingsEmpty.md +++ b/docs/API_docs/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/peerSettings.md b/docs/API_docs/constructors/peerSettings.md index 0169488e..1c888af9 100644 --- a/docs/API_docs/constructors/peerSettings.md +++ b/docs/API_docs/constructors/peerSettings.md @@ -24,6 +24,13 @@ description: peerSettings attributes, type and example $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerSettings","report_spam":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/peerUser.md b/docs/API_docs/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/docs/API_docs/constructors/peerUser.md +++ b/docs/API_docs/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/phoneCall.md b/docs/API_docs/constructors/phoneCall.md index 50513213..6414af6f 100644 --- a/docs/API_docs/constructors/phoneCall.md +++ b/docs/API_docs/constructors/phoneCall.md @@ -34,6 +34,13 @@ description: phoneCall attributes, type and example $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection], 'start_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCall","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long","protocol":"PhoneCallProtocol","connection":"PhoneConnection","alternative_connections":["PhoneConnection"],"start_date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/phoneCallAccepted.md b/docs/API_docs/constructors/phoneCallAccepted.md index 9849a825..2065f97c 100644 --- a/docs/API_docs/constructors/phoneCallAccepted.md +++ b/docs/API_docs/constructors/phoneCallAccepted.md @@ -30,6 +30,13 @@ description: phoneCallAccepted attributes, type and example $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => bytes, 'protocol' => PhoneCallProtocol, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallAccepted","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_b":"bytes","protocol":"PhoneCallProtocol"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/phoneCallDiscardReasonBusy.md b/docs/API_docs/constructors/phoneCallDiscardReasonBusy.md index d0cb60c4..a8041928 100644 --- a/docs/API_docs/constructors/phoneCallDiscardReasonBusy.md +++ b/docs/API_docs/constructors/phoneCallDiscardReasonBusy.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonBusy attributes, type and example $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonBusy"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/phoneCallDiscardReasonDisconnect.md b/docs/API_docs/constructors/phoneCallDiscardReasonDisconnect.md index ce63efbe..c0567700 100644 --- a/docs/API_docs/constructors/phoneCallDiscardReasonDisconnect.md +++ b/docs/API_docs/constructors/phoneCallDiscardReasonDisconnect.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonDisconnect attributes, type and example $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonDisconnect"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/phoneCallDiscardReasonHangup.md b/docs/API_docs/constructors/phoneCallDiscardReasonHangup.md index 40841d73..7c108ec3 100644 --- a/docs/API_docs/constructors/phoneCallDiscardReasonHangup.md +++ b/docs/API_docs/constructors/phoneCallDiscardReasonHangup.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonHangup attributes, type and example $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonHangup"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/phoneCallDiscardReasonMissed.md b/docs/API_docs/constructors/phoneCallDiscardReasonMissed.md index 04ea3fa0..f6aa306c 100644 --- a/docs/API_docs/constructors/phoneCallDiscardReasonMissed.md +++ b/docs/API_docs/constructors/phoneCallDiscardReasonMissed.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonMissed attributes, type and example $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonMissed"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/phoneCallDiscarded.md b/docs/API_docs/constructors/phoneCallDiscarded.md index cc53c2c1..50f8bbaa 100644 --- a/docs/API_docs/constructors/phoneCallDiscarded.md +++ b/docs/API_docs/constructors/phoneCallDiscarded.md @@ -28,6 +28,13 @@ description: phoneCallDiscarded attributes, type and example $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscarded","need_rating":"Bool","need_debug":"Bool","id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/phoneCallEmpty.md b/docs/API_docs/constructors/phoneCallEmpty.md index a3cade57..ad8dec73 100644 --- a/docs/API_docs/constructors/phoneCallEmpty.md +++ b/docs/API_docs/constructors/phoneCallEmpty.md @@ -24,6 +24,13 @@ description: phoneCallEmpty attributes, type and example $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/phoneCallProtocol.md b/docs/API_docs/constructors/phoneCallProtocol.md index f69b1a5f..b4f6dffb 100644 --- a/docs/API_docs/constructors/phoneCallProtocol.md +++ b/docs/API_docs/constructors/phoneCallProtocol.md @@ -27,6 +27,13 @@ description: phoneCallProtocol attributes, type and example $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallProtocol","udp_p2p":"Bool","udp_reflector":"Bool","min_layer":"int","max_layer":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/phoneCallRequested.md b/docs/API_docs/constructors/phoneCallRequested.md index b68645e1..64d3a65c 100644 --- a/docs/API_docs/constructors/phoneCallRequested.md +++ b/docs/API_docs/constructors/phoneCallRequested.md @@ -30,6 +30,13 @@ description: phoneCallRequested attributes, type and example $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => bytes, 'protocol' => PhoneCallProtocol, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallRequested","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_hash":"bytes","protocol":"PhoneCallProtocol"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/phoneCallWaiting.md b/docs/API_docs/constructors/phoneCallWaiting.md index 577dcd51..702a868f 100644 --- a/docs/API_docs/constructors/phoneCallWaiting.md +++ b/docs/API_docs/constructors/phoneCallWaiting.md @@ -30,6 +30,13 @@ description: phoneCallWaiting attributes, type and example $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallWaiting","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","protocol":"PhoneCallProtocol","receive_date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/phoneConnection.md b/docs/API_docs/constructors/phoneConnection.md index 730d3019..9c2c6a58 100644 --- a/docs/API_docs/constructors/phoneConnection.md +++ b/docs/API_docs/constructors/phoneConnection.md @@ -28,6 +28,13 @@ description: phoneConnection attributes, type and example $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => string, 'ipv6' => string, 'port' => int, 'peer_tag' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneConnection","id":"long","ip":"string","ipv6":"string","port":"int","peer_tag":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/phone_phoneCall.md b/docs/API_docs/constructors/phone_phoneCall.md index bb789601..af0106eb 100644 --- a/docs/API_docs/constructors/phone_phoneCall.md +++ b/docs/API_docs/constructors/phone_phoneCall.md @@ -25,6 +25,13 @@ description: phone_phoneCall attributes, type and example $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phone.phoneCall","phone_call":"PhoneCall","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/photo.md b/docs/API_docs/constructors/photo.md index 3ce8cc62..eeb39d1f 100644 --- a/docs/API_docs/constructors/photo.md +++ b/docs/API_docs/constructors/photo.md @@ -28,6 +28,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","has_stickers":"Bool","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/photoCachedSize.md b/docs/API_docs/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/docs/API_docs/constructors/photoCachedSize.md +++ b/docs/API_docs/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/photoCachedSize_23.md b/docs/API_docs/constructors/photoCachedSize_23.md index 8a9205d0..98236087 100644 --- a/docs/API_docs/constructors/photoCachedSize_23.md +++ b/docs/API_docs/constructors/photoCachedSize_23.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize_23 = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/photoEmpty.md b/docs/API_docs/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/docs/API_docs/constructors/photoEmpty.md +++ b/docs/API_docs/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/photoSize.md b/docs/API_docs/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/docs/API_docs/constructors/photoSize.md +++ b/docs/API_docs/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/photoSizeEmpty.md b/docs/API_docs/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/docs/API_docs/constructors/photoSizeEmpty.md +++ b/docs/API_docs/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/photoSizeEmpty_23.md b/docs/API_docs/constructors/photoSizeEmpty_23.md index ffb7c742..8ccbb1a2 100644 --- a/docs/API_docs/constructors/photoSizeEmpty_23.md +++ b/docs/API_docs/constructors/photoSizeEmpty_23.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty_23 = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/photoSize_23.md b/docs/API_docs/constructors/photoSize_23.md index 1f82fc00..56940b4f 100644 --- a/docs/API_docs/constructors/photoSize_23.md +++ b/docs/API_docs/constructors/photoSize_23.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize_23 = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/photos_photo.md b/docs/API_docs/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/docs/API_docs/constructors/photos_photo.md +++ b/docs/API_docs/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/photos_photos.md b/docs/API_docs/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/docs/API_docs/constructors/photos_photos.md +++ b/docs/API_docs/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/photos_photosSlice.md b/docs/API_docs/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/docs/API_docs/constructors/photos_photosSlice.md +++ b/docs/API_docs/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/pong.md b/docs/API_docs/constructors/pong.md index 72b67d07..5c03bb9b 100644 --- a/docs/API_docs/constructors/pong.md +++ b/docs/API_docs/constructors/pong.md @@ -25,6 +25,13 @@ description: pong attributes, type and example $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pong","msg_id":"long","ping_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/postAddress.md b/docs/API_docs/constructors/postAddress.md index fdd8c49a..5b656fd9 100644 --- a/docs/API_docs/constructors/postAddress.md +++ b/docs/API_docs/constructors/postAddress.md @@ -29,6 +29,13 @@ description: postAddress attributes, type and example $postAddress = ['_' => 'postAddress', 'street_line1' => string, 'street_line2' => string, 'city' => string, 'state' => string, 'country_iso2' => string, 'post_code' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"postAddress","street_line1":"string","street_line2":"string","city":"string","state":"string","country_iso2":"string","post_code":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/privacyKeyChatInvite.md b/docs/API_docs/constructors/privacyKeyChatInvite.md index 16d03a16..334bcd65 100644 --- a/docs/API_docs/constructors/privacyKeyChatInvite.md +++ b/docs/API_docs/constructors/privacyKeyChatInvite.md @@ -25,6 +25,13 @@ Privacy key for managing ability of invitation of the user to chats $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/privacyKeyPhoneCall.md b/docs/API_docs/constructors/privacyKeyPhoneCall.md index fc78bf34..894dccb5 100644 --- a/docs/API_docs/constructors/privacyKeyPhoneCall.md +++ b/docs/API_docs/constructors/privacyKeyPhoneCall.md @@ -19,6 +19,13 @@ description: privacyKeyPhoneCall attributes, type and example $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyPhoneCall"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/privacyKeyStatusTimestamp.md b/docs/API_docs/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/docs/API_docs/constructors/privacyKeyStatusTimestamp.md +++ b/docs/API_docs/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/privacyValueAllowAll.md b/docs/API_docs/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/docs/API_docs/constructors/privacyValueAllowAll.md +++ b/docs/API_docs/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/privacyValueAllowContacts.md b/docs/API_docs/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/docs/API_docs/constructors/privacyValueAllowContacts.md +++ b/docs/API_docs/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/privacyValueAllowUsers.md b/docs/API_docs/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/docs/API_docs/constructors/privacyValueAllowUsers.md +++ b/docs/API_docs/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/privacyValueDisallowAll.md b/docs/API_docs/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/docs/API_docs/constructors/privacyValueDisallowAll.md +++ b/docs/API_docs/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/privacyValueDisallowContacts.md b/docs/API_docs/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/docs/API_docs/constructors/privacyValueDisallowContacts.md +++ b/docs/API_docs/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/privacyValueDisallowUsers.md b/docs/API_docs/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/docs/API_docs/constructors/privacyValueDisallowUsers.md +++ b/docs/API_docs/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/receivedNotifyMessage.md b/docs/API_docs/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/docs/API_docs/constructors/receivedNotifyMessage.md +++ b/docs/API_docs/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/replyInlineMarkup.md b/docs/API_docs/constructors/replyInlineMarkup.md index 4bc5d372..76e87dc2 100644 --- a/docs/API_docs/constructors/replyInlineMarkup.md +++ b/docs/API_docs/constructors/replyInlineMarkup.md @@ -24,6 +24,13 @@ description: replyInlineMarkup attributes, type and example $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/replyKeyboardForceReply.md b/docs/API_docs/constructors/replyKeyboardForceReply.md index 4f319506..02a0779a 100644 --- a/docs/API_docs/constructors/replyKeyboardForceReply.md +++ b/docs/API_docs/constructors/replyKeyboardForceReply.md @@ -25,6 +25,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/replyKeyboardHide.md b/docs/API_docs/constructors/replyKeyboardHide.md index 56faa8dd..8b210933 100644 --- a/docs/API_docs/constructors/replyKeyboardHide.md +++ b/docs/API_docs/constructors/replyKeyboardHide.md @@ -24,6 +24,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/replyKeyboardMarkup.md b/docs/API_docs/constructors/replyKeyboardMarkup.md index 3cebc41f..4269aeb9 100644 --- a/docs/API_docs/constructors/replyKeyboardMarkup.md +++ b/docs/API_docs/constructors/replyKeyboardMarkup.md @@ -27,6 +27,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/resPQ.md b/docs/API_docs/constructors/resPQ.md index 8eb06349..67f30009 100644 --- a/docs/API_docs/constructors/resPQ.md +++ b/docs/API_docs/constructors/resPQ.md @@ -27,6 +27,13 @@ description: resPQ attributes, type and example $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => string, 'server_public_key_fingerprints' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"resPQ","nonce":"int128","server_nonce":"int128","pq":"string","server_public_key_fingerprints":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/rpc_answer_dropped.md b/docs/API_docs/constructors/rpc_answer_dropped.md index acf2ee62..9ea5479b 100644 --- a/docs/API_docs/constructors/rpc_answer_dropped.md +++ b/docs/API_docs/constructors/rpc_answer_dropped.md @@ -26,6 +26,13 @@ description: rpc_answer_dropped attributes, type and example $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_answer_dropped","msg_id":"long","seq_no":"int","bytes":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/rpc_answer_dropped_running.md b/docs/API_docs/constructors/rpc_answer_dropped_running.md index 0634b3d8..c3723abd 100644 --- a/docs/API_docs/constructors/rpc_answer_dropped_running.md +++ b/docs/API_docs/constructors/rpc_answer_dropped_running.md @@ -19,6 +19,13 @@ description: rpc_answer_dropped_running attributes, type and example $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_answer_dropped_running"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/rpc_answer_unknown.md b/docs/API_docs/constructors/rpc_answer_unknown.md index 6e7b0a87..58132b7a 100644 --- a/docs/API_docs/constructors/rpc_answer_unknown.md +++ b/docs/API_docs/constructors/rpc_answer_unknown.md @@ -19,6 +19,13 @@ description: rpc_answer_unknown attributes, type and example $rpc_answer_unknown = ['_' => 'rpc_answer_unknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_answer_unknown"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/rpc_error.md b/docs/API_docs/constructors/rpc_error.md index ec318a68..fe821e55 100644 --- a/docs/API_docs/constructors/rpc_error.md +++ b/docs/API_docs/constructors/rpc_error.md @@ -25,6 +25,13 @@ description: rpc_error attributes, type and example $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_error","error_code":"int","error_message":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageCancelAction.md b/docs/API_docs/constructors/sendMessageCancelAction.md index 61044775..368da243 100644 --- a/docs/API_docs/constructors/sendMessageCancelAction.md +++ b/docs/API_docs/constructors/sendMessageCancelAction.md @@ -25,6 +25,13 @@ User cancels typing $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageCancelAction_17.md b/docs/API_docs/constructors/sendMessageCancelAction_17.md index 6fb4e72e..419235fb 100644 --- a/docs/API_docs/constructors/sendMessageCancelAction_17.md +++ b/docs/API_docs/constructors/sendMessageCancelAction_17.md @@ -25,6 +25,13 @@ User cancels typing $sendMessageCancelAction_17 = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageChooseContactAction.md b/docs/API_docs/constructors/sendMessageChooseContactAction.md index c8ea67dc..4ffa3b26 100644 --- a/docs/API_docs/constructors/sendMessageChooseContactAction.md +++ b/docs/API_docs/constructors/sendMessageChooseContactAction.md @@ -25,6 +25,13 @@ User chooses contact to send $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageChooseContactAction_17.md b/docs/API_docs/constructors/sendMessageChooseContactAction_17.md index 57ce5880..c5bec179 100644 --- a/docs/API_docs/constructors/sendMessageChooseContactAction_17.md +++ b/docs/API_docs/constructors/sendMessageChooseContactAction_17.md @@ -25,6 +25,13 @@ User chooses contact to send $sendMessageChooseContactAction_17 = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageGamePlayAction.md b/docs/API_docs/constructors/sendMessageGamePlayAction.md index 9d1c7e57..3fa832ac 100644 --- a/docs/API_docs/constructors/sendMessageGamePlayAction.md +++ b/docs/API_docs/constructors/sendMessageGamePlayAction.md @@ -19,6 +19,13 @@ description: sendMessageGamePlayAction attributes, type and example $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGamePlayAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageGeoLocationAction.md b/docs/API_docs/constructors/sendMessageGeoLocationAction.md index f3eff4eb..7d7f452d 100644 --- a/docs/API_docs/constructors/sendMessageGeoLocationAction.md +++ b/docs/API_docs/constructors/sendMessageGeoLocationAction.md @@ -25,6 +25,13 @@ User sends geolocation $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageGeoLocationAction_17.md b/docs/API_docs/constructors/sendMessageGeoLocationAction_17.md index 392dfec4..d28f5bbe 100644 --- a/docs/API_docs/constructors/sendMessageGeoLocationAction_17.md +++ b/docs/API_docs/constructors/sendMessageGeoLocationAction_17.md @@ -25,6 +25,13 @@ User sends geolocation $sendMessageGeoLocationAction_17 = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageRecordAudioAction.md b/docs/API_docs/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/docs/API_docs/constructors/sendMessageRecordAudioAction.md +++ b/docs/API_docs/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageRecordAudioAction_17.md b/docs/API_docs/constructors/sendMessageRecordAudioAction_17.md index 7c7f3924..21c0d1c6 100644 --- a/docs/API_docs/constructors/sendMessageRecordAudioAction_17.md +++ b/docs/API_docs/constructors/sendMessageRecordAudioAction_17.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction_17 = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageRecordRoundAction.md b/docs/API_docs/constructors/sendMessageRecordRoundAction.md index f9414a04..254558be 100644 --- a/docs/API_docs/constructors/sendMessageRecordRoundAction.md +++ b/docs/API_docs/constructors/sendMessageRecordRoundAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordRoundAction attributes, type and example $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordRoundAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageRecordVideoAction.md b/docs/API_docs/constructors/sendMessageRecordVideoAction.md index 95b77850..fa88ccff 100644 --- a/docs/API_docs/constructors/sendMessageRecordVideoAction.md +++ b/docs/API_docs/constructors/sendMessageRecordVideoAction.md @@ -25,6 +25,13 @@ User records a video $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageRecordVideoAction_17.md b/docs/API_docs/constructors/sendMessageRecordVideoAction_17.md index 32701da4..cf2180fa 100644 --- a/docs/API_docs/constructors/sendMessageRecordVideoAction_17.md +++ b/docs/API_docs/constructors/sendMessageRecordVideoAction_17.md @@ -25,6 +25,13 @@ User records a video $sendMessageRecordVideoAction_17 = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageTypingAction.md b/docs/API_docs/constructors/sendMessageTypingAction.md index 41bda68a..b53a5d2a 100644 --- a/docs/API_docs/constructors/sendMessageTypingAction.md +++ b/docs/API_docs/constructors/sendMessageTypingAction.md @@ -25,6 +25,13 @@ User typing message $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageTypingAction_17.md b/docs/API_docs/constructors/sendMessageTypingAction_17.md index ab6245f8..75354a47 100644 --- a/docs/API_docs/constructors/sendMessageTypingAction_17.md +++ b/docs/API_docs/constructors/sendMessageTypingAction_17.md @@ -25,6 +25,13 @@ User typing message $sendMessageTypingAction_17 = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageUploadAudioAction.md b/docs/API_docs/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/docs/API_docs/constructors/sendMessageUploadAudioAction.md +++ b/docs/API_docs/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageUploadAudioAction_17.md b/docs/API_docs/constructors/sendMessageUploadAudioAction_17.md index 2159be1b..18e2c349 100644 --- a/docs/API_docs/constructors/sendMessageUploadAudioAction_17.md +++ b/docs/API_docs/constructors/sendMessageUploadAudioAction_17.md @@ -19,6 +19,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction_17 = ['_' => 'sendMessageUploadAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageUploadDocumentAction.md b/docs/API_docs/constructors/sendMessageUploadDocumentAction.md index 8aac5493..1a2d1344 100644 --- a/docs/API_docs/constructors/sendMessageUploadDocumentAction.md +++ b/docs/API_docs/constructors/sendMessageUploadDocumentAction.md @@ -26,6 +26,13 @@ User uploads a document $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageUploadDocumentAction_17.md b/docs/API_docs/constructors/sendMessageUploadDocumentAction_17.md index 679ef72b..e3a367d2 100644 --- a/docs/API_docs/constructors/sendMessageUploadDocumentAction_17.md +++ b/docs/API_docs/constructors/sendMessageUploadDocumentAction_17.md @@ -25,6 +25,13 @@ User uploads a document $sendMessageUploadDocumentAction_17 = ['_' => 'sendMessageUploadDocumentAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageUploadPhotoAction.md b/docs/API_docs/constructors/sendMessageUploadPhotoAction.md index 43f979b4..cdb5153f 100644 --- a/docs/API_docs/constructors/sendMessageUploadPhotoAction.md +++ b/docs/API_docs/constructors/sendMessageUploadPhotoAction.md @@ -26,6 +26,13 @@ User uploads a photo $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageUploadPhotoAction_17.md b/docs/API_docs/constructors/sendMessageUploadPhotoAction_17.md index d4142c86..20cbfd95 100644 --- a/docs/API_docs/constructors/sendMessageUploadPhotoAction_17.md +++ b/docs/API_docs/constructors/sendMessageUploadPhotoAction_17.md @@ -25,6 +25,13 @@ User uploads a photo $sendMessageUploadPhotoAction_17 = ['_' => 'sendMessageUploadPhotoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageUploadRoundAction.md b/docs/API_docs/constructors/sendMessageUploadRoundAction.md index 50ad0c37..2cfcfc17 100644 --- a/docs/API_docs/constructors/sendMessageUploadRoundAction.md +++ b/docs/API_docs/constructors/sendMessageUploadRoundAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadRoundAction attributes, type and example $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadRoundAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageUploadVideoAction.md b/docs/API_docs/constructors/sendMessageUploadVideoAction.md index d1652595..be0e0b2a 100644 --- a/docs/API_docs/constructors/sendMessageUploadVideoAction.md +++ b/docs/API_docs/constructors/sendMessageUploadVideoAction.md @@ -26,6 +26,13 @@ User uploads a video $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/sendMessageUploadVideoAction_17.md b/docs/API_docs/constructors/sendMessageUploadVideoAction_17.md index 511452d7..a4df5136 100644 --- a/docs/API_docs/constructors/sendMessageUploadVideoAction_17.md +++ b/docs/API_docs/constructors/sendMessageUploadVideoAction_17.md @@ -25,6 +25,13 @@ User uploads a video $sendMessageUploadVideoAction_17 = ['_' => 'sendMessageUploadVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/server_DH_inner_data.md b/docs/API_docs/constructors/server_DH_inner_data.md index 45715e9e..48ee3b47 100644 --- a/docs/API_docs/constructors/server_DH_inner_data.md +++ b/docs/API_docs/constructors/server_DH_inner_data.md @@ -29,6 +29,13 @@ 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' => string, 'g_a' => string, 'server_time' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"server_DH_inner_data","nonce":"int128","server_nonce":"int128","g":"int","dh_prime":"string","g_a":"string","server_time":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/server_DH_params_fail.md b/docs/API_docs/constructors/server_DH_params_fail.md index 5540efcd..69df7594 100644 --- a/docs/API_docs/constructors/server_DH_params_fail.md +++ b/docs/API_docs/constructors/server_DH_params_fail.md @@ -26,6 +26,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"server_DH_params_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash":"int128"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/server_DH_params_ok.md b/docs/API_docs/constructors/server_DH_params_ok.md index cc60418b..724e78f0 100644 --- a/docs/API_docs/constructors/server_DH_params_ok.md +++ b/docs/API_docs/constructors/server_DH_params_ok.md @@ -26,6 +26,13 @@ description: server_DH_params_ok attributes, type and example $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"server_DH_params_ok","nonce":"int128","server_nonce":"int128","encrypted_answer":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/shippingOption.md b/docs/API_docs/constructors/shippingOption.md index be609c8f..cc20da56 100644 --- a/docs/API_docs/constructors/shippingOption.md +++ b/docs/API_docs/constructors/shippingOption.md @@ -26,6 +26,13 @@ description: shippingOption attributes, type and example $shippingOption = ['_' => 'shippingOption', 'id' => string, 'title' => string, 'prices' => [LabeledPrice], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"shippingOption","id":"string","title":"string","prices":["LabeledPrice"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/simpleDataBlock.md b/docs/API_docs/constructors/simpleDataBlock.md index 41be7a28..f8961950 100644 --- a/docs/API_docs/constructors/simpleDataBlock.md +++ b/docs/API_docs/constructors/simpleDataBlock.md @@ -24,6 +24,13 @@ description: simpleDataBlock attributes, type and example $simpleDataBlock = ['_' => 'simpleDataBlock', 'raw_data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"simpleDataBlock","raw_data":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/stickerPack.md b/docs/API_docs/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/docs/API_docs/constructors/stickerPack.md +++ b/docs/API_docs/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/stickerSet.md b/docs/API_docs/constructors/stickerSet.md index 183cd048..20964d59 100644 --- a/docs/API_docs/constructors/stickerSet.md +++ b/docs/API_docs/constructors/stickerSet.md @@ -33,6 +33,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","installed":"Bool","archived":"Bool","official":"Bool","masks":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/stickerSetCovered.md b/docs/API_docs/constructors/stickerSetCovered.md index db800fff..3421f170 100644 --- a/docs/API_docs/constructors/stickerSetCovered.md +++ b/docs/API_docs/constructors/stickerSetCovered.md @@ -25,6 +25,13 @@ description: stickerSetCovered attributes, type and example $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSetCovered","set":"StickerSet","cover":"Document"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/stickerSetMultiCovered.md b/docs/API_docs/constructors/stickerSetMultiCovered.md index 78ed7ea0..c71c0503 100644 --- a/docs/API_docs/constructors/stickerSetMultiCovered.md +++ b/docs/API_docs/constructors/stickerSetMultiCovered.md @@ -25,6 +25,13 @@ description: stickerSetMultiCovered attributes, type and example $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSetMultiCovered","set":"StickerSet","covers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/storage_fileGif.md b/docs/API_docs/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/docs/API_docs/constructors/storage_fileGif.md +++ b/docs/API_docs/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/storage_fileJpeg.md b/docs/API_docs/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/docs/API_docs/constructors/storage_fileJpeg.md +++ b/docs/API_docs/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/storage_fileMov.md b/docs/API_docs/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/docs/API_docs/constructors/storage_fileMov.md +++ b/docs/API_docs/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/storage_fileMp3.md b/docs/API_docs/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/docs/API_docs/constructors/storage_fileMp3.md +++ b/docs/API_docs/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/storage_fileMp4.md b/docs/API_docs/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/docs/API_docs/constructors/storage_fileMp4.md +++ b/docs/API_docs/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/storage_filePartial.md b/docs/API_docs/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/docs/API_docs/constructors/storage_filePartial.md +++ b/docs/API_docs/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/storage_filePdf.md b/docs/API_docs/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/docs/API_docs/constructors/storage_filePdf.md +++ b/docs/API_docs/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/storage_filePng.md b/docs/API_docs/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/docs/API_docs/constructors/storage_filePng.md +++ b/docs/API_docs/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/storage_fileUnknown.md b/docs/API_docs/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/docs/API_docs/constructors/storage_fileUnknown.md +++ b/docs/API_docs/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/storage_fileWebp.md b/docs/API_docs/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/docs/API_docs/constructors/storage_fileWebp.md +++ b/docs/API_docs/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/textBold.md b/docs/API_docs/constructors/textBold.md index 5ecdceee..e701f64a 100644 --- a/docs/API_docs/constructors/textBold.md +++ b/docs/API_docs/constructors/textBold.md @@ -24,6 +24,13 @@ description: textBold attributes, type and example $textBold = ['_' => 'textBold', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textBold","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/textConcat.md b/docs/API_docs/constructors/textConcat.md index a32a7403..4cb1d8b4 100644 --- a/docs/API_docs/constructors/textConcat.md +++ b/docs/API_docs/constructors/textConcat.md @@ -24,6 +24,13 @@ description: textConcat attributes, type and example $textConcat = ['_' => 'textConcat', 'texts' => [RichText], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textConcat","texts":["RichText"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/textEmail.md b/docs/API_docs/constructors/textEmail.md index 666b9708..269829ac 100644 --- a/docs/API_docs/constructors/textEmail.md +++ b/docs/API_docs/constructors/textEmail.md @@ -25,6 +25,13 @@ description: textEmail attributes, type and example $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textEmail","text":"RichText","email":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/textEmpty.md b/docs/API_docs/constructors/textEmpty.md index f583a5ad..9e0b229a 100644 --- a/docs/API_docs/constructors/textEmpty.md +++ b/docs/API_docs/constructors/textEmpty.md @@ -19,6 +19,13 @@ description: textEmpty attributes, type and example $textEmpty = ['_' => 'textEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/textFixed.md b/docs/API_docs/constructors/textFixed.md index 44c06b65..892359ad 100644 --- a/docs/API_docs/constructors/textFixed.md +++ b/docs/API_docs/constructors/textFixed.md @@ -24,6 +24,13 @@ description: textFixed attributes, type and example $textFixed = ['_' => 'textFixed', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textFixed","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/textItalic.md b/docs/API_docs/constructors/textItalic.md index 738aa112..d8911436 100644 --- a/docs/API_docs/constructors/textItalic.md +++ b/docs/API_docs/constructors/textItalic.md @@ -24,6 +24,13 @@ description: textItalic attributes, type and example $textItalic = ['_' => 'textItalic', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textItalic","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/textPlain.md b/docs/API_docs/constructors/textPlain.md index 30d8e9e7..9a4a04f2 100644 --- a/docs/API_docs/constructors/textPlain.md +++ b/docs/API_docs/constructors/textPlain.md @@ -24,6 +24,13 @@ description: textPlain attributes, type and example $textPlain = ['_' => 'textPlain', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textPlain","text":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/textStrike.md b/docs/API_docs/constructors/textStrike.md index c8726973..5fcf7345 100644 --- a/docs/API_docs/constructors/textStrike.md +++ b/docs/API_docs/constructors/textStrike.md @@ -24,6 +24,13 @@ description: textStrike attributes, type and example $textStrike = ['_' => 'textStrike', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textStrike","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/textUnderline.md b/docs/API_docs/constructors/textUnderline.md index 765c290a..6c9e19d1 100644 --- a/docs/API_docs/constructors/textUnderline.md +++ b/docs/API_docs/constructors/textUnderline.md @@ -24,6 +24,13 @@ description: textUnderline attributes, type and example $textUnderline = ['_' => 'textUnderline', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textUnderline","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/textUrl.md b/docs/API_docs/constructors/textUrl.md index 3552c6fd..f8df8e96 100644 --- a/docs/API_docs/constructors/textUrl.md +++ b/docs/API_docs/constructors/textUrl.md @@ -26,6 +26,13 @@ description: textUrl attributes, type and example $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => string, 'webpage_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textUrl","text":"RichText","url":"string","webpage_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/topPeer.md b/docs/API_docs/constructors/topPeer.md index 016a7857..25b4c2c3 100644 --- a/docs/API_docs/constructors/topPeer.md +++ b/docs/API_docs/constructors/topPeer.md @@ -25,6 +25,13 @@ description: topPeer attributes, type and example $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeer","peer":"Peer","rating":"double"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/topPeerCategoryBotsInline.md b/docs/API_docs/constructors/topPeerCategoryBotsInline.md index 30fa513f..e6dc94bf 100644 --- a/docs/API_docs/constructors/topPeerCategoryBotsInline.md +++ b/docs/API_docs/constructors/topPeerCategoryBotsInline.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsInline attributes, type and example $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsInline"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/topPeerCategoryBotsPM.md b/docs/API_docs/constructors/topPeerCategoryBotsPM.md index f87934ed..07fc07da 100644 --- a/docs/API_docs/constructors/topPeerCategoryBotsPM.md +++ b/docs/API_docs/constructors/topPeerCategoryBotsPM.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsPM attributes, type and example $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsPM"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/topPeerCategoryChannels.md b/docs/API_docs/constructors/topPeerCategoryChannels.md index 6b72af0a..61f1750a 100644 --- a/docs/API_docs/constructors/topPeerCategoryChannels.md +++ b/docs/API_docs/constructors/topPeerCategoryChannels.md @@ -19,6 +19,13 @@ description: topPeerCategoryChannels attributes, type and example $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryChannels"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/topPeerCategoryCorrespondents.md b/docs/API_docs/constructors/topPeerCategoryCorrespondents.md index c45dee85..735ff49e 100644 --- a/docs/API_docs/constructors/topPeerCategoryCorrespondents.md +++ b/docs/API_docs/constructors/topPeerCategoryCorrespondents.md @@ -19,6 +19,13 @@ description: topPeerCategoryCorrespondents attributes, type and example $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryCorrespondents"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/topPeerCategoryGroups.md b/docs/API_docs/constructors/topPeerCategoryGroups.md index 3f6c8fdf..4ae25a25 100644 --- a/docs/API_docs/constructors/topPeerCategoryGroups.md +++ b/docs/API_docs/constructors/topPeerCategoryGroups.md @@ -19,6 +19,13 @@ description: topPeerCategoryGroups attributes, type and example $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryGroups"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/topPeerCategoryPeers.md b/docs/API_docs/constructors/topPeerCategoryPeers.md index 8fd2021b..655db3fb 100644 --- a/docs/API_docs/constructors/topPeerCategoryPeers.md +++ b/docs/API_docs/constructors/topPeerCategoryPeers.md @@ -26,6 +26,13 @@ description: topPeerCategoryPeers attributes, type and example $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/topPeerCategoryPhoneCalls.md b/docs/API_docs/constructors/topPeerCategoryPhoneCalls.md index e10082fb..6c0bbcb0 100644 --- a/docs/API_docs/constructors/topPeerCategoryPhoneCalls.md +++ b/docs/API_docs/constructors/topPeerCategoryPhoneCalls.md @@ -19,6 +19,13 @@ description: topPeerCategoryPhoneCalls attributes, type and example $topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryPhoneCalls"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/true.md b/docs/API_docs/constructors/true.md index 1887f124..ceac169d 100644 --- a/docs/API_docs/constructors/true.md +++ b/docs/API_docs/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateBotCallbackQuery.md b/docs/API_docs/constructors/updateBotCallbackQuery.md index 9813adb2..8275bafc 100644 --- a/docs/API_docs/constructors/updateBotCallbackQuery.md +++ b/docs/API_docs/constructors/updateBotCallbackQuery.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","chat_instance":"long","data":"bytes","game_short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateBotInlineQuery.md b/docs/API_docs/constructors/updateBotInlineQuery.md index 5cc6956a..9002aa9b 100644 --- a/docs/API_docs/constructors/updateBotInlineQuery.md +++ b/docs/API_docs/constructors/updateBotInlineQuery.md @@ -28,6 +28,13 @@ description: updateBotInlineQuery attributes, type and example $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateBotInlineSend.md b/docs/API_docs/constructors/updateBotInlineSend.md index fb062eb3..816f950f 100644 --- a/docs/API_docs/constructors/updateBotInlineSend.md +++ b/docs/API_docs/constructors/updateBotInlineSend.md @@ -28,6 +28,13 @@ description: updateBotInlineSend attributes, type and example $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateBotPrecheckoutQuery.md b/docs/API_docs/constructors/updateBotPrecheckoutQuery.md index b9a43154..39c5ac38 100644 --- a/docs/API_docs/constructors/updateBotPrecheckoutQuery.md +++ b/docs/API_docs/constructors/updateBotPrecheckoutQuery.md @@ -30,6 +30,13 @@ description: updateBotPrecheckoutQuery attributes, type and example $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => bytes, 'info' => PaymentRequestedInfo, 'shipping_option_id' => string, 'currency' => string, 'total_amount' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotPrecheckoutQuery","query_id":"long","user_id":"int","payload":"bytes","info":"PaymentRequestedInfo","shipping_option_id":"string","currency":"string","total_amount":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateBotShippingQuery.md b/docs/API_docs/constructors/updateBotShippingQuery.md index 3e2af1f8..070149e1 100644 --- a/docs/API_docs/constructors/updateBotShippingQuery.md +++ b/docs/API_docs/constructors/updateBotShippingQuery.md @@ -27,6 +27,13 @@ description: updateBotShippingQuery attributes, type and example $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => bytes, 'shipping_address' => PostAddress, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotShippingQuery","query_id":"long","user_id":"int","payload":"bytes","shipping_address":"PostAddress"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateBotWebhookJSON.md b/docs/API_docs/constructors/updateBotWebhookJSON.md index 25f42036..d5785cac 100644 --- a/docs/API_docs/constructors/updateBotWebhookJSON.md +++ b/docs/API_docs/constructors/updateBotWebhookJSON.md @@ -24,6 +24,13 @@ description: updateBotWebhookJSON attributes, type and example $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotWebhookJSON","data":"DataJSON"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateBotWebhookJSONQuery.md b/docs/API_docs/constructors/updateBotWebhookJSONQuery.md index ef58ba54..ffcaaa4b 100644 --- a/docs/API_docs/constructors/updateBotWebhookJSONQuery.md +++ b/docs/API_docs/constructors/updateBotWebhookJSONQuery.md @@ -26,6 +26,13 @@ description: updateBotWebhookJSONQuery attributes, type and example $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotWebhookJSONQuery","query_id":"long","data":"DataJSON","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateChannel.md b/docs/API_docs/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/docs/API_docs/constructors/updateChannel.md +++ b/docs/API_docs/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateChannelMessageViews.md b/docs/API_docs/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/docs/API_docs/constructors/updateChannelMessageViews.md +++ b/docs/API_docs/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateChannelPinnedMessage.md b/docs/API_docs/constructors/updateChannelPinnedMessage.md index f6179fd7..cbdc70c7 100644 --- a/docs/API_docs/constructors/updateChannelPinnedMessage.md +++ b/docs/API_docs/constructors/updateChannelPinnedMessage.md @@ -25,6 +25,13 @@ description: updateChannelPinnedMessage attributes, type and example $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateChannelTooLong.md b/docs/API_docs/constructors/updateChannelTooLong.md index c6a74206..f0a327af 100644 --- a/docs/API_docs/constructors/updateChannelTooLong.md +++ b/docs/API_docs/constructors/updateChannelTooLong.md @@ -25,6 +25,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateChannelWebPage.md b/docs/API_docs/constructors/updateChannelWebPage.md index ba04b77e..e587d33e 100644 --- a/docs/API_docs/constructors/updateChannelWebPage.md +++ b/docs/API_docs/constructors/updateChannelWebPage.md @@ -27,6 +27,13 @@ description: updateChannelWebPage attributes, type and example $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelWebPage","channel_id":"int","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateChatAdmins.md b/docs/API_docs/constructors/updateChatAdmins.md index 36fb3614..bf391961 100644 --- a/docs/API_docs/constructors/updateChatAdmins.md +++ b/docs/API_docs/constructors/updateChatAdmins.md @@ -26,6 +26,13 @@ description: updateChatAdmins attributes, type and example $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateChatParticipantAdd.md b/docs/API_docs/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/docs/API_docs/constructors/updateChatParticipantAdd.md +++ b/docs/API_docs/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateChatParticipantAdmin.md b/docs/API_docs/constructors/updateChatParticipantAdmin.md index fbb2cdae..ba5bbc95 100644 --- a/docs/API_docs/constructors/updateChatParticipantAdmin.md +++ b/docs/API_docs/constructors/updateChatParticipantAdmin.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdmin attributes, type and example $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateChatParticipantDelete.md b/docs/API_docs/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/docs/API_docs/constructors/updateChatParticipantDelete.md +++ b/docs/API_docs/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateChatParticipants.md b/docs/API_docs/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/docs/API_docs/constructors/updateChatParticipants.md +++ b/docs/API_docs/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateChatUserTyping.md b/docs/API_docs/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/docs/API_docs/constructors/updateChatUserTyping.md +++ b/docs/API_docs/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateConfig.md b/docs/API_docs/constructors/updateConfig.md index 34692274..ed455bd6 100644 --- a/docs/API_docs/constructors/updateConfig.md +++ b/docs/API_docs/constructors/updateConfig.md @@ -19,6 +19,13 @@ description: updateConfig attributes, type and example $updateConfig = ['_' => 'updateConfig', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateConfig"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateContactLink.md b/docs/API_docs/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/docs/API_docs/constructors/updateContactLink.md +++ b/docs/API_docs/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateContactRegistered.md b/docs/API_docs/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/docs/API_docs/constructors/updateContactRegistered.md +++ b/docs/API_docs/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateDcOptions.md b/docs/API_docs/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/docs/API_docs/constructors/updateDcOptions.md +++ b/docs/API_docs/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateDeleteChannelMessages.md b/docs/API_docs/constructors/updateDeleteChannelMessages.md index 6f8c20d5..a078a880 100644 --- a/docs/API_docs/constructors/updateDeleteChannelMessages.md +++ b/docs/API_docs/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateDeleteMessages.md b/docs/API_docs/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/docs/API_docs/constructors/updateDeleteMessages.md +++ b/docs/API_docs/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateDialogPinned.md b/docs/API_docs/constructors/updateDialogPinned.md index 0851cb65..38eb9c2d 100644 --- a/docs/API_docs/constructors/updateDialogPinned.md +++ b/docs/API_docs/constructors/updateDialogPinned.md @@ -25,6 +25,13 @@ description: updateDialogPinned attributes, type and example $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDialogPinned","pinned":"Bool","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateDraftMessage.md b/docs/API_docs/constructors/updateDraftMessage.md index 3eb98097..5dedfd93 100644 --- a/docs/API_docs/constructors/updateDraftMessage.md +++ b/docs/API_docs/constructors/updateDraftMessage.md @@ -25,6 +25,13 @@ description: updateDraftMessage attributes, type and example $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateEditChannelMessage.md b/docs/API_docs/constructors/updateEditChannelMessage.md index 65a44b23..f2d2b288 100644 --- a/docs/API_docs/constructors/updateEditChannelMessage.md +++ b/docs/API_docs/constructors/updateEditChannelMessage.md @@ -26,6 +26,13 @@ description: updateEditChannelMessage attributes, type and example $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateEditMessage.md b/docs/API_docs/constructors/updateEditMessage.md index 7b681445..3e2f86a3 100644 --- a/docs/API_docs/constructors/updateEditMessage.md +++ b/docs/API_docs/constructors/updateEditMessage.md @@ -26,6 +26,13 @@ description: updateEditMessage attributes, type and example $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateEncryptedChatTyping.md b/docs/API_docs/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/docs/API_docs/constructors/updateEncryptedChatTyping.md +++ b/docs/API_docs/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateEncryptedMessagesRead.md b/docs/API_docs/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/docs/API_docs/constructors/updateEncryptedMessagesRead.md +++ b/docs/API_docs/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateEncryption.md b/docs/API_docs/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/docs/API_docs/constructors/updateEncryption.md +++ b/docs/API_docs/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateInlineBotCallbackQuery.md b/docs/API_docs/constructors/updateInlineBotCallbackQuery.md index c358c306..a0fbf330 100644 --- a/docs/API_docs/constructors/updateInlineBotCallbackQuery.md +++ b/docs/API_docs/constructors/updateInlineBotCallbackQuery.md @@ -29,6 +29,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","chat_instance":"long","data":"bytes","game_short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateLangPack.md b/docs/API_docs/constructors/updateLangPack.md index 1c69568b..1555b39b 100644 --- a/docs/API_docs/constructors/updateLangPack.md +++ b/docs/API_docs/constructors/updateLangPack.md @@ -24,6 +24,13 @@ description: updateLangPack attributes, type and example $updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateLangPack","difference":"LangPackDifference"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateLangPackTooLong.md b/docs/API_docs/constructors/updateLangPackTooLong.md index d3092101..cd1a51eb 100644 --- a/docs/API_docs/constructors/updateLangPackTooLong.md +++ b/docs/API_docs/constructors/updateLangPackTooLong.md @@ -19,6 +19,13 @@ description: updateLangPackTooLong attributes, type and example $updateLangPackTooLong = ['_' => 'updateLangPackTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateLangPackTooLong"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateMessageID.md b/docs/API_docs/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/docs/API_docs/constructors/updateMessageID.md +++ b/docs/API_docs/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateNewChannelMessage.md b/docs/API_docs/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/docs/API_docs/constructors/updateNewChannelMessage.md +++ b/docs/API_docs/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateNewEncryptedMessage.md b/docs/API_docs/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/docs/API_docs/constructors/updateNewEncryptedMessage.md +++ b/docs/API_docs/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateNewMessage.md b/docs/API_docs/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/docs/API_docs/constructors/updateNewMessage.md +++ b/docs/API_docs/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateNewStickerSet.md b/docs/API_docs/constructors/updateNewStickerSet.md index ccb4f17f..919c3ad8 100644 --- a/docs/API_docs/constructors/updateNewStickerSet.md +++ b/docs/API_docs/constructors/updateNewStickerSet.md @@ -24,6 +24,13 @@ description: updateNewStickerSet attributes, type and example $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateNotifySettings.md b/docs/API_docs/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/docs/API_docs/constructors/updateNotifySettings.md +++ b/docs/API_docs/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updatePhoneCall.md b/docs/API_docs/constructors/updatePhoneCall.md index 6bddbe82..f124d856 100644 --- a/docs/API_docs/constructors/updatePhoneCall.md +++ b/docs/API_docs/constructors/updatePhoneCall.md @@ -24,6 +24,13 @@ description: updatePhoneCall attributes, type and example $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePhoneCall","phone_call":"PhoneCall"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updatePinnedDialogs.md b/docs/API_docs/constructors/updatePinnedDialogs.md index 1a62c188..cca37904 100644 --- a/docs/API_docs/constructors/updatePinnedDialogs.md +++ b/docs/API_docs/constructors/updatePinnedDialogs.md @@ -24,6 +24,13 @@ description: updatePinnedDialogs attributes, type and example $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePinnedDialogs","order":["Peer"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updatePrivacy.md b/docs/API_docs/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/docs/API_docs/constructors/updatePrivacy.md +++ b/docs/API_docs/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updatePtsChanged.md b/docs/API_docs/constructors/updatePtsChanged.md index d8103452..bc4c62dd 100644 --- a/docs/API_docs/constructors/updatePtsChanged.md +++ b/docs/API_docs/constructors/updatePtsChanged.md @@ -19,6 +19,13 @@ description: updatePtsChanged attributes, type and example $updatePtsChanged = ['_' => 'updatePtsChanged', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePtsChanged"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateReadChannelInbox.md b/docs/API_docs/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/docs/API_docs/constructors/updateReadChannelInbox.md +++ b/docs/API_docs/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateReadChannelOutbox.md b/docs/API_docs/constructors/updateReadChannelOutbox.md index 162db1ec..5e1ce23d 100644 --- a/docs/API_docs/constructors/updateReadChannelOutbox.md +++ b/docs/API_docs/constructors/updateReadChannelOutbox.md @@ -25,6 +25,13 @@ description: updateReadChannelOutbox attributes, type and example $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateReadFeaturedStickers.md b/docs/API_docs/constructors/updateReadFeaturedStickers.md index 2f548027..7b10baa4 100644 --- a/docs/API_docs/constructors/updateReadFeaturedStickers.md +++ b/docs/API_docs/constructors/updateReadFeaturedStickers.md @@ -19,6 +19,13 @@ description: updateReadFeaturedStickers attributes, type and example $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadFeaturedStickers"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateReadHistoryInbox.md b/docs/API_docs/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/docs/API_docs/constructors/updateReadHistoryInbox.md +++ b/docs/API_docs/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateReadHistoryOutbox.md b/docs/API_docs/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/docs/API_docs/constructors/updateReadHistoryOutbox.md +++ b/docs/API_docs/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateReadMessagesContents.md b/docs/API_docs/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/docs/API_docs/constructors/updateReadMessagesContents.md +++ b/docs/API_docs/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateRecentStickers.md b/docs/API_docs/constructors/updateRecentStickers.md index b773f5bd..4ac9a838 100644 --- a/docs/API_docs/constructors/updateRecentStickers.md +++ b/docs/API_docs/constructors/updateRecentStickers.md @@ -19,6 +19,13 @@ description: updateRecentStickers attributes, type and example $updateRecentStickers = ['_' => 'updateRecentStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateRecentStickers"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateSavedGifs.md b/docs/API_docs/constructors/updateSavedGifs.md index a52b7838..46dfb8a6 100644 --- a/docs/API_docs/constructors/updateSavedGifs.md +++ b/docs/API_docs/constructors/updateSavedGifs.md @@ -19,6 +19,13 @@ description: updateSavedGifs attributes, type and example $updateSavedGifs = ['_' => 'updateSavedGifs', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateSavedGifs"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateServiceNotification.md b/docs/API_docs/constructors/updateServiceNotification.md index 9e55804d..b8b75dcf 100644 --- a/docs/API_docs/constructors/updateServiceNotification.md +++ b/docs/API_docs/constructors/updateServiceNotification.md @@ -29,6 +29,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => string, 'message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","popup":"Bool","inbox_date":"int","type":"string","message":"string","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateShort.md b/docs/API_docs/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/docs/API_docs/constructors/updateShort.md +++ b/docs/API_docs/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateShortChatMessage.md b/docs/API_docs/constructors/updateShortChatMessage.md index 5bd6de08..ea43359c 100644 --- a/docs/API_docs/constructors/updateShortChatMessage.md +++ b/docs/API_docs/constructors/updateShortChatMessage.md @@ -38,6 +38,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateShortMessage.md b/docs/API_docs/constructors/updateShortMessage.md index 0c46fb50..1a9f106f 100644 --- a/docs/API_docs/constructors/updateShortMessage.md +++ b/docs/API_docs/constructors/updateShortMessage.md @@ -37,6 +37,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateShortSentMessage.md b/docs/API_docs/constructors/updateShortSentMessage.md index 2172b3a1..d67179f2 100644 --- a/docs/API_docs/constructors/updateShortSentMessage.md +++ b/docs/API_docs/constructors/updateShortSentMessage.md @@ -30,6 +30,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateStickerSets.md b/docs/API_docs/constructors/updateStickerSets.md index 0affa36f..69c53b51 100644 --- a/docs/API_docs/constructors/updateStickerSets.md +++ b/docs/API_docs/constructors/updateStickerSets.md @@ -19,6 +19,13 @@ description: updateStickerSets attributes, type and example $updateStickerSets = ['_' => 'updateStickerSets', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSets"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateStickerSetsOrder.md b/docs/API_docs/constructors/updateStickerSetsOrder.md index 4b7ad6af..809b82d6 100644 --- a/docs/API_docs/constructors/updateStickerSetsOrder.md +++ b/docs/API_docs/constructors/updateStickerSetsOrder.md @@ -25,6 +25,13 @@ description: updateStickerSetsOrder attributes, type and example $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSetsOrder","masks":"Bool","order":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateUserBlocked.md b/docs/API_docs/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/docs/API_docs/constructors/updateUserBlocked.md +++ b/docs/API_docs/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateUserName.md b/docs/API_docs/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/docs/API_docs/constructors/updateUserName.md +++ b/docs/API_docs/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateUserPhone.md b/docs/API_docs/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/docs/API_docs/constructors/updateUserPhone.md +++ b/docs/API_docs/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateUserPhoto.md b/docs/API_docs/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/docs/API_docs/constructors/updateUserPhoto.md +++ b/docs/API_docs/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateUserStatus.md b/docs/API_docs/constructors/updateUserStatus.md index fc4e9305..98b5bcd5 100644 --- a/docs/API_docs/constructors/updateUserStatus.md +++ b/docs/API_docs/constructors/updateUserStatus.md @@ -27,6 +27,13 @@ User went online/offline $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateUserTyping.md b/docs/API_docs/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/docs/API_docs/constructors/updateUserTyping.md +++ b/docs/API_docs/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updateWebPage.md b/docs/API_docs/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/docs/API_docs/constructors/updateWebPage.md +++ b/docs/API_docs/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updates.md b/docs/API_docs/constructors/updates.md index a4312cea..add1675e 100644 --- a/docs/API_docs/constructors/updates.md +++ b/docs/API_docs/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updatesCombined.md b/docs/API_docs/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/docs/API_docs/constructors/updatesCombined.md +++ b/docs/API_docs/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updatesTooLong.md b/docs/API_docs/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/docs/API_docs/constructors/updatesTooLong.md +++ b/docs/API_docs/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updates_channelDifference.md b/docs/API_docs/constructors/updates_channelDifference.md index c64c69b6..876e8d13 100644 --- a/docs/API_docs/constructors/updates_channelDifference.md +++ b/docs/API_docs/constructors/updates_channelDifference.md @@ -30,6 +30,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updates_channelDifferenceEmpty.md b/docs/API_docs/constructors/updates_channelDifferenceEmpty.md index 6e4d7bde..c596d24a 100644 --- a/docs/API_docs/constructors/updates_channelDifferenceEmpty.md +++ b/docs/API_docs/constructors/updates_channelDifferenceEmpty.md @@ -26,6 +26,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updates_channelDifferenceTooLong.md b/docs/API_docs/constructors/updates_channelDifferenceTooLong.md index 0e295673..464117f9 100644 --- a/docs/API_docs/constructors/updates_channelDifferenceTooLong.md +++ b/docs/API_docs/constructors/updates_channelDifferenceTooLong.md @@ -33,6 +33,13 @@ description: updates_channelDifferenceTooLong attributes, type and example $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceTooLong","final":"Bool","pts":"int","timeout":"int","top_message":"int","read_inbox_max_id":"int","read_outbox_max_id":"int","unread_count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updates_difference.md b/docs/API_docs/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/docs/API_docs/constructors/updates_difference.md +++ b/docs/API_docs/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updates_differenceEmpty.md b/docs/API_docs/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/docs/API_docs/constructors/updates_differenceEmpty.md +++ b/docs/API_docs/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updates_differenceSlice.md b/docs/API_docs/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/docs/API_docs/constructors/updates_differenceSlice.md +++ b/docs/API_docs/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updates_differenceTooLong.md b/docs/API_docs/constructors/updates_differenceTooLong.md index edef3aed..8530a319 100644 --- a/docs/API_docs/constructors/updates_differenceTooLong.md +++ b/docs/API_docs/constructors/updates_differenceTooLong.md @@ -24,6 +24,13 @@ description: updates_differenceTooLong attributes, type and example $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceTooLong","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/updates_state.md b/docs/API_docs/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/docs/API_docs/constructors/updates_state.md +++ b/docs/API_docs/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/upload_cdnFile.md b/docs/API_docs/constructors/upload_cdnFile.md index f21ab71f..56f32f29 100644 --- a/docs/API_docs/constructors/upload_cdnFile.md +++ b/docs/API_docs/constructors/upload_cdnFile.md @@ -24,6 +24,13 @@ description: upload_cdnFile attributes, type and example $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.cdnFile","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md b/docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md index 38c3ebea..f52a8231 100644 --- a/docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md +++ b/docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md @@ -24,6 +24,13 @@ description: upload_cdnFileReuploadNeeded attributes, type and example $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.cdnFileReuploadNeeded","request_token":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/upload_file.md b/docs/API_docs/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/docs/API_docs/constructors/upload_file.md +++ b/docs/API_docs/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/upload_fileCdnRedirect.md b/docs/API_docs/constructors/upload_fileCdnRedirect.md index 2a4f7e2f..7ff6fd34 100644 --- a/docs/API_docs/constructors/upload_fileCdnRedirect.md +++ b/docs/API_docs/constructors/upload_fileCdnRedirect.md @@ -27,6 +27,13 @@ description: upload_fileCdnRedirect attributes, type and example $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => bytes, 'encryption_key' => bytes, 'encryption_iv' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.fileCdnRedirect","dc_id":"int","file_token":"bytes","encryption_key":"bytes","encryption_iv":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/upload_webFile.md b/docs/API_docs/constructors/upload_webFile.md index 0d2aa36f..f1cbb377 100644 --- a/docs/API_docs/constructors/upload_webFile.md +++ b/docs/API_docs/constructors/upload_webFile.md @@ -28,6 +28,13 @@ description: upload_webFile attributes, type and example $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => string, 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.webFile","size":"int","mime_type":"string","file_type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/user.md b/docs/API_docs/constructors/user.md index 259a8531..1267168a 100644 --- a/docs/API_docs/constructors/user.md +++ b/docs/API_docs/constructors/user.md @@ -46,6 +46,13 @@ description: user attributes, type and example $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, '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, 'lang_code' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","self":"Bool","contact":"Bool","mutual_contact":"Bool","deleted":"Bool","bot":"Bool","bot_chat_history":"Bool","bot_nochats":"Bool","verified":"Bool","restricted":"Bool","min":"Bool","bot_inline_geo":"Bool","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","lang_code":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/userEmpty.md b/docs/API_docs/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/docs/API_docs/constructors/userEmpty.md +++ b/docs/API_docs/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/userFull.md b/docs/API_docs/constructors/userFull.md index 14266442..06988eb2 100644 --- a/docs/API_docs/constructors/userFull.md +++ b/docs/API_docs/constructors/userFull.md @@ -33,6 +33,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","blocked":"Bool","phone_calls_available":"Bool","phone_calls_private":"Bool","user":"User","about":"string","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","bot_info":"BotInfo","common_chats_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/userProfilePhoto.md b/docs/API_docs/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/docs/API_docs/constructors/userProfilePhoto.md +++ b/docs/API_docs/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/userProfilePhotoEmpty.md b/docs/API_docs/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/docs/API_docs/constructors/userProfilePhotoEmpty.md +++ b/docs/API_docs/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/userStatusEmpty.md b/docs/API_docs/constructors/userStatusEmpty.md index e0c5d925..44738d60 100644 --- a/docs/API_docs/constructors/userStatusEmpty.md +++ b/docs/API_docs/constructors/userStatusEmpty.md @@ -25,6 +25,13 @@ User status was newer changed $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/userStatusLastMonth.md b/docs/API_docs/constructors/userStatusLastMonth.md index f6d42c83..7515a356 100644 --- a/docs/API_docs/constructors/userStatusLastMonth.md +++ b/docs/API_docs/constructors/userStatusLastMonth.md @@ -25,6 +25,13 @@ User is offline, but was online last month $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/userStatusLastWeek.md b/docs/API_docs/constructors/userStatusLastWeek.md index c26f287a..94e26c31 100644 --- a/docs/API_docs/constructors/userStatusLastWeek.md +++ b/docs/API_docs/constructors/userStatusLastWeek.md @@ -25,6 +25,13 @@ User is offline, but was online last week $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/userStatusOffline.md b/docs/API_docs/constructors/userStatusOffline.md index 4c645505..510ee154 100644 --- a/docs/API_docs/constructors/userStatusOffline.md +++ b/docs/API_docs/constructors/userStatusOffline.md @@ -26,6 +26,13 @@ User is offline $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/userStatusOnline.md b/docs/API_docs/constructors/userStatusOnline.md index dce21ab0..b38015c9 100644 --- a/docs/API_docs/constructors/userStatusOnline.md +++ b/docs/API_docs/constructors/userStatusOnline.md @@ -26,6 +26,13 @@ User is online $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/userStatusRecently.md b/docs/API_docs/constructors/userStatusRecently.md index 4a9f2200..323edf63 100644 --- a/docs/API_docs/constructors/userStatusRecently.md +++ b/docs/API_docs/constructors/userStatusRecently.md @@ -25,6 +25,13 @@ User was online recently $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/wallPaper.md b/docs/API_docs/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/docs/API_docs/constructors/wallPaper.md +++ b/docs/API_docs/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/wallPaperSolid.md b/docs/API_docs/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/docs/API_docs/constructors/wallPaperSolid.md +++ b/docs/API_docs/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/webDocument.md b/docs/API_docs/constructors/webDocument.md index 285e58e4..fb6d743d 100644 --- a/docs/API_docs/constructors/webDocument.md +++ b/docs/API_docs/constructors/webDocument.md @@ -29,6 +29,13 @@ description: webDocument attributes, type and example $webDocument = ['_' => 'webDocument', 'url' => string, 'access_hash' => long, 'size' => int, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webDocument","url":"string","access_hash":"long","size":"int","mime_type":"string","attributes":["DocumentAttribute"],"dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/webPage.md b/docs/API_docs/constructors/webPage.md index df6ef10c..f73f1d50 100644 --- a/docs/API_docs/constructors/webPage.md +++ b/docs/API_docs/constructors/webPage.md @@ -40,6 +40,13 @@ description: webPage attributes, type and example $webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'hash' => int, '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, 'cached_page' => Page, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPage","id":"long","url":"string","display_url":"string","hash":"int","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","cached_page":"Page"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/webPageEmpty.md b/docs/API_docs/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/docs/API_docs/constructors/webPageEmpty.md +++ b/docs/API_docs/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/webPageNotModified.md b/docs/API_docs/constructors/webPageNotModified.md index baacbb3f..1d9f9b84 100644 --- a/docs/API_docs/constructors/webPageNotModified.md +++ b/docs/API_docs/constructors/webPageNotModified.md @@ -19,6 +19,13 @@ description: webPageNotModified attributes, type and example $webPageNotModified = ['_' => 'webPageNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageNotModified"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/constructors/webPagePending.md b/docs/API_docs/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/docs/API_docs/constructors/webPagePending.md +++ b/docs/API_docs/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/API_docs/methods/account_changePhone.md b/docs/API_docs/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/docs/API_docs/methods/account_changePhone.md +++ b/docs/API_docs/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_checkUsername.md b/docs/API_docs/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/docs/API_docs/methods/account_checkUsername.md +++ b/docs/API_docs/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_confirmPhone.md b/docs/API_docs/methods/account_confirmPhone.md index 0b8437dd..6ce6e811 100644 --- a/docs/API_docs/methods/account_confirmPhone.md +++ b/docs/API_docs/methods/account_confirmPhone.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.confirmPhone +* params - {"phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.confirmPhone` + +Parameters: + +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_deleteAccount.md b/docs/API_docs/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/docs/API_docs/methods/account_deleteAccount.md +++ b/docs/API_docs/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_getAccountTTL.md b/docs/API_docs/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/docs/API_docs/methods/account_getAccountTTL.md +++ b/docs/API_docs/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/account_getAuthorizations.md b/docs/API_docs/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/docs/API_docs/methods/account_getAuthorizations.md +++ b/docs/API_docs/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/account_getNotifySettings.md b/docs/API_docs/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/docs/API_docs/methods/account_getNotifySettings.md +++ b/docs/API_docs/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_getPassword.md b/docs/API_docs/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/docs/API_docs/methods/account_getPassword.md +++ b/docs/API_docs/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/account_getPasswordSettings.md b/docs/API_docs/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/docs/API_docs/methods/account_getPasswordSettings.md +++ b/docs/API_docs/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_getPrivacy.md b/docs/API_docs/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/docs/API_docs/methods/account_getPrivacy.md +++ b/docs/API_docs/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_getTmpPassword.md b/docs/API_docs/methods/account_getTmpPassword.md index c63dea5c..96aa50b2 100644 --- a/docs/API_docs/methods/account_getTmpPassword.md +++ b/docs/API_docs/methods/account_getTmpPassword.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => bytes, 'period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getTmpPassword +* params - {"password_hash":"bytes","period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getTmpPassword` + +Parameters: + +password_hash - Json encoded bytes +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_getWallPapers.md b/docs/API_docs/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/docs/API_docs/methods/account_getWallPapers.md +++ b/docs/API_docs/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/account_registerDevice.md b/docs/API_docs/methods/account_registerDevice.md index 07381be6..fa4aae85 100644 --- a/docs/API_docs/methods/account_registerDevice.md +++ b/docs/API_docs/methods/account_registerDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_reportPeer.md b/docs/API_docs/methods/account_reportPeer.md index 019e88a5..08c8d0d5 100644 --- a/docs/API_docs/methods/account_reportPeer.md +++ b/docs/API_docs/methods/account_reportPeer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.reportPeer +* params - {"peer":"InputPeer","reason":"ReportReason"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.reportPeer` + +Parameters: + +peer - Json encoded InputPeer +reason - Json encoded ReportReason + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_resetAuthorization.md b/docs/API_docs/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/docs/API_docs/methods/account_resetAuthorization.md +++ b/docs/API_docs/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_resetNotifySettings.md b/docs/API_docs/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/docs/API_docs/methods/account_resetNotifySettings.md +++ b/docs/API_docs/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/account_sendChangePhoneCode.md b/docs/API_docs/methods/account_sendChangePhoneCode.md index 83cfe3e2..1c4c0ca7 100644 --- a/docs/API_docs/methods/account_sendChangePhoneCode.md +++ b/docs/API_docs/methods/account_sendChangePhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_sendConfirmPhoneCode.md b/docs/API_docs/methods/account_sendConfirmPhoneCode.md index 8d28787e..4b4b6655 100644 --- a/docs/API_docs/methods/account_sendConfirmPhoneCode.md +++ b/docs/API_docs/methods/account_sendConfirmPhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendConfirmPhoneCode +* params - {"allow_flashcall":"Bool","hash":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendConfirmPhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +hash - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_setAccountTTL.md b/docs/API_docs/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/docs/API_docs/methods/account_setAccountTTL.md +++ b/docs/API_docs/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_setPrivacy.md b/docs/API_docs/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/docs/API_docs/methods/account_setPrivacy.md +++ b/docs/API_docs/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_unregisterDevice.md b/docs/API_docs/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/docs/API_docs/methods/account_unregisterDevice.md +++ b/docs/API_docs/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_updateDeviceLocked.md b/docs/API_docs/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/docs/API_docs/methods/account_updateDeviceLocked.md +++ b/docs/API_docs/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_updateNotifySettings.md b/docs/API_docs/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/docs/API_docs/methods/account_updateNotifySettings.md +++ b/docs/API_docs/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_updatePasswordSettings.md b/docs/API_docs/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/docs/API_docs/methods/account_updatePasswordSettings.md +++ b/docs/API_docs/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_updateProfile.md b/docs/API_docs/methods/account_updateProfile.md index e12a2f1c..10ab8f0c 100644 --- a/docs/API_docs/methods/account_updateProfile.md +++ b/docs/API_docs/methods/account_updateProfile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_updateStatus.md b/docs/API_docs/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/docs/API_docs/methods/account_updateStatus.md +++ b/docs/API_docs/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/account_updateUsername.md b/docs/API_docs/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/docs/API_docs/methods/account_updateUsername.md +++ b/docs/API_docs/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_bindTempAuthKey.md b/docs/API_docs/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/docs/API_docs/methods/auth_bindTempAuthKey.md +++ b/docs/API_docs/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_cancelCode.md b/docs/API_docs/methods/auth_cancelCode.md index 73a8c55b..05aae0cf 100644 --- a/docs/API_docs/methods/auth_cancelCode.md +++ b/docs/API_docs/methods/auth_cancelCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.cancelCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.cancelCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_checkPassword.md b/docs/API_docs/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/docs/API_docs/methods/auth_checkPassword.md +++ b/docs/API_docs/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_checkPhone.md b/docs/API_docs/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/docs/API_docs/methods/auth_checkPhone.md +++ b/docs/API_docs/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_dropTempAuthKeys.md b/docs/API_docs/methods/auth_dropTempAuthKeys.md index 91d04065..22e17d37 100644 --- a/docs/API_docs/methods/auth_dropTempAuthKeys.md +++ b/docs/API_docs/methods/auth_dropTempAuthKeys.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.dropTempAuthKeys +* params - {"except_auth_keys":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.dropTempAuthKeys` + +Parameters: + +except_auth_keys - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_exportAuthorization.md b/docs/API_docs/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/docs/API_docs/methods/auth_exportAuthorization.md +++ b/docs/API_docs/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_importAuthorization.md b/docs/API_docs/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/docs/API_docs/methods/auth_importAuthorization.md +++ b/docs/API_docs/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_importBotAuthorization.md b/docs/API_docs/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/docs/API_docs/methods/auth_importBotAuthorization.md +++ b/docs/API_docs/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_logOut.md b/docs/API_docs/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/docs/API_docs/methods/auth_logOut.md +++ b/docs/API_docs/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/auth_recoverPassword.md b/docs/API_docs/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/docs/API_docs/methods/auth_recoverPassword.md +++ b/docs/API_docs/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_requestPasswordRecovery.md b/docs/API_docs/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/docs/API_docs/methods/auth_requestPasswordRecovery.md +++ b/docs/API_docs/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/auth_resendCode.md b/docs/API_docs/methods/auth_resendCode.md index 6ba623cf..aaea73a0 100644 --- a/docs/API_docs/methods/auth_resendCode.md +++ b/docs/API_docs/methods/auth_resendCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resendCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resendCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_resetAuthorizations.md b/docs/API_docs/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/docs/API_docs/methods/auth_resetAuthorizations.md +++ b/docs/API_docs/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/auth_sendCode.md b/docs/API_docs/methods/auth_sendCode.md index 423da558..c6e4d8aa 100644 --- a/docs/API_docs/methods/auth_sendCode.md +++ b/docs/API_docs/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool +api_id - Json encoded int +api_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_sendInvites.md b/docs/API_docs/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/docs/API_docs/methods/auth_sendInvites.md +++ b/docs/API_docs/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_signIn.md b/docs/API_docs/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/docs/API_docs/methods/auth_signIn.md +++ b/docs/API_docs/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/auth_signUp.md b/docs/API_docs/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/docs/API_docs/methods/auth_signUp.md +++ b/docs/API_docs/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/bots_answerWebhookJSONQuery.md b/docs/API_docs/methods/bots_answerWebhookJSONQuery.md index 539e060d..39582760 100644 --- a/docs/API_docs/methods/bots_answerWebhookJSONQuery.md +++ b/docs/API_docs/methods/bots_answerWebhookJSONQuery.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->bots->answerWebhookJSONQuery(['query_id' => long, 'data' => DataJSON, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - bots.answerWebhookJSONQuery +* params - {"query_id":"long","data":"DataJSON"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/bots.answerWebhookJSONQuery` + +Parameters: + +query_id - Json encoded long +data - Json encoded DataJSON + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/bots_sendCustomRequest.md b/docs/API_docs/methods/bots_sendCustomRequest.md index ea74fcfd..5ccab83b 100644 --- a/docs/API_docs/methods/bots_sendCustomRequest.md +++ b/docs/API_docs/methods/bots_sendCustomRequest.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => string, 'params' => DataJSON, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - bots.sendCustomRequest +* params - {"custom_method":"string","params":"DataJSON"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/bots.sendCustomRequest` + +Parameters: + +custom_method - Json encoded string +params - Json encoded DataJSON + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_checkUsername.md b/docs/API_docs/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/docs/API_docs/methods/channels_checkUsername.md +++ b/docs/API_docs/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_createChannel.md b/docs/API_docs/methods/channels_createChannel.md index a4819767..853ca900 100644 --- a/docs/API_docs/methods/channels_createChannel.md +++ b/docs/API_docs/methods/channels_createChannel.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +broadcast - Json encoded Bool +megagroup - Json encoded Bool +title - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_deleteChannel.md b/docs/API_docs/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/docs/API_docs/methods/channels_deleteChannel.md +++ b/docs/API_docs/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_deleteMessages.md b/docs/API_docs/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/docs/API_docs/methods/channels_deleteMessages.md +++ b/docs/API_docs/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_deleteUserHistory.md b/docs/API_docs/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/docs/API_docs/methods/channels_deleteUserHistory.md +++ b/docs/API_docs/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_editAbout.md b/docs/API_docs/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/docs/API_docs/methods/channels_editAbout.md +++ b/docs/API_docs/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_editAdmin.md b/docs/API_docs/methods/channels_editAdmin.md index 48cbede2..17895948 100644 --- a/docs/API_docs/methods/channels_editAdmin.md +++ b/docs/API_docs/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'admin_rights' => ChannelAdminRights, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","admin_rights":"ChannelAdminRights"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +admin_rights - Json encoded ChannelAdminRights + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_editBanned.md b/docs/API_docs/methods/channels_editBanned.md index 44a65598..ef0bd424 100644 --- a/docs/API_docs/methods/channels_editBanned.md +++ b/docs/API_docs/methods/channels_editBanned.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editBanned(['channel' => InputChannel, 'user_id' => InputUser, 'banned_rights' => ChannelBannedRights, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editBanned +* params - {"channel":"InputChannel","user_id":"InputUser","banned_rights":"ChannelBannedRights"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editBanned` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +banned_rights - Json encoded ChannelBannedRights + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_editPhoto.md b/docs/API_docs/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/docs/API_docs/methods/channels_editPhoto.md +++ b/docs/API_docs/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_editTitle.md b/docs/API_docs/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/docs/API_docs/methods/channels_editTitle.md +++ b/docs/API_docs/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_exportInvite.md b/docs/API_docs/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/docs/API_docs/methods/channels_exportInvite.md +++ b/docs/API_docs/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_exportMessageLink.md b/docs/API_docs/methods/channels_exportMessageLink.md index 644c5b1a..4d5ba2df 100644 --- a/docs/API_docs/methods/channels_exportMessageLink.md +++ b/docs/API_docs/methods/channels_exportMessageLink.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportMessageLink +* params - {"channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportMessageLink` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_getAdminLog.md b/docs/API_docs/methods/channels_getAdminLog.md index c13c6718..5fba97d1 100644 --- a/docs/API_docs/methods/channels_getAdminLog.md +++ b/docs/API_docs/methods/channels_getAdminLog.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => string, 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getAdminLog +* params - {"channel":"InputChannel","q":"string","events_filter":"ChannelAdminLogEventsFilter","admins":["InputUser"],"max_id":"long","min_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getAdminLog` + +Parameters: + +channel - Json encoded InputChannel +q - Json encoded string +events_filter - Json encoded ChannelAdminLogEventsFilter +admins - Json encoded array of InputUser +max_id - Json encoded long +min_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_getAdminedPublicChannels.md b/docs/API_docs/methods/channels_getAdminedPublicChannels.md index 31ed5556..85093ef6 100644 --- a/docs/API_docs/methods/channels_getAdminedPublicChannels.md +++ b/docs/API_docs/methods/channels_getAdminedPublicChannels.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getAdminedPublicChannels +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getAdminedPublicChannels` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/channels_getChannels.md b/docs/API_docs/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/docs/API_docs/methods/channels_getChannels.md +++ b/docs/API_docs/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_getFullChannel.md b/docs/API_docs/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/docs/API_docs/methods/channels_getFullChannel.md +++ b/docs/API_docs/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_getMessages.md b/docs/API_docs/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/docs/API_docs/methods/channels_getMessages.md +++ b/docs/API_docs/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_getParticipant.md b/docs/API_docs/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/docs/API_docs/methods/channels_getParticipant.md +++ b/docs/API_docs/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_getParticipants.md b/docs/API_docs/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/docs/API_docs/methods/channels_getParticipants.md +++ b/docs/API_docs/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_inviteToChannel.md b/docs/API_docs/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/docs/API_docs/methods/channels_inviteToChannel.md +++ b/docs/API_docs/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_joinChannel.md b/docs/API_docs/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/docs/API_docs/methods/channels_joinChannel.md +++ b/docs/API_docs/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_leaveChannel.md b/docs/API_docs/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/docs/API_docs/methods/channels_leaveChannel.md +++ b/docs/API_docs/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_readHistory.md b/docs/API_docs/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/docs/API_docs/methods/channels_readHistory.md +++ b/docs/API_docs/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_reportSpam.md b/docs/API_docs/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/docs/API_docs/methods/channels_reportSpam.md +++ b/docs/API_docs/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_toggleInvites.md b/docs/API_docs/methods/channels_toggleInvites.md index f537ada8..86569f90 100644 --- a/docs/API_docs/methods/channels_toggleInvites.md +++ b/docs/API_docs/methods/channels_toggleInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleInvites +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleInvites` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_toggleSignatures.md b/docs/API_docs/methods/channels_toggleSignatures.md index 327795f4..ea833e9a 100644 --- a/docs/API_docs/methods/channels_toggleSignatures.md +++ b/docs/API_docs/methods/channels_toggleSignatures.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleSignatures +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleSignatures` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_updatePinnedMessage.md b/docs/API_docs/methods/channels_updatePinnedMessage.md index 97327889..0fd2da72 100644 --- a/docs/API_docs/methods/channels_updatePinnedMessage.md +++ b/docs/API_docs/methods/channels_updatePinnedMessage.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updatePinnedMessage +* params - {"silent":"Bool","channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updatePinnedMessage` + +Parameters: + +silent - Json encoded Bool +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/channels_updateUsername.md b/docs/API_docs/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/docs/API_docs/methods/channels_updateUsername.md +++ b/docs/API_docs/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/contacts_block.md b/docs/API_docs/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/docs/API_docs/methods/contacts_block.md +++ b/docs/API_docs/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/contacts_deleteContact.md b/docs/API_docs/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/docs/API_docs/methods/contacts_deleteContact.md +++ b/docs/API_docs/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/contacts_deleteContacts.md b/docs/API_docs/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/docs/API_docs/methods/contacts_deleteContacts.md +++ b/docs/API_docs/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/contacts_exportCard.md b/docs/API_docs/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/docs/API_docs/methods/contacts_exportCard.md +++ b/docs/API_docs/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/contacts_getBlocked.md b/docs/API_docs/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/docs/API_docs/methods/contacts_getBlocked.md +++ b/docs/API_docs/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/contacts_getContacts.md b/docs/API_docs/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/docs/API_docs/methods/contacts_getContacts.md +++ b/docs/API_docs/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/contacts_getStatuses.md b/docs/API_docs/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/docs/API_docs/methods/contacts_getStatuses.md +++ b/docs/API_docs/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/contacts_getTopPeers.md b/docs/API_docs/methods/contacts_getTopPeers.md index 7391a274..0632c295 100644 --- a/docs/API_docs/methods/contacts_getTopPeers.md +++ b/docs/API_docs/methods/contacts_getTopPeers.md @@ -44,6 +44,38 @@ if (isset($number)) { // Login as a user $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getTopPeers +* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","phone_calls":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getTopPeers` + +Parameters: + +correspondents - Json encoded Bool +bots_pm - Json encoded Bool +bots_inline - Json encoded Bool +phone_calls - Json encoded Bool +groups - Json encoded Bool +channels - Json encoded Bool +offset - Json encoded int +limit - Json encoded int +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/contacts_importCard.md b/docs/API_docs/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/docs/API_docs/methods/contacts_importCard.md +++ b/docs/API_docs/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/contacts_importContacts.md b/docs/API_docs/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/docs/API_docs/methods/contacts_importContacts.md +++ b/docs/API_docs/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/contacts_resetTopPeerRating.md b/docs/API_docs/methods/contacts_resetTopPeerRating.md index 6d2b6397..adb3f83a 100644 --- a/docs/API_docs/methods/contacts_resetTopPeerRating.md +++ b/docs/API_docs/methods/contacts_resetTopPeerRating.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resetTopPeerRating +* params - {"category":"TopPeerCategory","peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resetTopPeerRating` + +Parameters: + +category - Json encoded TopPeerCategory +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/contacts_resolveUsername.md b/docs/API_docs/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/docs/API_docs/methods/contacts_resolveUsername.md +++ b/docs/API_docs/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/contacts_search.md b/docs/API_docs/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/docs/API_docs/methods/contacts_search.md +++ b/docs/API_docs/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/contacts_unblock.md b/docs/API_docs/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/docs/API_docs/methods/contacts_unblock.md +++ b/docs/API_docs/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/contest_saveDeveloperInfo.md b/docs/API_docs/methods/contest_saveDeveloperInfo.md index 4dac3459..8efc1475 100644 --- a/docs/API_docs/methods/contest_saveDeveloperInfo.md +++ b/docs/API_docs/methods/contest_saveDeveloperInfo.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => string, 'phone_number' => string, 'age' => int, 'city' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contest.saveDeveloperInfo +* params - {"vk_id":"int","name":"string","phone_number":"string","age":"int","city":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contest.saveDeveloperInfo` + +Parameters: + +vk_id - Json encoded int +name - Json encoded string +phone_number - Json encoded string +age - Json encoded int +city - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/destroy_auth_key.md b/docs/API_docs/methods/destroy_auth_key.md index 5f025647..f7f98570 100644 --- a/docs/API_docs/methods/destroy_auth_key.md +++ b/docs/API_docs/methods/destroy_auth_key.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $DestroyAuthKeyRes = $MadelineProto->destroy_auth_key(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - destroy_auth_key +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/destroy_auth_key` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/destroy_session.md b/docs/API_docs/methods/destroy_session.md index 86dcd5fe..6475b575 100644 --- a/docs/API_docs/methods/destroy_session.md +++ b/docs/API_docs/methods/destroy_session.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $DestroySessionRes = $MadelineProto->destroy_session(['session_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - destroy_session +* params - {"session_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/destroy_session` + +Parameters: + +session_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/get_future_salts.md b/docs/API_docs/methods/get_future_salts.md index 5c35ffa0..ffc11909 100644 --- a/docs/API_docs/methods/get_future_salts.md +++ b/docs/API_docs/methods/get_future_salts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $FutureSalts = $MadelineProto->get_future_salts(['num' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - get_future_salts +* params - {"num":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/get_future_salts` + +Parameters: + +num - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/help_getAppChangelog.md b/docs/API_docs/methods/help_getAppChangelog.md index 1a2e43f6..d1ef32c4 100644 --- a/docs/API_docs/methods/help_getAppChangelog.md +++ b/docs/API_docs/methods/help_getAppChangelog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - {"prev_app_version":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + +prev_app_version - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/help_getAppUpdate.md b/docs/API_docs/methods/help_getAppUpdate.md index 8870072b..851fc06e 100644 --- a/docs/API_docs/methods/help_getAppUpdate.md +++ b/docs/API_docs/methods/help_getAppUpdate.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_AppUpdate = $MadelineProto->help->getAppUpdate(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/help_getCdnConfig.md b/docs/API_docs/methods/help_getCdnConfig.md index e2b17855..76f98928 100644 --- a/docs/API_docs/methods/help_getCdnConfig.md +++ b/docs/API_docs/methods/help_getCdnConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $CdnConfig = $MadelineProto->help->getCdnConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getCdnConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getCdnConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/help_getConfig.md b/docs/API_docs/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/docs/API_docs/methods/help_getConfig.md +++ b/docs/API_docs/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/help_getInviteText.md b/docs/API_docs/methods/help_getInviteText.md index 19fd0484..77e3acd1 100644 --- a/docs/API_docs/methods/help_getInviteText.md +++ b/docs/API_docs/methods/help_getInviteText.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_InviteText = $MadelineProto->help->getInviteText(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/help_getNearestDc.md b/docs/API_docs/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/docs/API_docs/methods/help_getNearestDc.md +++ b/docs/API_docs/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/help_getSupport.md b/docs/API_docs/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/docs/API_docs/methods/help_getSupport.md +++ b/docs/API_docs/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/help_getTermsOfService.md b/docs/API_docs/methods/help_getTermsOfService.md index e53dba71..14f1a976 100644 --- a/docs/API_docs/methods/help_getTermsOfService.md +++ b/docs/API_docs/methods/help_getTermsOfService.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_TermsOfService = $MadelineProto->help->getTermsOfService(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getTermsOfService +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getTermsOfService` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/help_saveAppLog.md b/docs/API_docs/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/docs/API_docs/methods/help_saveAppLog.md +++ b/docs/API_docs/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/help_setBotUpdatesStatus.md b/docs/API_docs/methods/help_setBotUpdatesStatus.md index e1f91e58..e9e6279e 100644 --- a/docs/API_docs/methods/help_setBotUpdatesStatus.md +++ b/docs/API_docs/methods/help_setBotUpdatesStatus.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.setBotUpdatesStatus +* params - {"pending_updates_count":"int","message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.setBotUpdatesStatus` + +Parameters: + +pending_updates_count - Json encoded int +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/initConnection.md b/docs/API_docs/methods/initConnection.md index c04522eb..685dc4db 100644 --- a/docs/API_docs/methods/initConnection.md +++ b/docs/API_docs/methods/initConnection.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'system_lang_code' => string, 'lang_pack' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","system_lang_code":"string","lang_pack":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +system_lang_code - Json encoded string +lang_pack - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/invokeAfterMsg.md b/docs/API_docs/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/docs/API_docs/methods/invokeAfterMsg.md +++ b/docs/API_docs/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/invokeAfterMsgs.md b/docs/API_docs/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/docs/API_docs/methods/invokeAfterMsgs.md +++ b/docs/API_docs/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/invokeWithLayer.md b/docs/API_docs/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/docs/API_docs/methods/invokeWithLayer.md +++ b/docs/API_docs/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/invokeWithoutUpdates.md b/docs/API_docs/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/docs/API_docs/methods/invokeWithoutUpdates.md +++ b/docs/API_docs/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/langpack_getDifference.md b/docs/API_docs/methods/langpack_getDifference.md index 4045272d..6187f88a 100644 --- a/docs/API_docs/methods/langpack_getDifference.md +++ b/docs/API_docs/methods/langpack_getDifference.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $LangPackDifference = $MadelineProto->langpack->getDifference(['from_version' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - langpack.getDifference +* params - {"from_version":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/langpack.getDifference` + +Parameters: + +from_version - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/langpack_getLangPack.md b/docs/API_docs/methods/langpack_getLangPack.md index 798554e7..16b0668d 100644 --- a/docs/API_docs/methods/langpack_getLangPack.md +++ b/docs/API_docs/methods/langpack_getLangPack.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $LangPackDifference = $MadelineProto->langpack->getLangPack(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - langpack.getLangPack +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/langpack.getLangPack` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/langpack_getLanguages.md b/docs/API_docs/methods/langpack_getLanguages.md index 3a37c325..12d07825 100644 --- a/docs/API_docs/methods/langpack_getLanguages.md +++ b/docs/API_docs/methods/langpack_getLanguages.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_LangPackLanguage = $MadelineProto->langpack->getLanguages(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - langpack.getLanguages +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/langpack.getLanguages` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/langpack_getStrings.md b/docs/API_docs/methods/langpack_getStrings.md index 32d33c9c..fa87c3c0 100644 --- a/docs/API_docs/methods/langpack_getStrings.md +++ b/docs/API_docs/methods/langpack_getStrings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Vector_of_LangPackString = $MadelineProto->langpack->getStrings(['lang_code' => string, 'keys' => [string], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - langpack.getStrings +* params - {"lang_code":"string","keys":["string"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/langpack.getStrings` + +Parameters: + +lang_code - Json encoded string +keys - Json encoded array of string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_acceptEncryption.md b/docs/API_docs/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/docs/API_docs/methods/messages_acceptEncryption.md +++ b/docs/API_docs/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_addChatUser.md b/docs/API_docs/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/docs/API_docs/methods/messages_addChatUser.md +++ b/docs/API_docs/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_checkChatInvite.md b/docs/API_docs/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/docs/API_docs/methods/messages_checkChatInvite.md +++ b/docs/API_docs/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_clearRecentStickers.md b/docs/API_docs/methods/messages_clearRecentStickers.md index f9a112f6..9e8a99a1 100644 --- a/docs/API_docs/methods/messages_clearRecentStickers.md +++ b/docs/API_docs/methods/messages_clearRecentStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.clearRecentStickers +* params - {"attached":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.clearRecentStickers` + +Parameters: + +attached - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_createChat.md b/docs/API_docs/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/docs/API_docs/methods/messages_createChat.md +++ b/docs/API_docs/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_deleteChatUser.md b/docs/API_docs/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/docs/API_docs/methods/messages_deleteChatUser.md +++ b/docs/API_docs/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_deleteHistory.md b/docs/API_docs/methods/messages_deleteHistory.md index 4a3c7e3f..4e5321c6 100644 --- a/docs/API_docs/methods/messages_deleteHistory.md +++ b/docs/API_docs/methods/messages_deleteHistory.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +just_clear - Json encoded Bool +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_deleteMessages.md b/docs/API_docs/methods/messages_deleteMessages.md index 4f25ff98..7e7b074a 100644 --- a/docs/API_docs/methods/messages_deleteMessages.md +++ b/docs/API_docs/methods/messages_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"revoke":"Bool","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +revoke - Json encoded Bool +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_discardEncryption.md b/docs/API_docs/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/docs/API_docs/methods/messages_discardEncryption.md +++ b/docs/API_docs/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_editChatAdmin.md b/docs/API_docs/methods/messages_editChatAdmin.md index 515c2ede..2ad6d72c 100644 --- a/docs/API_docs/methods/messages_editChatAdmin.md +++ b/docs/API_docs/methods/messages_editChatAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatAdmin +* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +is_admin - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_editChatPhoto.md b/docs/API_docs/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/docs/API_docs/methods/messages_editChatPhoto.md +++ b/docs/API_docs/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_editChatTitle.md b/docs/API_docs/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/docs/API_docs/methods/messages_editChatTitle.md +++ b/docs/API_docs/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_editInlineBotMessage.md b/docs/API_docs/methods/messages_editInlineBotMessage.md index 19405712..4daa439f 100644 --- a/docs/API_docs/methods/messages_editInlineBotMessage.md +++ b/docs/API_docs/methods/messages_editInlineBotMessage.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editInlineBotMessage +* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editInlineBotMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_editMessage.md b/docs/API_docs/methods/messages_editMessage.md index 05410c5d..d405e718 100644 --- a/docs/API_docs/methods/messages_editMessage.md +++ b/docs/API_docs/methods/messages_editMessage.md @@ -42,6 +42,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editMessage +* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_exportChatInvite.md b/docs/API_docs/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/docs/API_docs/methods/messages_exportChatInvite.md +++ b/docs/API_docs/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_forwardMessage.md b/docs/API_docs/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/docs/API_docs/methods/messages_forwardMessage.md +++ b/docs/API_docs/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_forwardMessages.md b/docs/API_docs/methods/messages_forwardMessages.md index 8a83a735..f72fb809 100644 --- a/docs/API_docs/methods/messages_forwardMessages.md +++ b/docs/API_docs/methods/messages_forwardMessages.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"silent":"Bool","background":"Bool","with_my_score":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +with_my_score - Json encoded Bool +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getAllChats.md b/docs/API_docs/methods/messages_getAllChats.md index b204aed1..2f34348d 100644 --- a/docs/API_docs/methods/messages_getAllChats.md +++ b/docs/API_docs/methods/messages_getAllChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllChats +* params - {"except_ids":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllChats` + +Parameters: + +except_ids - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getAllDrafts.md b/docs/API_docs/methods/messages_getAllDrafts.md index 97807321..6039321d 100644 --- a/docs/API_docs/methods/messages_getAllDrafts.md +++ b/docs/API_docs/methods/messages_getAllDrafts.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Updates = $MadelineProto->messages->getAllDrafts(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllDrafts +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllDrafts` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/messages_getAllStickers.md b/docs/API_docs/methods/messages_getAllStickers.md index bc49bdd6..b2f1eb71 100644 --- a/docs/API_docs/methods/messages_getAllStickers.md +++ b/docs/API_docs/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getArchivedStickers.md b/docs/API_docs/methods/messages_getArchivedStickers.md index 2ee3502c..a4abf13e 100644 --- a/docs/API_docs/methods/messages_getArchivedStickers.md +++ b/docs/API_docs/methods/messages_getArchivedStickers.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getArchivedStickers +* params - {"masks":"Bool","offset_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getArchivedStickers` + +Parameters: + +masks - Json encoded Bool +offset_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getAttachedStickers.md b/docs/API_docs/methods/messages_getAttachedStickers.md index b15b1801..0a2b8ff2 100644 --- a/docs/API_docs/methods/messages_getAttachedStickers.md +++ b/docs/API_docs/methods/messages_getAttachedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAttachedStickers +* params - {"media":"InputStickeredMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAttachedStickers` + +Parameters: + +media - Json encoded InputStickeredMedia + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getBotCallbackAnswer.md b/docs/API_docs/methods/messages_getBotCallbackAnswer.md index 90f6b875..e61ca36e 100644 --- a/docs/API_docs/methods/messages_getBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_getBotCallbackAnswer.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getBotCallbackAnswer +* params - {"game":"Bool","peer":"InputPeer","msg_id":"int","data":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getBotCallbackAnswer` + +Parameters: + +game - Json encoded Bool +peer - Json encoded InputPeer +msg_id - Json encoded int +data - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getChats.md b/docs/API_docs/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/docs/API_docs/methods/messages_getChats.md +++ b/docs/API_docs/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getCommonChats.md b/docs/API_docs/methods/messages_getCommonChats.md index dbc917fc..122fbb8d 100644 --- a/docs/API_docs/methods/messages_getCommonChats.md +++ b/docs/API_docs/methods/messages_getCommonChats.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getCommonChats +* params - {"user_id":"InputUser","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getCommonChats` + +Parameters: + +user_id - Json encoded InputUser +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getDhConfig.md b/docs/API_docs/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/docs/API_docs/methods/messages_getDhConfig.md +++ b/docs/API_docs/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getDialogs.md b/docs/API_docs/methods/messages_getDialogs.md index f5901eb6..e86176a7 100644 --- a/docs/API_docs/methods/messages_getDialogs.md +++ b/docs/API_docs/methods/messages_getDialogs.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"exclude_pinned":"Bool","offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +exclude_pinned - Json encoded Bool +offset_date - Json encoded int +offset_id - Json encoded int +offset_peer - Json encoded InputPeer +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getDocumentByHash.md b/docs/API_docs/methods/messages_getDocumentByHash.md index 2daac691..ca541c7e 100644 --- a/docs/API_docs/methods/messages_getDocumentByHash.md +++ b/docs/API_docs/methods/messages_getDocumentByHash.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDocumentByHash +* params - {"sha256":"bytes","size":"int","mime_type":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDocumentByHash` + +Parameters: + +sha256 - Json encoded bytes +size - Json encoded int +mime_type - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getFeaturedStickers.md b/docs/API_docs/methods/messages_getFeaturedStickers.md index 5c51f4be..3bab2043 100644 --- a/docs/API_docs/methods/messages_getFeaturedStickers.md +++ b/docs/API_docs/methods/messages_getFeaturedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFeaturedStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFeaturedStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getFullChat.md b/docs/API_docs/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/docs/API_docs/methods/messages_getFullChat.md +++ b/docs/API_docs/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getGameHighScores.md b/docs/API_docs/methods/messages_getGameHighScores.md index 8e3f69d8..07a25b7c 100644 --- a/docs/API_docs/methods/messages_getGameHighScores.md +++ b/docs/API_docs/methods/messages_getGameHighScores.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getGameHighScores +* params - {"peer":"InputPeer","id":"int","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getGameHighScores` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getHistory.md b/docs/API_docs/methods/messages_getHistory.md index 9d54dd86..b976c6d5 100644 --- a/docs/API_docs/methods/messages_getHistory.md +++ b/docs/API_docs/methods/messages_getHistory.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +offset_date - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getInlineBotResults.md b/docs/API_docs/methods/messages_getInlineBotResults.md index 0ad9e385..d3959eab 100644 --- a/docs/API_docs/methods/messages_getInlineBotResults.md +++ b/docs/API_docs/methods/messages_getInlineBotResults.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineBotResults +* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineBotResults` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +geo_point - Json encoded InputGeoPoint +query - Json encoded string +offset - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getInlineGameHighScores.md b/docs/API_docs/methods/messages_getInlineGameHighScores.md index 6811fba8..218bbc33 100644 --- a/docs/API_docs/methods/messages_getInlineGameHighScores.md +++ b/docs/API_docs/methods/messages_getInlineGameHighScores.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineGameHighScores +* params - {"id":"InputBotInlineMessageID","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineGameHighScores` + +Parameters: + +id - Json encoded InputBotInlineMessageID +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getMaskStickers.md b/docs/API_docs/methods/messages_getMaskStickers.md index 7aedd066..8d740e32 100644 --- a/docs/API_docs/methods/messages_getMaskStickers.md +++ b/docs/API_docs/methods/messages_getMaskStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMaskStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMaskStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getMessageEditData.md b/docs/API_docs/methods/messages_getMessageEditData.md index eb2ea4e3..732fdff5 100644 --- a/docs/API_docs/methods/messages_getMessageEditData.md +++ b/docs/API_docs/methods/messages_getMessageEditData.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessageEditData +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessageEditData` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getMessages.md b/docs/API_docs/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/docs/API_docs/methods/messages_getMessages.md +++ b/docs/API_docs/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getMessagesViews.md b/docs/API_docs/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/docs/API_docs/methods/messages_getMessagesViews.md +++ b/docs/API_docs/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getPeerDialogs.md b/docs/API_docs/methods/messages_getPeerDialogs.md index af44c1dd..bd191681 100644 --- a/docs/API_docs/methods/messages_getPeerDialogs.md +++ b/docs/API_docs/methods/messages_getPeerDialogs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerDialogs +* params - {"peers":["InputPeer"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerDialogs` + +Parameters: + +peers - Json encoded array of InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getPeerSettings.md b/docs/API_docs/methods/messages_getPeerSettings.md index 9a8817c0..b78406e9 100644 --- a/docs/API_docs/methods/messages_getPeerSettings.md +++ b/docs/API_docs/methods/messages_getPeerSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerSettings +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerSettings` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getPinnedDialogs.md b/docs/API_docs/methods/messages_getPinnedDialogs.md index 09499e6c..f3de7a28 100644 --- a/docs/API_docs/methods/messages_getPinnedDialogs.md +++ b/docs/API_docs/methods/messages_getPinnedDialogs.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPinnedDialogs +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPinnedDialogs` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/messages_getRecentStickers.md b/docs/API_docs/methods/messages_getRecentStickers.md index 98b76d5e..1e07747d 100644 --- a/docs/API_docs/methods/messages_getRecentStickers.md +++ b/docs/API_docs/methods/messages_getRecentStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getRecentStickers +* params - {"attached":"Bool","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getRecentStickers` + +Parameters: + +attached - Json encoded Bool +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getSavedGifs.md b/docs/API_docs/methods/messages_getSavedGifs.md index c528873b..a7a0cbd2 100644 --- a/docs/API_docs/methods/messages_getSavedGifs.md +++ b/docs/API_docs/methods/messages_getSavedGifs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getSavedGifs +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getSavedGifs` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getStickerSet.md b/docs/API_docs/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/docs/API_docs/methods/messages_getStickerSet.md +++ b/docs/API_docs/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getWebPage.md b/docs/API_docs/methods/messages_getWebPage.md index 10a92123..fd5ecd88 100644 --- a/docs/API_docs/methods/messages_getWebPage.md +++ b/docs/API_docs/methods/messages_getWebPage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $WebPage = $MadelineProto->messages->getWebPage(['url' => string, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPage +* params - {"url":"string","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPage` + +Parameters: + +url - Json encoded string +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_getWebPagePreview.md b/docs/API_docs/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/docs/API_docs/methods/messages_getWebPagePreview.md +++ b/docs/API_docs/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_hideReportSpam.md b/docs/API_docs/methods/messages_hideReportSpam.md index dbf882ee..9ddaa09c 100644 --- a/docs/API_docs/methods/messages_hideReportSpam.md +++ b/docs/API_docs/methods/messages_hideReportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.hideReportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.hideReportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_importChatInvite.md b/docs/API_docs/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/docs/API_docs/methods/messages_importChatInvite.md +++ b/docs/API_docs/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_installStickerSet.md b/docs/API_docs/methods/messages_installStickerSet.md index ad734572..6d1e701b 100644 --- a/docs/API_docs/methods/messages_installStickerSet.md +++ b/docs/API_docs/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","archived":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +archived - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_migrateChat.md b/docs/API_docs/methods/messages_migrateChat.md index eaa988a7..1d8e1ca5 100644 --- a/docs/API_docs/methods/messages_migrateChat.md +++ b/docs/API_docs/methods/messages_migrateChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.migrateChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.migrateChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_readEncryptedHistory.md b/docs/API_docs/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/docs/API_docs/methods/messages_readEncryptedHistory.md +++ b/docs/API_docs/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_readFeaturedStickers.md b/docs/API_docs/methods/messages_readFeaturedStickers.md index 0526f0b5..5fc7a340 100644 --- a/docs/API_docs/methods/messages_readFeaturedStickers.md +++ b/docs/API_docs/methods/messages_readFeaturedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readFeaturedStickers +* params - {"id":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readFeaturedStickers` + +Parameters: + +id - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_readHistory.md b/docs/API_docs/methods/messages_readHistory.md index c5ddb451..99ce0e57 100644 --- a/docs/API_docs/methods/messages_readHistory.md +++ b/docs/API_docs/methods/messages_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_readMessageContents.md b/docs/API_docs/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/docs/API_docs/methods/messages_readMessageContents.md +++ b/docs/API_docs/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_receivedMessages.md b/docs/API_docs/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/docs/API_docs/methods/messages_receivedMessages.md +++ b/docs/API_docs/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_receivedQueue.md b/docs/API_docs/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/docs/API_docs/methods/messages_receivedQueue.md +++ b/docs/API_docs/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_reorderPinnedDialogs.md b/docs/API_docs/methods/messages_reorderPinnedDialogs.md index 0eb7c736..151678b0 100644 --- a/docs/API_docs/methods/messages_reorderPinnedDialogs.md +++ b/docs/API_docs/methods/messages_reorderPinnedDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputPeer], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderPinnedDialogs +* params - {"force":"Bool","order":["InputPeer"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderPinnedDialogs` + +Parameters: + +force - Json encoded Bool +order - Json encoded array of InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_reorderStickerSets.md b/docs/API_docs/methods/messages_reorderStickerSets.md index 4cfc68ef..7ff0d995 100644 --- a/docs/API_docs/methods/messages_reorderStickerSets.md +++ b/docs/API_docs/methods/messages_reorderStickerSets.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderStickerSets +* params - {"masks":"Bool","order":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderStickerSets` + +Parameters: + +masks - Json encoded Bool +order - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_reportEncryptedSpam.md b/docs/API_docs/methods/messages_reportEncryptedSpam.md index a6b6023b..d726392b 100644 --- a/docs/API_docs/methods/messages_reportEncryptedSpam.md +++ b/docs/API_docs/methods/messages_reportEncryptedSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportEncryptedSpam(['peer' => InputEncryptedChat, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportEncryptedSpam +* params - {"peer":"InputEncryptedChat"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportEncryptedSpam` + +Parameters: + +peer - Json encoded InputEncryptedChat + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_reportSpam.md b/docs/API_docs/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/docs/API_docs/methods/messages_reportSpam.md +++ b/docs/API_docs/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_requestEncryption.md b/docs/API_docs/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/docs/API_docs/methods/messages_requestEncryption.md +++ b/docs/API_docs/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_saveDraft.md b/docs/API_docs/methods/messages_saveDraft.md index c28f8fd9..f683ea04 100644 --- a/docs/API_docs/methods/messages_saveDraft.md +++ b/docs/API_docs/methods/messages_saveDraft.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveDraft +* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveDraft` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_saveGif.md b/docs/API_docs/methods/messages_saveGif.md index 6a2269b5..c6a5e7ba 100644 --- a/docs/API_docs/methods/messages_saveGif.md +++ b/docs/API_docs/methods/messages_saveGif.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveGif +* params - {"id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveGif` + +Parameters: + +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_saveRecentSticker.md b/docs/API_docs/methods/messages_saveRecentSticker.md index 1acc5473..96f55049 100644 --- a/docs/API_docs/methods/messages_saveRecentSticker.md +++ b/docs/API_docs/methods/messages_saveRecentSticker.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveRecentSticker +* params - {"attached":"Bool","id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveRecentSticker` + +Parameters: + +attached - Json encoded Bool +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_search.md b/docs/API_docs/methods/messages_search.md index e3f19be9..1f169262 100644 --- a/docs/API_docs/methods/messages_search.md +++ b/docs/API_docs/methods/messages_search.md @@ -44,6 +44,38 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","from_id":"InputUser","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +from_id - Json encoded InputUser +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_searchGifs.md b/docs/API_docs/methods/messages_searchGifs.md index ca0934be..24658214 100644 --- a/docs/API_docs/methods/messages_searchGifs.md +++ b/docs/API_docs/methods/messages_searchGifs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGifs +* params - {"q":"string","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGifs` + +Parameters: + +q - Json encoded string +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_searchGlobal.md b/docs/API_docs/methods/messages_searchGlobal.md index 36f09366..0095015c 100644 --- a/docs/API_docs/methods/messages_searchGlobal.md +++ b/docs/API_docs/methods/messages_searchGlobal.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGlobal +* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGlobal` + +Parameters: + +q - Json encoded string +offset_date - Json encoded int +offset_peer - Json encoded InputPeer +offset_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_sendEncrypted.md b/docs/API_docs/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/docs/API_docs/methods/messages_sendEncrypted.md +++ b/docs/API_docs/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_sendEncryptedFile.md b/docs/API_docs/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/docs/API_docs/methods/messages_sendEncryptedFile.md +++ b/docs/API_docs/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_sendEncryptedService.md b/docs/API_docs/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/docs/API_docs/methods/messages_sendEncryptedService.md +++ b/docs/API_docs/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_sendInlineBotResult.md b/docs/API_docs/methods/messages_sendInlineBotResult.md index 42eee3c3..c747e54b 100644 --- a/docs/API_docs/methods/messages_sendInlineBotResult.md +++ b/docs/API_docs/methods/messages_sendInlineBotResult.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendInlineBotResult +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendInlineBotResult` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +query_id - Json encoded long +id - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_sendMedia.md b/docs/API_docs/methods/messages_sendMedia.md index 4f763d5e..05464ad5 100644 --- a/docs/API_docs/methods/messages_sendMedia.md +++ b/docs/API_docs/methods/messages_sendMedia.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_sendMessage.md b/docs/API_docs/methods/messages_sendMessage.md index b31fc6cc..6cc234c3 100644 --- a/docs/API_docs/methods/messages_sendMessage.md +++ b/docs/API_docs/methods/messages_sendMessage.md @@ -45,6 +45,30 @@ if (isset($number)) { // Login as a user $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], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"no_webpage":"Bool","silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_setBotCallbackAnswer.md b/docs/API_docs/methods/messages_setBotCallbackAnswer.md index 38a65f69..6356d86b 100644 --- a/docs/API_docs/methods/messages_setBotCallbackAnswer.md +++ b/docs/API_docs/methods/messages_setBotCallbackAnswer.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, 'cache_time' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotCallbackAnswer +* params - {"alert":"Bool","query_id":"long","message":"string","url":"string","cache_time":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotCallbackAnswer` + +Parameters: + +alert - Json encoded Bool +query_id - Json encoded long +message - Json encoded string +url - Json encoded string +cache_time - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_setBotPrecheckoutResults.md b/docs/API_docs/methods/messages_setBotPrecheckoutResults.md index 26d44b73..b9393981 100644 --- a/docs/API_docs/methods/messages_setBotPrecheckoutResults.md +++ b/docs/API_docs/methods/messages_setBotPrecheckoutResults.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotPrecheckoutResults +* params - {"success":"Bool","query_id":"long","error":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotPrecheckoutResults` + +Parameters: + +success - Json encoded Bool +query_id - Json encoded long +error - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_setBotShippingResults.md b/docs/API_docs/methods/messages_setBotShippingResults.md index b0115468..1ddd01b3 100644 --- a/docs/API_docs/methods/messages_setBotShippingResults.md +++ b/docs/API_docs/methods/messages_setBotShippingResults.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => string, 'shipping_options' => [ShippingOption], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotShippingResults +* params - {"query_id":"long","error":"string","shipping_options":["ShippingOption"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotShippingResults` + +Parameters: + +query_id - Json encoded long +error - Json encoded string +shipping_options - Json encoded array of ShippingOption + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_setEncryptedTyping.md b/docs/API_docs/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/docs/API_docs/methods/messages_setEncryptedTyping.md +++ b/docs/API_docs/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_setGameScore.md b/docs/API_docs/methods/messages_setGameScore.md index d6e7a77a..64a2feea 100644 --- a/docs/API_docs/methods/messages_setGameScore.md +++ b/docs/API_docs/methods/messages_setGameScore.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'force' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setGameScore +* params - {"edit_message":"Bool","force":"Bool","peer":"InputPeer","id":"int","user_id":"InputUser","score":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setGameScore` + +Parameters: + +edit_message - Json encoded Bool +force - Json encoded Bool +peer - Json encoded InputPeer +id - Json encoded int +user_id - Json encoded InputUser +score - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_setInlineBotResults.md b/docs/API_docs/methods/messages_setInlineBotResults.md index 0ef74b32..5a2b1da0 100644 --- a/docs/API_docs/methods/messages_setInlineBotResults.md +++ b/docs/API_docs/methods/messages_setInlineBotResults.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineBotResults +* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineBotResults` + +Parameters: + +gallery - Json encoded Bool +private - Json encoded Bool +query_id - Json encoded long +results - Json encoded array of InputBotInlineResult +cache_time - Json encoded int +next_offset - Json encoded string +switch_pm - Json encoded InlineBotSwitchPM + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_setInlineGameScore.md b/docs/API_docs/methods/messages_setInlineGameScore.md index d3a8846c..df93e25a 100644 --- a/docs/API_docs/methods/messages_setInlineGameScore.md +++ b/docs/API_docs/methods/messages_setInlineGameScore.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'force' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineGameScore +* params - {"edit_message":"Bool","force":"Bool","id":"InputBotInlineMessageID","user_id":"InputUser","score":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineGameScore` + +Parameters: + +edit_message - Json encoded Bool +force - Json encoded Bool +id - Json encoded InputBotInlineMessageID +user_id - Json encoded InputUser +score - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_setTyping.md b/docs/API_docs/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/docs/API_docs/methods/messages_setTyping.md +++ b/docs/API_docs/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_startBot.md b/docs/API_docs/methods/messages_startBot.md index 58aadfab..93229d34 100644 --- a/docs/API_docs/methods/messages_startBot.md +++ b/docs/API_docs/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_toggleChatAdmins.md b/docs/API_docs/methods/messages_toggleChatAdmins.md index ec1809f3..2edb160a 100644 --- a/docs/API_docs/methods/messages_toggleChatAdmins.md +++ b/docs/API_docs/methods/messages_toggleChatAdmins.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleChatAdmins +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleChatAdmins` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_toggleDialogPin.md b/docs/API_docs/methods/messages_toggleDialogPin.md index 6e1230cd..d86a96ae 100644 --- a/docs/API_docs/methods/messages_toggleDialogPin.md +++ b/docs/API_docs/methods/messages_toggleDialogPin.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->toggleDialogPin(['pinned' => Bool, 'peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleDialogPin +* params - {"pinned":"Bool","peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleDialogPin` + +Parameters: + +pinned - Json encoded Bool +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_uninstallStickerSet.md b/docs/API_docs/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/docs/API_docs/methods/messages_uninstallStickerSet.md +++ b/docs/API_docs/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/messages_uploadMedia.md b/docs/API_docs/methods/messages_uploadMedia.md index f8dca2dc..3f2fb222 100644 --- a/docs/API_docs/methods/messages_uploadMedia.md +++ b/docs/API_docs/methods/messages_uploadMedia.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->uploadMedia(['peer' => InputPeer, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uploadMedia +* params - {"peer":"InputPeer","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uploadMedia` + +Parameters: + +peer - Json encoded InputPeer +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/payments_clearSavedInfo.md b/docs/API_docs/methods/payments_clearSavedInfo.md index e250bb2e..4da0da7c 100644 --- a/docs/API_docs/methods/payments_clearSavedInfo.md +++ b/docs/API_docs/methods/payments_clearSavedInfo.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->payments->clearSavedInfo(['credentials' => Bool, 'info' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.clearSavedInfo +* params - {"credentials":"Bool","info":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.clearSavedInfo` + +Parameters: + +credentials - Json encoded Bool +info - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/payments_getPaymentForm.md b/docs/API_docs/methods/payments_getPaymentForm.md index b61c8ede..8c495ca5 100644 --- a/docs/API_docs/methods/payments_getPaymentForm.md +++ b/docs/API_docs/methods/payments_getPaymentForm.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.getPaymentForm +* params - {"msg_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.getPaymentForm` + +Parameters: + +msg_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/payments_getPaymentReceipt.md b/docs/API_docs/methods/payments_getPaymentReceipt.md index 8e08e7a2..81b4e790 100644 --- a/docs/API_docs/methods/payments_getPaymentReceipt.md +++ b/docs/API_docs/methods/payments_getPaymentReceipt.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.getPaymentReceipt +* params - {"msg_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.getPaymentReceipt` + +Parameters: + +msg_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/payments_getSavedInfo.md b/docs/API_docs/methods/payments_getSavedInfo.md index d697b221..e53a85db 100644 --- a/docs/API_docs/methods/payments_getSavedInfo.md +++ b/docs/API_docs/methods/payments_getSavedInfo.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.getSavedInfo +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.getSavedInfo` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/payments_sendPaymentForm.md b/docs/API_docs/methods/payments_sendPaymentForm.md index 573c2462..f5e555ed 100644 --- a/docs/API_docs/methods/payments_sendPaymentForm.md +++ b/docs/API_docs/methods/payments_sendPaymentForm.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => string, 'shipping_option_id' => string, 'credentials' => InputPaymentCredentials, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.sendPaymentForm +* params - {"msg_id":"int","requested_info_id":"string","shipping_option_id":"string","credentials":"InputPaymentCredentials"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.sendPaymentForm` + +Parameters: + +msg_id - Json encoded int +requested_info_id - Json encoded string +shipping_option_id - Json encoded string +credentials - Json encoded InputPaymentCredentials + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/payments_validateRequestedInfo.md b/docs/API_docs/methods/payments_validateRequestedInfo.md index f10f7fed..96b7ec3a 100644 --- a/docs/API_docs/methods/payments_validateRequestedInfo.md +++ b/docs/API_docs/methods/payments_validateRequestedInfo.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.validateRequestedInfo +* params - {"save":"Bool","msg_id":"int","info":"PaymentRequestedInfo"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.validateRequestedInfo` + +Parameters: + +save - Json encoded Bool +msg_id - Json encoded int +info - Json encoded PaymentRequestedInfo + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/phone_acceptCall.md b/docs/API_docs/methods/phone_acceptCall.md index 4b7386d5..cad5c1d9 100644 --- a/docs/API_docs/methods/phone_acceptCall.md +++ b/docs/API_docs/methods/phone_acceptCall.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => bytes, 'protocol' => PhoneCallProtocol, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.acceptCall +* params - {"peer":"InputPhoneCall","g_b":"bytes","protocol":"PhoneCallProtocol"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.acceptCall` + +Parameters: + +peer - Json encoded InputPhoneCall +g_b - Json encoded bytes +protocol - Json encoded PhoneCallProtocol + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/phone_confirmCall.md b/docs/API_docs/methods/phone_confirmCall.md index 3b189e69..64063a6f 100644 --- a/docs/API_docs/methods/phone_confirmCall.md +++ b/docs/API_docs/methods/phone_confirmCall.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.confirmCall +* params - {"peer":"InputPhoneCall","g_a":"bytes","key_fingerprint":"long","protocol":"PhoneCallProtocol"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.confirmCall` + +Parameters: + +peer - Json encoded InputPhoneCall +g_a - Json encoded bytes +key_fingerprint - Json encoded long +protocol - Json encoded PhoneCallProtocol + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/phone_discardCall.md b/docs/API_docs/methods/phone_discardCall.md index 00b0d78e..7c5b494c 100644 --- a/docs/API_docs/methods/phone_discardCall.md +++ b/docs/API_docs/methods/phone_discardCall.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->phone->discardCall(['peer' => InputPhoneCall, 'duration' => int, 'reason' => PhoneCallDiscardReason, 'connection_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.discardCall +* params - {"peer":"InputPhoneCall","duration":"int","reason":"PhoneCallDiscardReason","connection_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.discardCall` + +Parameters: + +peer - Json encoded InputPhoneCall +duration - Json encoded int +reason - Json encoded PhoneCallDiscardReason +connection_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/phone_getCallConfig.md b/docs/API_docs/methods/phone_getCallConfig.md index bdd54623..36ba68f6 100644 --- a/docs/API_docs/methods/phone_getCallConfig.md +++ b/docs/API_docs/methods/phone_getCallConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $DataJSON = $MadelineProto->phone->getCallConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.getCallConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.getCallConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/phone_receivedCall.md b/docs/API_docs/methods/phone_receivedCall.md index 748e215d..e4ba0536 100644 --- a/docs/API_docs/methods/phone_receivedCall.md +++ b/docs/API_docs/methods/phone_receivedCall.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->phone->receivedCall(['peer' => InputPhoneCall, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.receivedCall +* params - {"peer":"InputPhoneCall"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.receivedCall` + +Parameters: + +peer - Json encoded InputPhoneCall + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/phone_requestCall.md b/docs/API_docs/methods/phone_requestCall.md index 633af965..c84084ca 100644 --- a/docs/API_docs/methods/phone_requestCall.md +++ b/docs/API_docs/methods/phone_requestCall.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => bytes, 'protocol' => PhoneCallProtocol, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.requestCall +* params - {"user_id":"InputUser","g_a_hash":"bytes","protocol":"PhoneCallProtocol"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.requestCall` + +Parameters: + +user_id - Json encoded InputUser +g_a_hash - Json encoded bytes +protocol - Json encoded PhoneCallProtocol + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/phone_saveCallDebug.md b/docs/API_docs/methods/phone_saveCallDebug.md index cc495068..b301968f 100644 --- a/docs/API_docs/methods/phone_saveCallDebug.md +++ b/docs/API_docs/methods/phone_saveCallDebug.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->phone->saveCallDebug(['peer' => InputPhoneCall, 'debug' => DataJSON, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.saveCallDebug +* params - {"peer":"InputPhoneCall","debug":"DataJSON"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.saveCallDebug` + +Parameters: + +peer - Json encoded InputPhoneCall +debug - Json encoded DataJSON + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/phone_setCallRating.md b/docs/API_docs/methods/phone_setCallRating.md index c00d5158..82dd9d5e 100644 --- a/docs/API_docs/methods/phone_setCallRating.md +++ b/docs/API_docs/methods/phone_setCallRating.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.setCallRating +* params - {"peer":"InputPhoneCall","rating":"int","comment":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.setCallRating` + +Parameters: + +peer - Json encoded InputPhoneCall +rating - Json encoded int +comment - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/photos_deletePhotos.md b/docs/API_docs/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/docs/API_docs/methods/photos_deletePhotos.md +++ b/docs/API_docs/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/photos_getUserPhotos.md b/docs/API_docs/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/docs/API_docs/methods/photos_getUserPhotos.md +++ b/docs/API_docs/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/photos_updateProfilePhoto.md b/docs/API_docs/methods/photos_updateProfilePhoto.md index 46cb4c32..63f2ae84 100644 --- a/docs/API_docs/methods/photos_updateProfilePhoto.md +++ b/docs/API_docs/methods/photos_updateProfilePhoto.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/photos_uploadProfilePhoto.md b/docs/API_docs/methods/photos_uploadProfilePhoto.md index d8c1f9ec..408a631f 100644 --- a/docs/API_docs/methods/photos_uploadProfilePhoto.md +++ b/docs/API_docs/methods/photos_uploadProfilePhoto.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/ping.md b/docs/API_docs/methods/ping.md index 125f16e5..89f77caa 100644 --- a/docs/API_docs/methods/ping.md +++ b/docs/API_docs/methods/ping.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Pong = $MadelineProto->ping(['ping_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - ping +* params - {"ping_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/ping` + +Parameters: + +ping_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/ping_delay_disconnect.md b/docs/API_docs/methods/ping_delay_disconnect.md index eab86cc5..ede5fe98 100644 --- a/docs/API_docs/methods/ping_delay_disconnect.md +++ b/docs/API_docs/methods/ping_delay_disconnect.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Pong = $MadelineProto->ping_delay_disconnect(['ping_id' => long, 'disconnect_delay' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - ping_delay_disconnect +* params - {"ping_id":"long","disconnect_delay":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/ping_delay_disconnect` + +Parameters: + +ping_id - Json encoded long +disconnect_delay - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/req_DH_params.md b/docs/API_docs/methods/req_DH_params.md index 93ad6d82..b2e16150 100644 --- a/docs/API_docs/methods/req_DH_params.md +++ b/docs/API_docs/methods/req_DH_params.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => string, 'q' => string, 'public_key_fingerprint' => long, 'encrypted_data' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - req_DH_params +* params - {"nonce":"int128","server_nonce":"int128","p":"string","q":"string","public_key_fingerprint":"long","encrypted_data":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/req_DH_params` + +Parameters: + +nonce - Json encoded int128 +server_nonce - Json encoded int128 +p - Json encoded string +q - Json encoded string +public_key_fingerprint - Json encoded long +encrypted_data - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/req_pq.md b/docs/API_docs/methods/req_pq.md index 59fff9cc..7a9b2f2c 100644 --- a/docs/API_docs/methods/req_pq.md +++ b/docs/API_docs/methods/req_pq.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ResPQ = $MadelineProto->req_pq(['nonce' => int128, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - req_pq +* params - {"nonce":"int128"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/req_pq` + +Parameters: + +nonce - Json encoded int128 + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/rpc_drop_answer.md b/docs/API_docs/methods/rpc_drop_answer.md index 94c8a32a..8fc7854d 100644 --- a/docs/API_docs/methods/rpc_drop_answer.md +++ b/docs/API_docs/methods/rpc_drop_answer.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $RpcDropAnswer = $MadelineProto->rpc_drop_answer(['req_msg_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - rpc_drop_answer +* params - {"req_msg_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/rpc_drop_answer` + +Parameters: + +req_msg_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/set_client_DH_params.md b/docs/API_docs/methods/set_client_DH_params.md index 795229e2..26fb4dc2 100644 --- a/docs/API_docs/methods/set_client_DH_params.md +++ b/docs/API_docs/methods/set_client_DH_params.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - set_client_DH_params +* params - {"nonce":"int128","server_nonce":"int128","encrypted_data":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/set_client_DH_params` + +Parameters: + +nonce - Json encoded int128 +server_nonce - Json encoded int128 +encrypted_data - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/stickers_addStickerToSet.md b/docs/API_docs/methods/stickers_addStickerToSet.md index 196de7e6..d4dcebec 100644 --- a/docs/API_docs/methods/stickers_addStickerToSet.md +++ b/docs/API_docs/methods/stickers_addStickerToSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - stickers.addStickerToSet +* params - {"stickerset":"InputStickerSet","sticker":"InputStickerSetItem"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/stickers.addStickerToSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +sticker - Json encoded InputStickerSetItem + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/stickers_changeStickerPosition.md b/docs/API_docs/methods/stickers_changeStickerPosition.md index f85a2f95..27c37aa8 100644 --- a/docs/API_docs/methods/stickers_changeStickerPosition.md +++ b/docs/API_docs/methods/stickers_changeStickerPosition.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - stickers.changeStickerPosition +* params - {"sticker":"InputDocument","position":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/stickers.changeStickerPosition` + +Parameters: + +sticker - Json encoded InputDocument +position - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/stickers_createStickerSet.md b/docs/API_docs/methods/stickers_createStickerSet.md index aee6b428..4650a2b1 100644 --- a/docs/API_docs/methods/stickers_createStickerSet.md +++ b/docs/API_docs/methods/stickers_createStickerSet.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => string, 'short_name' => string, 'stickers' => [InputStickerSetItem], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - stickers.createStickerSet +* params - {"masks":"Bool","user_id":"InputUser","title":"string","short_name":"string","stickers":["InputStickerSetItem"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/stickers.createStickerSet` + +Parameters: + +masks - Json encoded Bool +user_id - Json encoded InputUser +title - Json encoded string +short_name - Json encoded string +stickers - Json encoded array of InputStickerSetItem + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/stickers_removeStickerFromSet.md b/docs/API_docs/methods/stickers_removeStickerFromSet.md index 161cb0a4..53e9b848 100644 --- a/docs/API_docs/methods/stickers_removeStickerFromSet.md +++ b/docs/API_docs/methods/stickers_removeStickerFromSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - stickers.removeStickerFromSet +* params - {"sticker":"InputDocument"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/stickers.removeStickerFromSet` + +Parameters: + +sticker - Json encoded InputDocument + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/updates_getChannelDifference.md b/docs/API_docs/methods/updates_getChannelDifference.md index b343b62f..81a25d86 100644 --- a/docs/API_docs/methods/updates_getChannelDifference.md +++ b/docs/API_docs/methods/updates_getChannelDifference.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"force":"Bool","channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +force - Json encoded Bool +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/updates_getDifference.md b/docs/API_docs/methods/updates_getDifference.md index a0aadc04..7d23893b 100644 --- a/docs/API_docs/methods/updates_getDifference.md +++ b/docs/API_docs/methods/updates_getDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","pts_total_limit":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +pts_total_limit - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/updates_getState.md b/docs/API_docs/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/docs/API_docs/methods/updates_getState.md +++ b/docs/API_docs/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/API_docs/methods/upload_getCdnFile.md b/docs/API_docs/methods/upload_getCdnFile.md index c9def2d5..f0286761 100644 --- a/docs/API_docs/methods/upload_getCdnFile.md +++ b/docs/API_docs/methods/upload_getCdnFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => bytes, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getCdnFile +* params - {"file_token":"bytes","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getCdnFile` + +Parameters: + +file_token - Json encoded bytes +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/upload_getFile.md b/docs/API_docs/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/docs/API_docs/methods/upload_getFile.md +++ b/docs/API_docs/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/upload_getWebFile.md b/docs/API_docs/methods/upload_getWebFile.md index 496c36f3..4206040a 100644 --- a/docs/API_docs/methods/upload_getWebFile.md +++ b/docs/API_docs/methods/upload_getWebFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getWebFile +* params - {"location":"InputWebFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getWebFile` + +Parameters: + +location - Json encoded InputWebFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/upload_reuploadCdnFile.md b/docs/API_docs/methods/upload_reuploadCdnFile.md index 08016537..82ba79fe 100644 --- a/docs/API_docs/methods/upload_reuploadCdnFile.md +++ b/docs/API_docs/methods/upload_reuploadCdnFile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->reuploadCdnFile(['file_token' => bytes, 'request_token' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.reuploadCdnFile +* params - {"file_token":"bytes","request_token":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.reuploadCdnFile` + +Parameters: + +file_token - Json encoded bytes +request_token - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/upload_saveBigFilePart.md b/docs/API_docs/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/docs/API_docs/methods/upload_saveBigFilePart.md +++ b/docs/API_docs/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/upload_saveFilePart.md b/docs/API_docs/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/docs/API_docs/methods/upload_saveFilePart.md +++ b/docs/API_docs/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/users_getFullUser.md b/docs/API_docs/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/docs/API_docs/methods/users_getFullUser.md +++ b/docs/API_docs/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/methods/users_getUsers.md b/docs/API_docs/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/docs/API_docs/methods/users_getUsers.md +++ b/docs/API_docs/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/docs/API_docs/types/PhoneCall.md b/docs/API_docs/types/PhoneCall.md index eee9a68b..5f578bf1 100644 --- a/docs/API_docs/types/PhoneCall.md +++ b/docs/API_docs/types/PhoneCall.md @@ -9,7 +9,7 @@ description: constructors and methods of type PhoneCall This is an object of type `\danog\MadelineProto\VoIP`. -It will only be available if the [php-libtgvoip](https://github.com/danog/php-libtgvoip) extension is installed, see [the main docs](https://daniil.it/MadelineProto) for an easy installation script. +It will only be available if the [php-libtgvoip](https://github.com/danog/php-libtgvoip) extension is installed, see [the main docs](https://daniil.it/MadelineProto#calls) for an easy installation script. You MUST know [OOP](http://php.net/manual/en/language.oop5.php) to use this class. @@ -109,7 +109,7 @@ Accepts two optional parameters: * `getOutputParams()` - Returns the output audio configuration -MadelineProto works using raw PCM audio, internally split in packets with `sampleNumber` samples. +MadelineProto works using raw signed PCM audio, internally split in packets with `sampleNumber` samples. The audio configuration is an array structured in the following way: ``` @@ -127,7 +127,7 @@ The audio configuration is an array structured in the following way: * `getInputParams()` - Returns the input audio configuration -MadelineProto works using raw PCM audio, internally split in packets with `sampleNumber` samples. +MadelineProto works using raw signed PCM audio, internally split in packets with `sampleNumber` samples. The audio configuration is an array structured in the following way: ``` diff --git a/docs/MTProto_docs/constructors/MTmessage.md b/docs/MTProto_docs/constructors/MTmessage.md index 3cff9f56..6946f6ab 100644 --- a/docs/MTProto_docs/constructors/MTmessage.md +++ b/docs/MTProto_docs/constructors/MTmessage.md @@ -27,6 +27,13 @@ description: MTmessage attributes, type and example $MTmessage = ['_' => 'MTmessage', 'msg_id' => long, 'seqno' => int, 'bytes' => int, 'body' => Object, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"MTmessage","msg_id":"long","seqno":"int","bytes":"int","body":"Object"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/bad_msg_notification.md b/docs/MTProto_docs/constructors/bad_msg_notification.md index f48351a4..1273c1b5 100644 --- a/docs/MTProto_docs/constructors/bad_msg_notification.md +++ b/docs/MTProto_docs/constructors/bad_msg_notification.md @@ -26,6 +26,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"bad_msg_notification","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/bad_server_salt.md b/docs/MTProto_docs/constructors/bad_server_salt.md index 22cdb6fd..8eca3a7d 100644 --- a/docs/MTProto_docs/constructors/bad_server_salt.md +++ b/docs/MTProto_docs/constructors/bad_server_salt.md @@ -27,6 +27,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"bad_server_salt","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int","new_server_salt":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/bind_auth_key_inner.md b/docs/MTProto_docs/constructors/bind_auth_key_inner.md index 1450bdfa..8d197de7 100644 --- a/docs/MTProto_docs/constructors/bind_auth_key_inner.md +++ b/docs/MTProto_docs/constructors/bind_auth_key_inner.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"bind_auth_key_inner","nonce":"long","temp_auth_key_id":"long","perm_auth_key_id":"long","temp_session_id":"long","expires_at":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/client_DH_inner_data.md b/docs/MTProto_docs/constructors/client_DH_inner_data.md index 42ee3382..241634d7 100644 --- a/docs/MTProto_docs/constructors/client_DH_inner_data.md +++ b/docs/MTProto_docs/constructors/client_DH_inner_data.md @@ -27,6 +27,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"client_DH_inner_data","nonce":"int128","server_nonce":"int128","retry_id":"long","g_b":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/destroy_session_none.md b/docs/MTProto_docs/constructors/destroy_session_none.md index 89bb5678..9e5278b4 100644 --- a/docs/MTProto_docs/constructors/destroy_session_none.md +++ b/docs/MTProto_docs/constructors/destroy_session_none.md @@ -24,6 +24,13 @@ description: destroy_session_none attributes, type and example $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_session_none","session_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/destroy_session_ok.md b/docs/MTProto_docs/constructors/destroy_session_ok.md index 5675c75f..17b39b93 100644 --- a/docs/MTProto_docs/constructors/destroy_session_ok.md +++ b/docs/MTProto_docs/constructors/destroy_session_ok.md @@ -24,6 +24,13 @@ description: destroy_session_ok attributes, type and example $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_session_ok","session_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/dh_gen_fail.md b/docs/MTProto_docs/constructors/dh_gen_fail.md index 16073250..320b9306 100644 --- a/docs/MTProto_docs/constructors/dh_gen_fail.md +++ b/docs/MTProto_docs/constructors/dh_gen_fail.md @@ -26,6 +26,13 @@ description: dh_gen_fail attributes, type and example $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dh_gen_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash3":"int128"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/dh_gen_ok.md b/docs/MTProto_docs/constructors/dh_gen_ok.md index a8675829..2b43d907 100644 --- a/docs/MTProto_docs/constructors/dh_gen_ok.md +++ b/docs/MTProto_docs/constructors/dh_gen_ok.md @@ -26,6 +26,13 @@ description: dh_gen_ok attributes, type and example $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dh_gen_ok","nonce":"int128","server_nonce":"int128","new_nonce_hash1":"int128"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/dh_gen_retry.md b/docs/MTProto_docs/constructors/dh_gen_retry.md index b3ec92f5..db5c1928 100644 --- a/docs/MTProto_docs/constructors/dh_gen_retry.md +++ b/docs/MTProto_docs/constructors/dh_gen_retry.md @@ -26,6 +26,13 @@ description: dh_gen_retry attributes, type and example $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dh_gen_retry","nonce":"int128","server_nonce":"int128","new_nonce_hash2":"int128"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/future_salt.md b/docs/MTProto_docs/constructors/future_salt.md index fd084341..c70f48ec 100644 --- a/docs/MTProto_docs/constructors/future_salt.md +++ b/docs/MTProto_docs/constructors/future_salt.md @@ -26,6 +26,13 @@ description: future_salt attributes, type and example $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"future_salt","valid_since":"int","valid_until":"int","salt":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/future_salts.md b/docs/MTProto_docs/constructors/future_salts.md index 2b694a80..a6bba188 100644 --- a/docs/MTProto_docs/constructors/future_salts.md +++ b/docs/MTProto_docs/constructors/future_salts.md @@ -26,6 +26,13 @@ description: future_salts attributes, type and example $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"future_salts","req_msg_id":"long","now":"int","salts":["future_salt"]} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/gzip_packed.md b/docs/MTProto_docs/constructors/gzip_packed.md index 28c82ac2..8c74face 100644 --- a/docs/MTProto_docs/constructors/gzip_packed.md +++ b/docs/MTProto_docs/constructors/gzip_packed.md @@ -24,6 +24,13 @@ description: gzip_packed attributes, type and example $gzip_packed = ['_' => 'gzip_packed', 'packed_data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"gzip_packed","packed_data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/msg_container.md b/docs/MTProto_docs/constructors/msg_container.md index ce2c512a..48dde03e 100644 --- a/docs/MTProto_docs/constructors/msg_container.md +++ b/docs/MTProto_docs/constructors/msg_container.md @@ -24,6 +24,13 @@ description: msg_container attributes, type and example $msg_container = ['_' => 'msg_container', 'messages' => [MTmessage], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_container","messages":["MTmessage"]} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/msg_copy.md b/docs/MTProto_docs/constructors/msg_copy.md index 9666e60b..f1321a16 100644 --- a/docs/MTProto_docs/constructors/msg_copy.md +++ b/docs/MTProto_docs/constructors/msg_copy.md @@ -24,6 +24,13 @@ description: msg_copy attributes, type and example $msg_copy = ['_' => 'msg_copy', 'orig_message' => MTMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_copy","orig_message":"MTMessage"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/msg_detailed_info.md b/docs/MTProto_docs/constructors/msg_detailed_info.md index 61e40732..f92347b0 100644 --- a/docs/MTProto_docs/constructors/msg_detailed_info.md +++ b/docs/MTProto_docs/constructors/msg_detailed_info.md @@ -27,6 +27,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_detailed_info","msg_id":"long","answer_msg_id":"long","bytes":"int","status":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/msg_new_detailed_info.md b/docs/MTProto_docs/constructors/msg_new_detailed_info.md index 2f57220b..b2a3db96 100644 --- a/docs/MTProto_docs/constructors/msg_new_detailed_info.md +++ b/docs/MTProto_docs/constructors/msg_new_detailed_info.md @@ -26,6 +26,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_new_detailed_info","answer_msg_id":"long","bytes":"int","status":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/msg_resend_req.md b/docs/MTProto_docs/constructors/msg_resend_req.md index 58f6daec..2abb95c1 100644 --- a/docs/MTProto_docs/constructors/msg_resend_req.md +++ b/docs/MTProto_docs/constructors/msg_resend_req.md @@ -24,6 +24,13 @@ description: msg_resend_req attributes, type and example $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_resend_req","msg_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/msgs_ack.md b/docs/MTProto_docs/constructors/msgs_ack.md index 05f60aff..8b1b2f9f 100644 --- a/docs/MTProto_docs/constructors/msgs_ack.md +++ b/docs/MTProto_docs/constructors/msgs_ack.md @@ -24,6 +24,13 @@ description: msgs_ack attributes, type and example $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_ack","msg_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/msgs_all_info.md b/docs/MTProto_docs/constructors/msgs_all_info.md index a9290d53..d0a32f34 100644 --- a/docs/MTProto_docs/constructors/msgs_all_info.md +++ b/docs/MTProto_docs/constructors/msgs_all_info.md @@ -25,6 +25,13 @@ description: msgs_all_info attributes, type and example $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long], 'info' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_all_info","msg_ids":["long"],"info":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/msgs_state_info.md b/docs/MTProto_docs/constructors/msgs_state_info.md index 8d7f81b4..f76861f8 100644 --- a/docs/MTProto_docs/constructors/msgs_state_info.md +++ b/docs/MTProto_docs/constructors/msgs_state_info.md @@ -25,6 +25,13 @@ description: msgs_state_info attributes, type and example $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_state_info","req_msg_id":"long","info":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/msgs_state_req.md b/docs/MTProto_docs/constructors/msgs_state_req.md index 53d846c7..8247b8c1 100644 --- a/docs/MTProto_docs/constructors/msgs_state_req.md +++ b/docs/MTProto_docs/constructors/msgs_state_req.md @@ -24,6 +24,13 @@ description: msgs_state_req attributes, type and example $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_state_req","msg_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/new_session_created.md b/docs/MTProto_docs/constructors/new_session_created.md index 7cccc77c..5eac0fac 100644 --- a/docs/MTProto_docs/constructors/new_session_created.md +++ b/docs/MTProto_docs/constructors/new_session_created.md @@ -26,6 +26,13 @@ description: new_session_created attributes, type and example $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"new_session_created","first_msg_id":"long","unique_id":"long","server_salt":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/p_q_inner_data.md b/docs/MTProto_docs/constructors/p_q_inner_data.md index 8cdbcd89..03774449 100644 --- a/docs/MTProto_docs/constructors/p_q_inner_data.md +++ b/docs/MTProto_docs/constructors/p_q_inner_data.md @@ -29,6 +29,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"p_q_inner_data","pq":"bytes","p":"bytes","q":"bytes","nonce":"int128","server_nonce":"int128","new_nonce":"int256"} +``` + + Or, if you're into Lua: 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 dcc065f4..f40e9aed 100644 --- a/docs/MTProto_docs/constructors/p_q_inner_data_temp.md +++ b/docs/MTProto_docs/constructors/p_q_inner_data_temp.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"p_q_inner_data_temp","pq":"bytes","p":"bytes","q":"bytes","nonce":"int128","server_nonce":"int128","new_nonce":"int256","expires_in":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/pong.md b/docs/MTProto_docs/constructors/pong.md index 72b67d07..5c03bb9b 100644 --- a/docs/MTProto_docs/constructors/pong.md +++ b/docs/MTProto_docs/constructors/pong.md @@ -25,6 +25,13 @@ description: pong attributes, type and example $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pong","msg_id":"long","ping_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/resPQ.md b/docs/MTProto_docs/constructors/resPQ.md index b59af527..fe71a74d 100644 --- a/docs/MTProto_docs/constructors/resPQ.md +++ b/docs/MTProto_docs/constructors/resPQ.md @@ -27,6 +27,13 @@ description: resPQ attributes, type and example $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => bytes, 'server_public_key_fingerprints' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"resPQ","nonce":"int128","server_nonce":"int128","pq":"bytes","server_public_key_fingerprints":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/rpc_answer_dropped.md b/docs/MTProto_docs/constructors/rpc_answer_dropped.md index acf2ee62..9ea5479b 100644 --- a/docs/MTProto_docs/constructors/rpc_answer_dropped.md +++ b/docs/MTProto_docs/constructors/rpc_answer_dropped.md @@ -26,6 +26,13 @@ description: rpc_answer_dropped attributes, type and example $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_answer_dropped","msg_id":"long","seq_no":"int","bytes":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md b/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md index 0634b3d8..c3723abd 100644 --- a/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md +++ b/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md @@ -19,6 +19,13 @@ description: rpc_answer_dropped_running attributes, type and example $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_answer_dropped_running"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/rpc_answer_unknown.md b/docs/MTProto_docs/constructors/rpc_answer_unknown.md index 6e7b0a87..58132b7a 100644 --- a/docs/MTProto_docs/constructors/rpc_answer_unknown.md +++ b/docs/MTProto_docs/constructors/rpc_answer_unknown.md @@ -19,6 +19,13 @@ description: rpc_answer_unknown attributes, type and example $rpc_answer_unknown = ['_' => 'rpc_answer_unknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_answer_unknown"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/rpc_error.md b/docs/MTProto_docs/constructors/rpc_error.md index ec318a68..fe821e55 100644 --- a/docs/MTProto_docs/constructors/rpc_error.md +++ b/docs/MTProto_docs/constructors/rpc_error.md @@ -25,6 +25,13 @@ description: rpc_error attributes, type and example $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_error","error_code":"int","error_message":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/rpc_result.md b/docs/MTProto_docs/constructors/rpc_result.md index 783e320b..aac21623 100644 --- a/docs/MTProto_docs/constructors/rpc_result.md +++ b/docs/MTProto_docs/constructors/rpc_result.md @@ -25,6 +25,13 @@ description: rpc_result attributes, type and example $rpc_result = ['_' => 'rpc_result', 'req_msg_id' => long, 'result' => Object, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_result","req_msg_id":"long","result":"Object"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/server_DH_inner_data.md b/docs/MTProto_docs/constructors/server_DH_inner_data.md index e76c05c8..59dca6de 100644 --- a/docs/MTProto_docs/constructors/server_DH_inner_data.md +++ b/docs/MTProto_docs/constructors/server_DH_inner_data.md @@ -29,6 +29,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"server_DH_inner_data","nonce":"int128","server_nonce":"int128","g":"int","dh_prime":"bytes","g_a":"bytes","server_time":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/server_DH_params_fail.md b/docs/MTProto_docs/constructors/server_DH_params_fail.md index 5540efcd..69df7594 100644 --- a/docs/MTProto_docs/constructors/server_DH_params_fail.md +++ b/docs/MTProto_docs/constructors/server_DH_params_fail.md @@ -26,6 +26,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"server_DH_params_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash":"int128"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/server_DH_params_ok.md b/docs/MTProto_docs/constructors/server_DH_params_ok.md index 54e053c6..d4198080 100644 --- a/docs/MTProto_docs/constructors/server_DH_params_ok.md +++ b/docs/MTProto_docs/constructors/server_DH_params_ok.md @@ -26,6 +26,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"server_DH_params_ok","nonce":"int128","server_nonce":"int128","encrypted_answer":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/constructors/vector.md b/docs/MTProto_docs/constructors/vector.md index 55858d79..6d44f111 100644 --- a/docs/MTProto_docs/constructors/vector.md +++ b/docs/MTProto_docs/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/docs/MTProto_docs/methods/destroy_session.md b/docs/MTProto_docs/methods/destroy_session.md index 86dcd5fe..6475b575 100644 --- a/docs/MTProto_docs/methods/destroy_session.md +++ b/docs/MTProto_docs/methods/destroy_session.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $DestroySessionRes = $MadelineProto->destroy_session(['session_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - destroy_session +* params - {"session_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/destroy_session` + +Parameters: + +session_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/MTProto_docs/methods/get_future_salts.md b/docs/MTProto_docs/methods/get_future_salts.md index 5c35ffa0..ffc11909 100644 --- a/docs/MTProto_docs/methods/get_future_salts.md +++ b/docs/MTProto_docs/methods/get_future_salts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $FutureSalts = $MadelineProto->get_future_salts(['num' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - get_future_salts +* params - {"num":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/get_future_salts` + +Parameters: + +num - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/MTProto_docs/methods/http_wait.md b/docs/MTProto_docs/methods/http_wait.md index 30e6a7e5..ec44ef21 100644 --- a/docs/MTProto_docs/methods/http_wait.md +++ b/docs/MTProto_docs/methods/http_wait.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $HttpWait = $MadelineProto->http_wait(['max_delay' => int, 'wait_after' => int, 'max_wait' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - http_wait +* params - {"max_delay":"int","wait_after":"int","max_wait":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/http_wait` + +Parameters: + +max_delay - Json encoded int +wait_after - Json encoded int +max_wait - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/MTProto_docs/methods/ping.md b/docs/MTProto_docs/methods/ping.md index 125f16e5..89f77caa 100644 --- a/docs/MTProto_docs/methods/ping.md +++ b/docs/MTProto_docs/methods/ping.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Pong = $MadelineProto->ping(['ping_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - ping +* params - {"ping_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/ping` + +Parameters: + +ping_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/MTProto_docs/methods/ping_delay_disconnect.md b/docs/MTProto_docs/methods/ping_delay_disconnect.md index eab86cc5..ede5fe98 100644 --- a/docs/MTProto_docs/methods/ping_delay_disconnect.md +++ b/docs/MTProto_docs/methods/ping_delay_disconnect.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Pong = $MadelineProto->ping_delay_disconnect(['ping_id' => long, 'disconnect_delay' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - ping_delay_disconnect +* params - {"ping_id":"long","disconnect_delay":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/ping_delay_disconnect` + +Parameters: + +ping_id - Json encoded long +disconnect_delay - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/MTProto_docs/methods/req_DH_params.md b/docs/MTProto_docs/methods/req_DH_params.md index 21472ef1..807e2540 100644 --- a/docs/MTProto_docs/methods/req_DH_params.md +++ b/docs/MTProto_docs/methods/req_DH_params.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => bytes, 'q' => bytes, 'public_key_fingerprint' => long, 'encrypted_data' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - req_DH_params +* params - {"nonce":"int128","server_nonce":"int128","p":"bytes","q":"bytes","public_key_fingerprint":"long","encrypted_data":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/req_DH_params` + +Parameters: + +nonce - Json encoded int128 +server_nonce - Json encoded int128 +p - Json encoded bytes +q - Json encoded bytes +public_key_fingerprint - Json encoded long +encrypted_data - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/docs/MTProto_docs/methods/req_pq.md b/docs/MTProto_docs/methods/req_pq.md index 59fff9cc..7a9b2f2c 100644 --- a/docs/MTProto_docs/methods/req_pq.md +++ b/docs/MTProto_docs/methods/req_pq.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ResPQ = $MadelineProto->req_pq(['nonce' => int128, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - req_pq +* params - {"nonce":"int128"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/req_pq` + +Parameters: + +nonce - Json encoded int128 + + +``` + Or, if you're into Lua: ``` diff --git a/docs/MTProto_docs/methods/rpc_drop_answer.md b/docs/MTProto_docs/methods/rpc_drop_answer.md index 94c8a32a..8fc7854d 100644 --- a/docs/MTProto_docs/methods/rpc_drop_answer.md +++ b/docs/MTProto_docs/methods/rpc_drop_answer.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $RpcDropAnswer = $MadelineProto->rpc_drop_answer(['req_msg_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - rpc_drop_answer +* params - {"req_msg_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/rpc_drop_answer` + +Parameters: + +req_msg_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/MTProto_docs/methods/set_client_DH_params.md b/docs/MTProto_docs/methods/set_client_DH_params.md index c291e82d..aa08f5db 100644 --- a/docs/MTProto_docs/methods/set_client_DH_params.md +++ b/docs/MTProto_docs/methods/set_client_DH_params.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - set_client_DH_params +* params - {"nonce":"int128","server_nonce":"int128","encrypted_data":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/set_client_DH_params` + +Parameters: + +nonce - Json encoded int128 +server_nonce - Json encoded int128 +encrypted_data - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/constructors/accountTtl.md b/docs/TD_docs/constructors/accountTtl.md index f2efc589..af0a9639 100644 --- a/docs/TD_docs/constructors/accountTtl.md +++ b/docs/TD_docs/constructors/accountTtl.md @@ -26,6 +26,13 @@ Contains infotmation about period of inactivity, after which the account of curr $accountTtl = ['_' => 'accountTtl', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountTtl","days":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/animation.md b/docs/TD_docs/constructors/animation.md index 6d65f1f9..b1472724 100644 --- a/docs/TD_docs/constructors/animation.md +++ b/docs/TD_docs/constructors/animation.md @@ -31,6 +31,13 @@ Describes animation file. Animation should be encoded in gif or mp4 format $animation = ['_' => 'animation', 'width' => int, 'height' => int, 'file_name' => string, 'mime_type' => string, 'thumb' => photoSize, 'animation' => file, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"animation","width":"int","height":"int","file_name":"string","mime_type":"string","thumb":"photoSize","animation":"file"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/animations.md b/docs/TD_docs/constructors/animations.md index bc8d530a..46de9710 100644 --- a/docs/TD_docs/constructors/animations.md +++ b/docs/TD_docs/constructors/animations.md @@ -26,6 +26,13 @@ Represents list of animations $animations = ['_' => 'animations', 'animations' => [animation], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"animations","animations":["animation"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/apnsDeviceToken.md b/docs/TD_docs/constructors/apnsDeviceToken.md index 14dd91a7..6e87c520 100644 --- a/docs/TD_docs/constructors/apnsDeviceToken.md +++ b/docs/TD_docs/constructors/apnsDeviceToken.md @@ -26,6 +26,13 @@ Token for APNS $apnsDeviceToken = ['_' => 'apnsDeviceToken', 'token' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"apnsDeviceToken","token":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/audio.md b/docs/TD_docs/constructors/audio.md index bb9cfef4..4eee5d49 100644 --- a/docs/TD_docs/constructors/audio.md +++ b/docs/TD_docs/constructors/audio.md @@ -32,6 +32,13 @@ Describes audio file. Audio is usually in mp3 format $audio = ['_' => 'audio', 'duration' => int, 'title' => string, 'performer' => string, 'file_name' => string, 'mime_type' => string, 'album_cover_thumb' => photoSize, 'audio' => file, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audio","duration":"int","title":"string","performer":"string","file_name":"string","mime_type":"string","album_cover_thumb":"photoSize","audio":"file"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/authCodeTypeCall.md b/docs/TD_docs/constructors/authCodeTypeCall.md index 7418791e..47176880 100644 --- a/docs/TD_docs/constructors/authCodeTypeCall.md +++ b/docs/TD_docs/constructors/authCodeTypeCall.md @@ -26,6 +26,13 @@ Code is delievered by voice call to the specified phone number $authCodeTypeCall = ['_' => 'authCodeTypeCall', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"authCodeTypeCall","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/authCodeTypeFlashCall.md b/docs/TD_docs/constructors/authCodeTypeFlashCall.md index ef31c03d..b881d128 100644 --- a/docs/TD_docs/constructors/authCodeTypeFlashCall.md +++ b/docs/TD_docs/constructors/authCodeTypeFlashCall.md @@ -26,6 +26,13 @@ Code is delivered by the immediately cancelled call to the specified phone numbe $authCodeTypeFlashCall = ['_' => 'authCodeTypeFlashCall', 'pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"authCodeTypeFlashCall","pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/authCodeTypeMessage.md b/docs/TD_docs/constructors/authCodeTypeMessage.md index 5b8c3724..51d81fee 100644 --- a/docs/TD_docs/constructors/authCodeTypeMessage.md +++ b/docs/TD_docs/constructors/authCodeTypeMessage.md @@ -26,6 +26,13 @@ Code is delivered through private Telegram message, which can be viewed in the o $authCodeTypeMessage = ['_' => 'authCodeTypeMessage', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"authCodeTypeMessage","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/authCodeTypeSms.md b/docs/TD_docs/constructors/authCodeTypeSms.md index c5f83dc7..333f92da 100644 --- a/docs/TD_docs/constructors/authCodeTypeSms.md +++ b/docs/TD_docs/constructors/authCodeTypeSms.md @@ -26,6 +26,13 @@ Code is delivered by SMS to the specified phone number $authCodeTypeSms = ['_' => 'authCodeTypeSms', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"authCodeTypeSms","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/authStateLoggingOut.md b/docs/TD_docs/constructors/authStateLoggingOut.md index f0523734..8cc256b1 100644 --- a/docs/TD_docs/constructors/authStateLoggingOut.md +++ b/docs/TD_docs/constructors/authStateLoggingOut.md @@ -25,6 +25,13 @@ User is currently logging out $authStateLoggingOut = ['_' => 'authStateLoggingOut', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"authStateLoggingOut"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/authStateOk.md b/docs/TD_docs/constructors/authStateOk.md index 336b783a..6e19f87c 100644 --- a/docs/TD_docs/constructors/authStateOk.md +++ b/docs/TD_docs/constructors/authStateOk.md @@ -25,6 +25,13 @@ User is successfully authorized. TDLib can answer queries $authStateOk = ['_' => 'authStateOk', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"authStateOk"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/authStateWaitCode.md b/docs/TD_docs/constructors/authStateWaitCode.md index 309873cc..aa7f2531 100644 --- a/docs/TD_docs/constructors/authStateWaitCode.md +++ b/docs/TD_docs/constructors/authStateWaitCode.md @@ -29,6 +29,13 @@ TDLib needs user authentication code to finish authorization $authStateWaitCode = ['_' => 'authStateWaitCode', 'is_registered' => Bool, 'code_type' => AuthCodeType, 'next_code_type' => AuthCodeType, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"authStateWaitCode","is_registered":"Bool","code_type":"AuthCodeType","next_code_type":"AuthCodeType","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/authStateWaitPassword.md b/docs/TD_docs/constructors/authStateWaitPassword.md index f8596f9e..cd7acf70 100644 --- a/docs/TD_docs/constructors/authStateWaitPassword.md +++ b/docs/TD_docs/constructors/authStateWaitPassword.md @@ -28,6 +28,13 @@ User is authorized but he needs to enter its password to begin to use applicatio $authStateWaitPassword = ['_' => 'authStateWaitPassword', 'password_hint' => string, 'has_recovery_email' => Bool, 'recovery_email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"authStateWaitPassword","password_hint":"string","has_recovery_email":"Bool","recovery_email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/authStateWaitPhoneNumber.md b/docs/TD_docs/constructors/authStateWaitPhoneNumber.md index 969a17ae..68cca5a7 100644 --- a/docs/TD_docs/constructors/authStateWaitPhoneNumber.md +++ b/docs/TD_docs/constructors/authStateWaitPhoneNumber.md @@ -25,6 +25,13 @@ TDLib needs user's phone number to authorize $authStateWaitPhoneNumber = ['_' => 'authStateWaitPhoneNumber', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"authStateWaitPhoneNumber"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/blackberryDeviceToken.md b/docs/TD_docs/constructors/blackberryDeviceToken.md index ec933143..f67e880d 100644 --- a/docs/TD_docs/constructors/blackberryDeviceToken.md +++ b/docs/TD_docs/constructors/blackberryDeviceToken.md @@ -26,6 +26,13 @@ Token for Blackberry Push Service $blackberryDeviceToken = ['_' => 'blackberryDeviceToken', 'token' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"blackberryDeviceToken","token":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/botCommand.md b/docs/TD_docs/constructors/botCommand.md index f4c689ef..cfcd9550 100644 --- a/docs/TD_docs/constructors/botCommand.md +++ b/docs/TD_docs/constructors/botCommand.md @@ -27,6 +27,13 @@ Represents command supported by bot $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/botInfo.md b/docs/TD_docs/constructors/botInfo.md index d9fd169c..4ef79226 100644 --- a/docs/TD_docs/constructors/botInfo.md +++ b/docs/TD_docs/constructors/botInfo.md @@ -27,6 +27,13 @@ Provides information about bot and command supported by him $botInfo = ['_' => 'botInfo', 'description' => string, 'commands' => [botCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","description":"string","commands":["botCommand"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/callbackQueryAnswer.md b/docs/TD_docs/constructors/callbackQueryAnswer.md index 98896d4d..01da2503 100644 --- a/docs/TD_docs/constructors/callbackQueryAnswer.md +++ b/docs/TD_docs/constructors/callbackQueryAnswer.md @@ -28,6 +28,13 @@ Contains answer of the bot to the callback query $callbackQueryAnswer = ['_' => 'callbackQueryAnswer', 'text' => string, 'show_alert' => Bool, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"callbackQueryAnswer","text":"string","show_alert":"Bool","url":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/callbackQueryData.md b/docs/TD_docs/constructors/callbackQueryData.md index 15a78126..0a65fe2b 100644 --- a/docs/TD_docs/constructors/callbackQueryData.md +++ b/docs/TD_docs/constructors/callbackQueryData.md @@ -26,6 +26,13 @@ Payload from a general callback button $callbackQueryData = ['_' => 'callbackQueryData', 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"callbackQueryData","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/callbackQueryGame.md b/docs/TD_docs/constructors/callbackQueryGame.md index a2154a5c..a448c56c 100644 --- a/docs/TD_docs/constructors/callbackQueryGame.md +++ b/docs/TD_docs/constructors/callbackQueryGame.md @@ -26,6 +26,13 @@ Payload from a game callback button $callbackQueryGame = ['_' => 'callbackQueryGame', 'game_short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"callbackQueryGame","game_short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/channel.md b/docs/TD_docs/constructors/channel.md index 86677b4d..000f4f4b 100644 --- a/docs/TD_docs/constructors/channel.md +++ b/docs/TD_docs/constructors/channel.md @@ -34,6 +34,13 @@ Represents a channel with zero or more subscribers. There two different kinds of $channel = ['_' => 'channel', 'id' => int, 'username' => string, 'date' => int, 'status' => ChatMemberStatus, 'anyone_can_invite' => Bool, 'sign_messages' => Bool, 'is_supergroup' => Bool, 'is_verified' => Bool, 'restriction_reason' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","id":"int","username":"string","date":"int","status":"ChatMemberStatus","anyone_can_invite":"Bool","sign_messages":"Bool","is_supergroup":"Bool","is_verified":"Bool","restriction_reason":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/channelChatInfo.md b/docs/TD_docs/constructors/channelChatInfo.md index 896e5ee3..daafd046 100644 --- a/docs/TD_docs/constructors/channelChatInfo.md +++ b/docs/TD_docs/constructors/channelChatInfo.md @@ -26,6 +26,13 @@ Chat with unlimited number of members $channelChatInfo = ['_' => 'channelChatInfo', 'channel' => channel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelChatInfo","channel":"channel"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/channelFull.md b/docs/TD_docs/constructors/channelFull.md index ceecedae..4abdc406 100644 --- a/docs/TD_docs/constructors/channelFull.md +++ b/docs/TD_docs/constructors/channelFull.md @@ -36,6 +36,13 @@ Gives full information about a channel $channelFull = ['_' => 'channelFull', 'channel' => channel, 'about' => string, 'member_count' => int, 'administrator_count' => int, 'kicked_count' => int, 'can_get_members' => Bool, 'can_set_username' => Bool, 'invite_link' => string, 'pinned_message_id' => long, 'migrated_from_group_id' => int, 'migrated_from_max_message_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","channel":"channel","about":"string","member_count":"int","administrator_count":"int","kicked_count":"int","can_get_members":"Bool","can_set_username":"Bool","invite_link":"string","pinned_message_id":"long","migrated_from_group_id":"int","migrated_from_max_message_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/channelMembersAdministrators.md b/docs/TD_docs/constructors/channelMembersAdministrators.md index daac812d..1dfe7ab8 100644 --- a/docs/TD_docs/constructors/channelMembersAdministrators.md +++ b/docs/TD_docs/constructors/channelMembersAdministrators.md @@ -25,6 +25,13 @@ Return privileged members, i.e. creator, editors and moderators are returned $channelMembersAdministrators = ['_' => 'channelMembersAdministrators', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMembersAdministrators"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/channelMembersBots.md b/docs/TD_docs/constructors/channelMembersBots.md index 24b8b28b..5132fb58 100644 --- a/docs/TD_docs/constructors/channelMembersBots.md +++ b/docs/TD_docs/constructors/channelMembersBots.md @@ -25,6 +25,13 @@ Return bots in the channel $channelMembersBots = ['_' => 'channelMembersBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMembersBots"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/channelMembersKicked.md b/docs/TD_docs/constructors/channelMembersKicked.md index 7165471c..754ef7eb 100644 --- a/docs/TD_docs/constructors/channelMembersKicked.md +++ b/docs/TD_docs/constructors/channelMembersKicked.md @@ -25,6 +25,13 @@ Return kicked from the channel $channelMembersKicked = ['_' => 'channelMembersKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMembersKicked"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/channelMembersRecent.md b/docs/TD_docs/constructors/channelMembersRecent.md index aaa1c121..9de7af29 100644 --- a/docs/TD_docs/constructors/channelMembersRecent.md +++ b/docs/TD_docs/constructors/channelMembersRecent.md @@ -25,6 +25,13 @@ Return recently active users in reverse chronological order $channelMembersRecent = ['_' => 'channelMembersRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMembersRecent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/channels.md b/docs/TD_docs/constructors/channels.md index 68f5207e..7fa584f7 100644 --- a/docs/TD_docs/constructors/channels.md +++ b/docs/TD_docs/constructors/channels.md @@ -26,6 +26,13 @@ Contains list of channel identifiers $channels = ['_' => 'channels', 'channel_ids' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels","channel_ids":["int"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chat.md b/docs/TD_docs/constructors/chat.md index 829b6512..e4eba945 100644 --- a/docs/TD_docs/constructors/chat.md +++ b/docs/TD_docs/constructors/chat.md @@ -37,6 +37,13 @@ Chat (private chat or group chat or channel chat) $chat = ['_' => 'chat', 'id' => long, 'title' => string, 'photo' => chatPhoto, 'top_message' => message, 'order' => long, 'unread_count' => int, 'last_read_inbox_message_id' => long, 'last_read_outbox_message_id' => long, 'notification_settings' => notificationSettings, 'reply_markup_message_id' => long, 'draft_message' => draftMessage, 'type' => ChatInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","id":"long","title":"string","photo":"chatPhoto","top_message":"message","order":"long","unread_count":"int","last_read_inbox_message_id":"long","last_read_outbox_message_id":"long","notification_settings":"notificationSettings","reply_markup_message_id":"long","draft_message":"draftMessage","type":"ChatInfo"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chatInviteLink.md b/docs/TD_docs/constructors/chatInviteLink.md index 1a28d4a8..225e35a0 100644 --- a/docs/TD_docs/constructors/chatInviteLink.md +++ b/docs/TD_docs/constructors/chatInviteLink.md @@ -26,6 +26,13 @@ Contains chat invite link $chatInviteLink = ['_' => 'chatInviteLink', 'invite_link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteLink","invite_link":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chatInviteLinkInfo.md b/docs/TD_docs/constructors/chatInviteLinkInfo.md index 71297e17..bc76006e 100644 --- a/docs/TD_docs/constructors/chatInviteLinkInfo.md +++ b/docs/TD_docs/constructors/chatInviteLinkInfo.md @@ -34,6 +34,13 @@ Contains information about chat invite link $chatInviteLinkInfo = ['_' => 'chatInviteLinkInfo', 'chat_id' => long, 'title' => string, 'photo' => chatPhoto, 'member_count' => int, 'members' => [user], 'is_group' => Bool, 'is_channel' => Bool, 'is_public_channel' => Bool, 'is_supergroup_channel' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteLinkInfo","chat_id":"long","title":"string","photo":"chatPhoto","member_count":"int","members":["user"],"is_group":"Bool","is_channel":"Bool","is_public_channel":"Bool","is_supergroup_channel":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chatMember.md b/docs/TD_docs/constructors/chatMember.md index bcc94630..0c05098f 100644 --- a/docs/TD_docs/constructors/chatMember.md +++ b/docs/TD_docs/constructors/chatMember.md @@ -30,6 +30,13 @@ User with information about its chat joining/kicking $chatMember = ['_' => 'chatMember', 'user_id' => int, 'inviter_user_id' => int, 'join_date' => int, 'status' => ChatMemberStatus, 'bot_info' => botInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatMember","user_id":"int","inviter_user_id":"int","join_date":"int","status":"ChatMemberStatus","bot_info":"botInfo"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chatMemberStatusCreator.md b/docs/TD_docs/constructors/chatMemberStatusCreator.md index 4f7bb9d2..fd4883e9 100644 --- a/docs/TD_docs/constructors/chatMemberStatusCreator.md +++ b/docs/TD_docs/constructors/chatMemberStatusCreator.md @@ -25,6 +25,13 @@ Creator of the chat, can delete any message, kick any user and add editors and m $chatMemberStatusCreator = ['_' => 'chatMemberStatusCreator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatMemberStatusCreator"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chatMemberStatusEditor.md b/docs/TD_docs/constructors/chatMemberStatusEditor.md index 2ca45e73..1f549c5a 100644 --- a/docs/TD_docs/constructors/chatMemberStatusEditor.md +++ b/docs/TD_docs/constructors/chatMemberStatusEditor.md @@ -25,6 +25,13 @@ In broadcast channels, member that can post messages to the broadcast channel an $chatMemberStatusEditor = ['_' => 'chatMemberStatusEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatMemberStatusEditor"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chatMemberStatusKicked.md b/docs/TD_docs/constructors/chatMemberStatusKicked.md index ad9a6adf..8d73958c 100644 --- a/docs/TD_docs/constructors/chatMemberStatusKicked.md +++ b/docs/TD_docs/constructors/chatMemberStatusKicked.md @@ -25,6 +25,13 @@ User was kicked from the chat (and obviously is not a chat member) $chatMemberStatusKicked = ['_' => 'chatMemberStatusKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatMemberStatusKicked"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chatMemberStatusLeft.md b/docs/TD_docs/constructors/chatMemberStatusLeft.md index 67eccb02..2f017060 100644 --- a/docs/TD_docs/constructors/chatMemberStatusLeft.md +++ b/docs/TD_docs/constructors/chatMemberStatusLeft.md @@ -25,6 +25,13 @@ User is not a chat member $chatMemberStatusLeft = ['_' => 'chatMemberStatusLeft', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatMemberStatusLeft"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chatMemberStatusMember.md b/docs/TD_docs/constructors/chatMemberStatusMember.md index f8a1927b..f7319d36 100644 --- a/docs/TD_docs/constructors/chatMemberStatusMember.md +++ b/docs/TD_docs/constructors/chatMemberStatusMember.md @@ -25,6 +25,13 @@ User is a member of the chat, but have no any additional privileges $chatMemberStatusMember = ['_' => 'chatMemberStatusMember', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatMemberStatusMember"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chatMemberStatusModerator.md b/docs/TD_docs/constructors/chatMemberStatusModerator.md index 5cecc6fa..b95a3fed 100644 --- a/docs/TD_docs/constructors/chatMemberStatusModerator.md +++ b/docs/TD_docs/constructors/chatMemberStatusModerator.md @@ -25,6 +25,13 @@ Only for channels, member that can delete messages of unprivileged members and k $chatMemberStatusModerator = ['_' => 'chatMemberStatusModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatMemberStatusModerator"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chatMembers.md b/docs/TD_docs/constructors/chatMembers.md index 67cc539a..eeade184 100644 --- a/docs/TD_docs/constructors/chatMembers.md +++ b/docs/TD_docs/constructors/chatMembers.md @@ -27,6 +27,13 @@ Contains list of chat members $chatMembers = ['_' => 'chatMembers', 'total_count' => int, 'members' => [chatMember], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatMembers","total_count":"int","members":["chatMember"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chatPhoto.md b/docs/TD_docs/constructors/chatPhoto.md index 3fc433d9..83cd7332 100644 --- a/docs/TD_docs/constructors/chatPhoto.md +++ b/docs/TD_docs/constructors/chatPhoto.md @@ -27,6 +27,13 @@ Describes chat photo $chatPhoto = ['_' => 'chatPhoto', 'small' => file, 'big' => file, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","small":"file","big":"file"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chatReportSpamState.md b/docs/TD_docs/constructors/chatReportSpamState.md index a7e05159..b37a0466 100644 --- a/docs/TD_docs/constructors/chatReportSpamState.md +++ b/docs/TD_docs/constructors/chatReportSpamState.md @@ -26,6 +26,13 @@ Contains information about chat report spam state $chatReportSpamState = ['_' => 'chatReportSpamState', 'can_report_spam' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatReportSpamState","can_report_spam":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/chats.md b/docs/TD_docs/constructors/chats.md index 7c5ec42b..b1f28f14 100644 --- a/docs/TD_docs/constructors/chats.md +++ b/docs/TD_docs/constructors/chats.md @@ -26,6 +26,13 @@ Contains list of chats $chats = ['_' => 'chats', 'chats' => [chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chats","chats":["chat"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/contact.md b/docs/TD_docs/constructors/contact.md index 9fa665a3..6db6da81 100644 --- a/docs/TD_docs/constructors/contact.md +++ b/docs/TD_docs/constructors/contact.md @@ -29,6 +29,13 @@ Describes user contact $contact = ['_' => 'contact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/deviceTokenSet.md b/docs/TD_docs/constructors/deviceTokenSet.md index c4ef2b98..bcd43085 100644 --- a/docs/TD_docs/constructors/deviceTokenSet.md +++ b/docs/TD_docs/constructors/deviceTokenSet.md @@ -26,6 +26,13 @@ Contains list of device tokens $deviceTokenSet = ['_' => 'deviceTokenSet', 'tokens' => [DeviceToken], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"deviceTokenSet","tokens":["DeviceToken"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/document.md b/docs/TD_docs/constructors/document.md index 51a0813d..ca5c975e 100644 --- a/docs/TD_docs/constructors/document.md +++ b/docs/TD_docs/constructors/document.md @@ -29,6 +29,13 @@ Describes document of any type $document = ['_' => 'document', 'file_name' => string, 'mime_type' => string, 'thumb' => photoSize, 'document' => file, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","file_name":"string","mime_type":"string","thumb":"photoSize","document":"file"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/draftMessage.md b/docs/TD_docs/constructors/draftMessage.md index ffc51898..ff720974 100644 --- a/docs/TD_docs/constructors/draftMessage.md +++ b/docs/TD_docs/constructors/draftMessage.md @@ -27,6 +27,13 @@ Contains information about draft of a message $draftMessage = ['_' => 'draftMessage', 'reply_to_message_id' => long, 'input_message_text' => InputMessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessage","reply_to_message_id":"long","input_message_text":"InputMessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/error.md b/docs/TD_docs/constructors/error.md index fb178bd0..ba348c29 100644 --- a/docs/TD_docs/constructors/error.md +++ b/docs/TD_docs/constructors/error.md @@ -27,6 +27,13 @@ Object of this type may be returned on every function call in case of the error $error = ['_' => 'error', 'code' => int, 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","message":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/file.md b/docs/TD_docs/constructors/file.md index d663c1b4..47fd5060 100644 --- a/docs/TD_docs/constructors/file.md +++ b/docs/TD_docs/constructors/file.md @@ -29,6 +29,13 @@ Represents a file $file = ['_' => 'file', 'id' => int, 'persistent_id' => string, 'size' => int, 'path' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"file","id":"int","persistent_id":"string","size":"int","path":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/game.md b/docs/TD_docs/constructors/game.md index dd855eb2..679e271b 100644 --- a/docs/TD_docs/constructors/game.md +++ b/docs/TD_docs/constructors/game.md @@ -33,6 +33,13 @@ Describes a game $game = ['_' => 'game', 'id' => long, 'short_name' => string, 'title' => string, 'text' => string, 'text_entities' => [MessageEntity], 'description' => string, 'photo' => photo, 'animation' => animation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"game","id":"long","short_name":"string","title":"string","text":"string","text_entities":["MessageEntity"],"description":"string","photo":"photo","animation":"animation"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/gameHighScore.md b/docs/TD_docs/constructors/gameHighScore.md index 416d144f..25d89346 100644 --- a/docs/TD_docs/constructors/gameHighScore.md +++ b/docs/TD_docs/constructors/gameHighScore.md @@ -28,6 +28,13 @@ Contains one row of the game high scores table $gameHighScore = ['_' => 'gameHighScore', 'position' => int, 'user_id' => int, 'score' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"gameHighScore","position":"int","user_id":"int","score":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/gameHighScores.md b/docs/TD_docs/constructors/gameHighScores.md index c07a0c0b..389f2abd 100644 --- a/docs/TD_docs/constructors/gameHighScores.md +++ b/docs/TD_docs/constructors/gameHighScores.md @@ -26,6 +26,13 @@ Contains list of game high scores $gameHighScores = ['_' => 'gameHighScores', 'scores' => [gameHighScore], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"gameHighScores","scores":["gameHighScore"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/gcmDeviceToken.md b/docs/TD_docs/constructors/gcmDeviceToken.md index 08ae59ee..0c21bd91 100644 --- a/docs/TD_docs/constructors/gcmDeviceToken.md +++ b/docs/TD_docs/constructors/gcmDeviceToken.md @@ -26,6 +26,13 @@ Token for GCM $gcmDeviceToken = ['_' => 'gcmDeviceToken', 'token' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"gcmDeviceToken","token":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/group.md b/docs/TD_docs/constructors/group.md index 8818f7ee..dcee41ed 100644 --- a/docs/TD_docs/constructors/group.md +++ b/docs/TD_docs/constructors/group.md @@ -31,6 +31,13 @@ Represents a group of zero or more other users $group = ['_' => 'group', 'id' => int, 'member_count' => int, 'status' => ChatMemberStatus, 'anyone_can_edit' => Bool, 'is_active' => Bool, 'migrated_to_channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"group","id":"int","member_count":"int","status":"ChatMemberStatus","anyone_can_edit":"Bool","is_active":"Bool","migrated_to_channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/groupChatInfo.md b/docs/TD_docs/constructors/groupChatInfo.md index fb094b21..5008f0c6 100644 --- a/docs/TD_docs/constructors/groupChatInfo.md +++ b/docs/TD_docs/constructors/groupChatInfo.md @@ -26,6 +26,13 @@ Chat with zero or more other users $groupChatInfo = ['_' => 'groupChatInfo', 'group' => group, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"groupChatInfo","group":"group"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/groupFull.md b/docs/TD_docs/constructors/groupFull.md index d7127ead..77e1054a 100644 --- a/docs/TD_docs/constructors/groupFull.md +++ b/docs/TD_docs/constructors/groupFull.md @@ -29,6 +29,13 @@ Gives full information about a group $groupFull = ['_' => 'groupFull', 'group' => group, 'creator_user_id' => int, 'members' => [chatMember], 'invite_link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"groupFull","group":"group","creator_user_id":"int","members":["chatMember"],"invite_link":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineKeyboardButton.md b/docs/TD_docs/constructors/inlineKeyboardButton.md index 75c23333..2ea97ee6 100644 --- a/docs/TD_docs/constructors/inlineKeyboardButton.md +++ b/docs/TD_docs/constructors/inlineKeyboardButton.md @@ -27,6 +27,13 @@ Represents one button of the inline keyboard $inlineKeyboardButton = ['_' => 'inlineKeyboardButton', 'text' => string, 'type' => InlineKeyboardButtonType, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineKeyboardButton","text":"string","type":"InlineKeyboardButtonType"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallback.md b/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallback.md index 060b811c..a41e5428 100644 --- a/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallback.md +++ b/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallback.md @@ -26,6 +26,13 @@ A button which sends to the bot special callback query $inlineKeyboardButtonTypeCallback = ['_' => 'inlineKeyboardButtonTypeCallback', 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineKeyboardButtonTypeCallback","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallbackGame.md b/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallbackGame.md index 0e7af1b5..afa01b6e 100644 --- a/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallbackGame.md +++ b/docs/TD_docs/constructors/inlineKeyboardButtonTypeCallbackGame.md @@ -25,6 +25,13 @@ A button with a game which sends to the bot special callback query, must be in t $inlineKeyboardButtonTypeCallbackGame = ['_' => 'inlineKeyboardButtonTypeCallbackGame', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineKeyboardButtonTypeCallbackGame"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineKeyboardButtonTypeSwitchInline.md b/docs/TD_docs/constructors/inlineKeyboardButtonTypeSwitchInline.md index 1ba35168..ddd7a3db 100644 --- a/docs/TD_docs/constructors/inlineKeyboardButtonTypeSwitchInline.md +++ b/docs/TD_docs/constructors/inlineKeyboardButtonTypeSwitchInline.md @@ -27,6 +27,13 @@ A button which forces inline query to the bot to be substitued in the input fiel $inlineKeyboardButtonTypeSwitchInline = ['_' => 'inlineKeyboardButtonTypeSwitchInline', 'query' => string, 'in_current_chat' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineKeyboardButtonTypeSwitchInline","query":"string","in_current_chat":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineKeyboardButtonTypeUrl.md b/docs/TD_docs/constructors/inlineKeyboardButtonTypeUrl.md index d77adc93..bb2c47a0 100644 --- a/docs/TD_docs/constructors/inlineKeyboardButtonTypeUrl.md +++ b/docs/TD_docs/constructors/inlineKeyboardButtonTypeUrl.md @@ -26,6 +26,13 @@ A button which opens the specified URL $inlineKeyboardButtonTypeUrl = ['_' => 'inlineKeyboardButtonTypeUrl', 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineKeyboardButtonTypeUrl","url":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineQueryResultAnimation.md b/docs/TD_docs/constructors/inlineQueryResultAnimation.md index 252721df..f9c67612 100644 --- a/docs/TD_docs/constructors/inlineQueryResultAnimation.md +++ b/docs/TD_docs/constructors/inlineQueryResultAnimation.md @@ -28,6 +28,13 @@ Represents an animation cached on the telegram server $inlineQueryResultAnimation = ['_' => 'inlineQueryResultAnimation', 'id' => string, 'animation' => animation, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineQueryResultAnimation","id":"string","animation":"animation","title":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineQueryResultArticle.md b/docs/TD_docs/constructors/inlineQueryResultArticle.md index f3ae5bbc..1ebfe886 100644 --- a/docs/TD_docs/constructors/inlineQueryResultArticle.md +++ b/docs/TD_docs/constructors/inlineQueryResultArticle.md @@ -33,6 +33,13 @@ Represents link to an article or web page $inlineQueryResultArticle = ['_' => 'inlineQueryResultArticle', 'id' => string, 'url' => string, 'hide_url' => Bool, 'title' => string, 'description' => string, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineQueryResultArticle","id":"string","url":"string","hide_url":"Bool","title":"string","description":"string","thumb_url":"string","thumb_width":"int","thumb_height":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineQueryResultAudio.md b/docs/TD_docs/constructors/inlineQueryResultAudio.md index dd2ee1c3..f1586a2f 100644 --- a/docs/TD_docs/constructors/inlineQueryResultAudio.md +++ b/docs/TD_docs/constructors/inlineQueryResultAudio.md @@ -27,6 +27,13 @@ Represents an audio cached on the telegram server $inlineQueryResultAudio = ['_' => 'inlineQueryResultAudio', 'id' => string, 'audio' => audio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineQueryResultAudio","id":"string","audio":"audio"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineQueryResultContact.md b/docs/TD_docs/constructors/inlineQueryResultContact.md index fa5f96ed..16dd83c6 100644 --- a/docs/TD_docs/constructors/inlineQueryResultContact.md +++ b/docs/TD_docs/constructors/inlineQueryResultContact.md @@ -30,6 +30,13 @@ Represents user contact $inlineQueryResultContact = ['_' => 'inlineQueryResultContact', 'id' => string, 'contact' => contact, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineQueryResultContact","id":"string","contact":"contact","thumb_url":"string","thumb_width":"int","thumb_height":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineQueryResultDocument.md b/docs/TD_docs/constructors/inlineQueryResultDocument.md index bb248475..deb30a20 100644 --- a/docs/TD_docs/constructors/inlineQueryResultDocument.md +++ b/docs/TD_docs/constructors/inlineQueryResultDocument.md @@ -29,6 +29,13 @@ Represents a document cached on the telegram server $inlineQueryResultDocument = ['_' => 'inlineQueryResultDocument', 'id' => string, 'document' => document, 'title' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineQueryResultDocument","id":"string","document":"document","title":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineQueryResultGame.md b/docs/TD_docs/constructors/inlineQueryResultGame.md index 01b308d4..bb396bf2 100644 --- a/docs/TD_docs/constructors/inlineQueryResultGame.md +++ b/docs/TD_docs/constructors/inlineQueryResultGame.md @@ -27,6 +27,13 @@ Represents information about a game $inlineQueryResultGame = ['_' => 'inlineQueryResultGame', 'id' => string, 'game' => game, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineQueryResultGame","id":"string","game":"game"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineQueryResultLocation.md b/docs/TD_docs/constructors/inlineQueryResultLocation.md index a1e30ce9..b3f30bc9 100644 --- a/docs/TD_docs/constructors/inlineQueryResultLocation.md +++ b/docs/TD_docs/constructors/inlineQueryResultLocation.md @@ -31,6 +31,13 @@ Represents a point on the map $inlineQueryResultLocation = ['_' => 'inlineQueryResultLocation', 'id' => string, 'location' => location, 'title' => string, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineQueryResultLocation","id":"string","location":"location","title":"string","thumb_url":"string","thumb_width":"int","thumb_height":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineQueryResultPhoto.md b/docs/TD_docs/constructors/inlineQueryResultPhoto.md index d0a99f75..98a8436b 100644 --- a/docs/TD_docs/constructors/inlineQueryResultPhoto.md +++ b/docs/TD_docs/constructors/inlineQueryResultPhoto.md @@ -29,6 +29,13 @@ Represents a photo cached on the telegram server $inlineQueryResultPhoto = ['_' => 'inlineQueryResultPhoto', 'id' => string, 'photo' => photo, 'title' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineQueryResultPhoto","id":"string","photo":"photo","title":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineQueryResultSticker.md b/docs/TD_docs/constructors/inlineQueryResultSticker.md index f92b6758..d35dd6b3 100644 --- a/docs/TD_docs/constructors/inlineQueryResultSticker.md +++ b/docs/TD_docs/constructors/inlineQueryResultSticker.md @@ -27,6 +27,13 @@ Represents a sticker cached on the telegram server $inlineQueryResultSticker = ['_' => 'inlineQueryResultSticker', 'id' => string, 'sticker' => sticker, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineQueryResultSticker","id":"string","sticker":"sticker"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineQueryResultVenue.md b/docs/TD_docs/constructors/inlineQueryResultVenue.md index cc01d05d..4f4e77bd 100644 --- a/docs/TD_docs/constructors/inlineQueryResultVenue.md +++ b/docs/TD_docs/constructors/inlineQueryResultVenue.md @@ -30,6 +30,13 @@ Represents information about a venue $inlineQueryResultVenue = ['_' => 'inlineQueryResultVenue', 'id' => string, 'venue' => venue, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineQueryResultVenue","id":"string","venue":"venue","thumb_url":"string","thumb_width":"int","thumb_height":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineQueryResultVideo.md b/docs/TD_docs/constructors/inlineQueryResultVideo.md index 7b174ce8..18c4a63f 100644 --- a/docs/TD_docs/constructors/inlineQueryResultVideo.md +++ b/docs/TD_docs/constructors/inlineQueryResultVideo.md @@ -29,6 +29,13 @@ Represents a video cached on the telegram server $inlineQueryResultVideo = ['_' => 'inlineQueryResultVideo', 'id' => string, 'video' => video, 'title' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineQueryResultVideo","id":"string","video":"video","title":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineQueryResultVoice.md b/docs/TD_docs/constructors/inlineQueryResultVoice.md index 9c0297d6..7a7fa609 100644 --- a/docs/TD_docs/constructors/inlineQueryResultVoice.md +++ b/docs/TD_docs/constructors/inlineQueryResultVoice.md @@ -28,6 +28,13 @@ Represents a voice cached on the telegram server $inlineQueryResultVoice = ['_' => 'inlineQueryResultVoice', 'id' => string, 'voice' => voice, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineQueryResultVoice","id":"string","voice":"voice","title":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inlineQueryResults.md b/docs/TD_docs/constructors/inlineQueryResults.md index a0841ced..0b985e60 100644 --- a/docs/TD_docs/constructors/inlineQueryResults.md +++ b/docs/TD_docs/constructors/inlineQueryResults.md @@ -30,6 +30,13 @@ Represents results of the inline query. Use sendInlineQueryResultMessage to send $inlineQueryResults = ['_' => 'inlineQueryResults', 'inline_query_id' => long, 'next_offset' => string, 'results' => [InlineQueryResult], 'switch_pm_text' => string, 'switch_pm_parameter' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineQueryResults","inline_query_id":"long","next_offset":"string","results":["InlineQueryResult"],"switch_pm_text":"string","switch_pm_parameter":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputFileGenerated.md b/docs/TD_docs/constructors/inputFileGenerated.md index 3687368c..60a1c27d 100644 --- a/docs/TD_docs/constructors/inputFileGenerated.md +++ b/docs/TD_docs/constructors/inputFileGenerated.md @@ -29,6 +29,13 @@ File generated by the client $inputFileGenerated = ['_' => 'inputFileGenerated', 'original_path' => string, 'conversion' => string, 'expected_size' => int, 'should_cache' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileGenerated","original_path":"string","conversion":"string","expected_size":"int","should_cache":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputFileId.md b/docs/TD_docs/constructors/inputFileId.md index 06f041dc..c00248c7 100644 --- a/docs/TD_docs/constructors/inputFileId.md +++ b/docs/TD_docs/constructors/inputFileId.md @@ -26,6 +26,13 @@ File defined by its id $inputFileId = ['_' => 'inputFileId', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileId","id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputFileLocal.md b/docs/TD_docs/constructors/inputFileLocal.md index 416eb848..3272e9dc 100644 --- a/docs/TD_docs/constructors/inputFileLocal.md +++ b/docs/TD_docs/constructors/inputFileLocal.md @@ -26,6 +26,13 @@ File deifned by local path $inputFileLocal = ['_' => 'inputFileLocal', 'path' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocal","path":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputFilePersistentId.md b/docs/TD_docs/constructors/inputFilePersistentId.md index 24a10bad..2706ead4 100644 --- a/docs/TD_docs/constructors/inputFilePersistentId.md +++ b/docs/TD_docs/constructors/inputFilePersistentId.md @@ -26,6 +26,13 @@ File defined by its persistent id $inputFilePersistentId = ['_' => 'inputFilePersistentId', 'persistent_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFilePersistentId","persistent_id":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputInlineQueryResultAnimatedGif.md b/docs/TD_docs/constructors/inputInlineQueryResultAnimatedGif.md index 563eed4b..34dc61e5 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultAnimatedGif.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultAnimatedGif.md @@ -33,6 +33,13 @@ Represents link to an animated gif $inputInlineQueryResultAnimatedGif = ['_' => 'inputInlineQueryResultAnimatedGif', 'id' => string, 'title' => string, 'thumb_url' => string, 'gif_url' => string, 'gif_width' => int, 'gif_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputInlineQueryResultAnimatedGif","id":"string","title":"string","thumb_url":"string","gif_url":"string","gif_width":"int","gif_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputInlineQueryResultAnimatedMpeg4.md b/docs/TD_docs/constructors/inputInlineQueryResultAnimatedMpeg4.md index 2b8ba52e..e3c164f1 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultAnimatedMpeg4.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultAnimatedMpeg4.md @@ -33,6 +33,13 @@ Represents link to an animated (i.e. without sound) H.264/MPEG-4 AVC video $inputInlineQueryResultAnimatedMpeg4 = ['_' => 'inputInlineQueryResultAnimatedMpeg4', 'id' => string, 'title' => string, 'thumb_url' => string, 'mpeg4_url' => string, 'mpeg4_width' => int, 'mpeg4_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputInlineQueryResultAnimatedMpeg4","id":"string","title":"string","thumb_url":"string","mpeg4_url":"string","mpeg4_width":"int","mpeg4_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputInlineQueryResultArticle.md b/docs/TD_docs/constructors/inputInlineQueryResultArticle.md index 04c8cd1f..846712c1 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultArticle.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultArticle.md @@ -35,6 +35,13 @@ Represents link to an article or web page $inputInlineQueryResultArticle = ['_' => 'inputInlineQueryResultArticle', 'id' => string, 'url' => string, 'hide_url' => Bool, 'title' => string, 'description' => string, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputInlineQueryResultArticle","id":"string","url":"string","hide_url":"Bool","title":"string","description":"string","thumb_url":"string","thumb_width":"int","thumb_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputInlineQueryResultAudio.md b/docs/TD_docs/constructors/inputInlineQueryResultAudio.md index 37d5a741..1b083a4b 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultAudio.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultAudio.md @@ -32,6 +32,13 @@ Represents link to a mp3 audio file $inputInlineQueryResultAudio = ['_' => 'inputInlineQueryResultAudio', 'id' => string, 'title' => string, 'performer' => string, 'audio_url' => string, 'audio_duration' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputInlineQueryResultAudio","id":"string","title":"string","performer":"string","audio_url":"string","audio_duration":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputInlineQueryResultContact.md b/docs/TD_docs/constructors/inputInlineQueryResultContact.md index f721319f..a70e4ece 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultContact.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultContact.md @@ -32,6 +32,13 @@ Represents user contact $inputInlineQueryResultContact = ['_' => 'inputInlineQueryResultContact', 'id' => string, 'contact' => contact, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputInlineQueryResultContact","id":"string","contact":"contact","thumb_url":"string","thumb_width":"int","thumb_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputInlineQueryResultDocument.md b/docs/TD_docs/constructors/inputInlineQueryResultDocument.md index efc9cd5d..f930342a 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultDocument.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultDocument.md @@ -35,6 +35,13 @@ Represents link to a file $inputInlineQueryResultDocument = ['_' => 'inputInlineQueryResultDocument', 'id' => string, 'title' => string, 'description' => string, 'document_url' => string, 'mime_type' => string, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputInlineQueryResultDocument","id":"string","title":"string","description":"string","document_url":"string","mime_type":"string","thumb_url":"string","thumb_width":"int","thumb_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputInlineQueryResultGame.md b/docs/TD_docs/constructors/inputInlineQueryResultGame.md index 3919422e..8a945e6b 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultGame.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultGame.md @@ -28,6 +28,13 @@ Represents a game $inputInlineQueryResultGame = ['_' => 'inputInlineQueryResultGame', 'id' => string, 'game_short_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputInlineQueryResultGame","id":"string","game_short_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputInlineQueryResultLocation.md b/docs/TD_docs/constructors/inputInlineQueryResultLocation.md index beea62af..bacb4a1a 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultLocation.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultLocation.md @@ -33,6 +33,13 @@ Represents a point on the map $inputInlineQueryResultLocation = ['_' => 'inputInlineQueryResultLocation', 'id' => string, 'location' => location, 'title' => string, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputInlineQueryResultLocation","id":"string","location":"location","title":"string","thumb_url":"string","thumb_width":"int","thumb_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputInlineQueryResultPhoto.md b/docs/TD_docs/constructors/inputInlineQueryResultPhoto.md index 235ceaba..fc57a2b7 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultPhoto.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultPhoto.md @@ -34,6 +34,13 @@ Represents link to a jpeg photo $inputInlineQueryResultPhoto = ['_' => 'inputInlineQueryResultPhoto', 'id' => string, 'title' => string, 'description' => string, 'thumb_url' => string, 'photo_url' => string, 'photo_width' => int, 'photo_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputInlineQueryResultPhoto","id":"string","title":"string","description":"string","thumb_url":"string","photo_url":"string","photo_width":"int","photo_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputInlineQueryResultSticker.md b/docs/TD_docs/constructors/inputInlineQueryResultSticker.md index d4a63e77..2d2b9791 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultSticker.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultSticker.md @@ -32,6 +32,13 @@ Represents link to a webp sticker $inputInlineQueryResultSticker = ['_' => 'inputInlineQueryResultSticker', 'id' => string, 'thumb_url' => string, 'sticker_url' => string, 'sticker_width' => int, 'sticker_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputInlineQueryResultSticker","id":"string","thumb_url":"string","sticker_url":"string","sticker_width":"int","sticker_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputInlineQueryResultVenue.md b/docs/TD_docs/constructors/inputInlineQueryResultVenue.md index 32ce4c1d..8d91589d 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultVenue.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultVenue.md @@ -32,6 +32,13 @@ Represents information about a venue $inputInlineQueryResultVenue = ['_' => 'inputInlineQueryResultVenue', 'id' => string, 'venue' => venue, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputInlineQueryResultVenue","id":"string","venue":"venue","thumb_url":"string","thumb_width":"int","thumb_height":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputInlineQueryResultVideo.md b/docs/TD_docs/constructors/inputInlineQueryResultVideo.md index 3b070252..fc65341e 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultVideo.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultVideo.md @@ -36,6 +36,13 @@ Represents link to a page containing an embedded video player or a video file $inputInlineQueryResultVideo = ['_' => 'inputInlineQueryResultVideo', 'id' => string, 'title' => string, 'description' => string, 'thumb_url' => string, 'video_url' => string, 'mime_type' => string, 'video_width' => int, 'video_height' => int, 'video_duration' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputInlineQueryResultVideo","id":"string","title":"string","description":"string","thumb_url":"string","video_url":"string","mime_type":"string","video_width":"int","video_height":"int","video_duration":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputInlineQueryResultVoice.md b/docs/TD_docs/constructors/inputInlineQueryResultVoice.md index 5f4eef03..8138dccf 100644 --- a/docs/TD_docs/constructors/inputInlineQueryResultVoice.md +++ b/docs/TD_docs/constructors/inputInlineQueryResultVoice.md @@ -31,6 +31,13 @@ Represents link to a opus encoded audio file in ogg container $inputInlineQueryResultVoice = ['_' => 'inputInlineQueryResultVoice', 'id' => string, 'title' => string, 'voice_url' => string, 'voice_duration' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputInlineQueryResultVoice","id":"string","title":"string","voice_url":"string","voice_duration":"int","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputMessageAnimation.md b/docs/TD_docs/constructors/inputMessageAnimation.md index eb1c4909..e7c408a3 100644 --- a/docs/TD_docs/constructors/inputMessageAnimation.md +++ b/docs/TD_docs/constructors/inputMessageAnimation.md @@ -30,6 +30,13 @@ Animation message $inputMessageAnimation = ['_' => 'inputMessageAnimation', 'animation' => InputFile, 'thumb' => InputThumb, 'width' => int, 'height' => int, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageAnimation","animation":"InputFile","thumb":"InputThumb","width":"int","height":"int","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputMessageAudio.md b/docs/TD_docs/constructors/inputMessageAudio.md index 50dac88d..06e84a38 100644 --- a/docs/TD_docs/constructors/inputMessageAudio.md +++ b/docs/TD_docs/constructors/inputMessageAudio.md @@ -31,6 +31,13 @@ Audio message $inputMessageAudio = ['_' => 'inputMessageAudio', 'audio' => InputFile, 'album_cover_thumb' => InputThumb, 'duration' => int, 'title' => string, 'performer' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageAudio","audio":"InputFile","album_cover_thumb":"InputThumb","duration":"int","title":"string","performer":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputMessageContact.md b/docs/TD_docs/constructors/inputMessageContact.md index a0c69e34..0199bdab 100644 --- a/docs/TD_docs/constructors/inputMessageContact.md +++ b/docs/TD_docs/constructors/inputMessageContact.md @@ -26,6 +26,13 @@ User contact message $inputMessageContact = ['_' => 'inputMessageContact', 'contact' => contact, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageContact","contact":"contact"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputMessageDocument.md b/docs/TD_docs/constructors/inputMessageDocument.md index 036a1018..c5f51ff1 100644 --- a/docs/TD_docs/constructors/inputMessageDocument.md +++ b/docs/TD_docs/constructors/inputMessageDocument.md @@ -28,6 +28,13 @@ Document message $inputMessageDocument = ['_' => 'inputMessageDocument', 'document' => InputFile, 'thumb' => InputThumb, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageDocument","document":"InputFile","thumb":"InputThumb","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputMessageForwarded.md b/docs/TD_docs/constructors/inputMessageForwarded.md index d885036b..f57feecf 100644 --- a/docs/TD_docs/constructors/inputMessageForwarded.md +++ b/docs/TD_docs/constructors/inputMessageForwarded.md @@ -28,6 +28,13 @@ Forwarded message $inputMessageForwarded = ['_' => 'inputMessageForwarded', 'from_chat_id' => long, 'message_id' => long, 'in_game_share' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageForwarded","from_chat_id":"long","message_id":"long","in_game_share":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputMessageGame.md b/docs/TD_docs/constructors/inputMessageGame.md index edbfe0f4..e7d5e328 100644 --- a/docs/TD_docs/constructors/inputMessageGame.md +++ b/docs/TD_docs/constructors/inputMessageGame.md @@ -27,6 +27,13 @@ Message with a game, can't be used in broadcast channels and secret chats $inputMessageGame = ['_' => 'inputMessageGame', 'bot_user_id' => int, 'game_short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageGame","bot_user_id":"int","game_short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputMessageLocation.md b/docs/TD_docs/constructors/inputMessageLocation.md index 458987be..fcbf9677 100644 --- a/docs/TD_docs/constructors/inputMessageLocation.md +++ b/docs/TD_docs/constructors/inputMessageLocation.md @@ -26,6 +26,13 @@ Message with location $inputMessageLocation = ['_' => 'inputMessageLocation', 'location' => location, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageLocation","location":"location"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputMessagePhoto.md b/docs/TD_docs/constructors/inputMessagePhoto.md index 2fd910e7..40043ba0 100644 --- a/docs/TD_docs/constructors/inputMessagePhoto.md +++ b/docs/TD_docs/constructors/inputMessagePhoto.md @@ -31,6 +31,13 @@ Photo message $inputMessagePhoto = ['_' => 'inputMessagePhoto', 'photo' => InputFile, 'thumb' => InputThumb, 'added_sticker_file_ids' => [int], 'width' => int, 'height' => int, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagePhoto","photo":"InputFile","thumb":"InputThumb","added_sticker_file_ids":["int"],"width":"int","height":"int","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputMessageSticker.md b/docs/TD_docs/constructors/inputMessageSticker.md index e01be69e..88045bcd 100644 --- a/docs/TD_docs/constructors/inputMessageSticker.md +++ b/docs/TD_docs/constructors/inputMessageSticker.md @@ -29,6 +29,13 @@ Sticker message $inputMessageSticker = ['_' => 'inputMessageSticker', 'sticker' => InputFile, 'thumb' => InputThumb, 'width' => int, 'height' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageSticker","sticker":"InputFile","thumb":"InputThumb","width":"int","height":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputMessageText.md b/docs/TD_docs/constructors/inputMessageText.md index 91c4cf30..998b3a70 100644 --- a/docs/TD_docs/constructors/inputMessageText.md +++ b/docs/TD_docs/constructors/inputMessageText.md @@ -30,6 +30,13 @@ Text message $inputMessageText = ['_' => 'inputMessageText', 'text' => string, 'disable_web_page_preview' => Bool, 'clear_draft' => Bool, 'entities' => [MessageEntity], 'parse_mode' => TextParseMode, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageText","text":"string","disable_web_page_preview":"Bool","clear_draft":"Bool","entities":["MessageEntity"],"parse_mode":"TextParseMode"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputMessageVenue.md b/docs/TD_docs/constructors/inputMessageVenue.md index 0176883e..5fad4f9c 100644 --- a/docs/TD_docs/constructors/inputMessageVenue.md +++ b/docs/TD_docs/constructors/inputMessageVenue.md @@ -26,6 +26,13 @@ Message with information about venue $inputMessageVenue = ['_' => 'inputMessageVenue', 'venue' => venue, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageVenue","venue":"venue"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputMessageVideo.md b/docs/TD_docs/constructors/inputMessageVideo.md index 79b62fb3..b6f7965e 100644 --- a/docs/TD_docs/constructors/inputMessageVideo.md +++ b/docs/TD_docs/constructors/inputMessageVideo.md @@ -32,6 +32,13 @@ Video message $inputMessageVideo = ['_' => 'inputMessageVideo', 'video' => InputFile, 'thumb' => InputThumb, 'added_sticker_file_ids' => [int], 'duration' => int, 'width' => int, 'height' => int, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageVideo","video":"InputFile","thumb":"InputThumb","added_sticker_file_ids":["int"],"duration":"int","width":"int","height":"int","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputMessageVoice.md b/docs/TD_docs/constructors/inputMessageVoice.md index 05c08814..ec2fd1d7 100644 --- a/docs/TD_docs/constructors/inputMessageVoice.md +++ b/docs/TD_docs/constructors/inputMessageVoice.md @@ -29,6 +29,13 @@ Voice message $inputMessageVoice = ['_' => 'inputMessageVoice', 'voice' => InputFile, 'duration' => int, 'waveform' => bytes, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageVoice","voice":"InputFile","duration":"int","waveform":"bytes","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputThumbGenerated.md b/docs/TD_docs/constructors/inputThumbGenerated.md index a376424e..cd0351ff 100644 --- a/docs/TD_docs/constructors/inputThumbGenerated.md +++ b/docs/TD_docs/constructors/inputThumbGenerated.md @@ -29,6 +29,13 @@ Generated thumb $inputThumbGenerated = ['_' => 'inputThumbGenerated', 'original_path' => string, 'conversion' => string, 'width' => int, 'height' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputThumbGenerated","original_path":"string","conversion":"string","width":"int","height":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/inputThumbLocal.md b/docs/TD_docs/constructors/inputThumbLocal.md index b83fb583..1ad89627 100644 --- a/docs/TD_docs/constructors/inputThumbLocal.md +++ b/docs/TD_docs/constructors/inputThumbLocal.md @@ -28,6 +28,13 @@ Local file with the thumb $inputThumbLocal = ['_' => 'inputThumbLocal', 'path' => string, 'width' => int, 'height' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputThumbLocal","path":"string","width":"int","height":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/keyboardButton.md b/docs/TD_docs/constructors/keyboardButton.md index 14d709f1..f6a2ef40 100644 --- a/docs/TD_docs/constructors/keyboardButton.md +++ b/docs/TD_docs/constructors/keyboardButton.md @@ -27,6 +27,13 @@ Represents one button of the bot keyboard $keyboardButton = ['_' => 'keyboardButton', 'text' => string, 'type' => KeyboardButtonType, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string","type":"KeyboardButtonType"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/keyboardButtonTypeRequestLocation.md b/docs/TD_docs/constructors/keyboardButtonTypeRequestLocation.md index dfe2f508..99e8158c 100644 --- a/docs/TD_docs/constructors/keyboardButtonTypeRequestLocation.md +++ b/docs/TD_docs/constructors/keyboardButtonTypeRequestLocation.md @@ -25,6 +25,13 @@ A button which sends user location when pressed, available only in private chats $keyboardButtonTypeRequestLocation = ['_' => 'keyboardButtonTypeRequestLocation', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonTypeRequestLocation"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/keyboardButtonTypeRequestPhoneNumber.md b/docs/TD_docs/constructors/keyboardButtonTypeRequestPhoneNumber.md index 53f72b8b..24b8e6a2 100644 --- a/docs/TD_docs/constructors/keyboardButtonTypeRequestPhoneNumber.md +++ b/docs/TD_docs/constructors/keyboardButtonTypeRequestPhoneNumber.md @@ -25,6 +25,13 @@ A button which sends user's phone number when pressed, available only in private $keyboardButtonTypeRequestPhoneNumber = ['_' => 'keyboardButtonTypeRequestPhoneNumber', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonTypeRequestPhoneNumber"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/keyboardButtonTypeText.md b/docs/TD_docs/constructors/keyboardButtonTypeText.md index 5e5e0dca..7079858a 100644 --- a/docs/TD_docs/constructors/keyboardButtonTypeText.md +++ b/docs/TD_docs/constructors/keyboardButtonTypeText.md @@ -25,6 +25,13 @@ Simple button with a text, which should be sent when the button is pressed $keyboardButtonTypeText = ['_' => 'keyboardButtonTypeText', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonTypeText"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/linkStateContact.md b/docs/TD_docs/constructors/linkStateContact.md index e50b6d6f..9144afa0 100644 --- a/docs/TD_docs/constructors/linkStateContact.md +++ b/docs/TD_docs/constructors/linkStateContact.md @@ -25,6 +25,13 @@ Other user is in contacts list, particularly its phone number is known $linkStateContact = ['_' => 'linkStateContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"linkStateContact"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/linkStateKnowsPhoneNumber.md b/docs/TD_docs/constructors/linkStateKnowsPhoneNumber.md index 15c4ad63..b86e179f 100644 --- a/docs/TD_docs/constructors/linkStateKnowsPhoneNumber.md +++ b/docs/TD_docs/constructors/linkStateKnowsPhoneNumber.md @@ -25,6 +25,13 @@ Other user's phone number is known but user not in contacts list $linkStateKnowsPhoneNumber = ['_' => 'linkStateKnowsPhoneNumber', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"linkStateKnowsPhoneNumber"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/linkStateNone.md b/docs/TD_docs/constructors/linkStateNone.md index 163366f9..7626300e 100644 --- a/docs/TD_docs/constructors/linkStateNone.md +++ b/docs/TD_docs/constructors/linkStateNone.md @@ -25,6 +25,13 @@ Other user's phone number doesn't known $linkStateNone = ['_' => 'linkStateNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"linkStateNone"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/location.md b/docs/TD_docs/constructors/location.md index 5642494e..c74c1d87 100644 --- a/docs/TD_docs/constructors/location.md +++ b/docs/TD_docs/constructors/location.md @@ -27,6 +27,13 @@ Describes location on Earth $location = ['_' => 'location', 'latitude' => double, 'longitude' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"location","latitude":"double","longitude":"double"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/maskPosition.md b/docs/TD_docs/constructors/maskPosition.md index cef154f2..ba19e6b9 100644 --- a/docs/TD_docs/constructors/maskPosition.md +++ b/docs/TD_docs/constructors/maskPosition.md @@ -29,6 +29,13 @@ Position on a photo where a mask should be placed $maskPosition = ['_' => 'maskPosition', 'point' => int, 'x_shift' => double, 'y_shift' => double, 'zoom' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"maskPosition","point":"int","x_shift":"double","y_shift":"double","zoom":"double"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/message.md b/docs/TD_docs/constructors/message.md index 3c9ffe9f..1146ea09 100644 --- a/docs/TD_docs/constructors/message.md +++ b/docs/TD_docs/constructors/message.md @@ -42,6 +42,13 @@ Describes message $message = ['_' => 'message', 'id' => long, 'sender_user_id' => int, 'chat_id' => long, 'send_state' => MessageSendState, 'can_be_edited' => Bool, 'can_be_deleted' => Bool, 'is_post' => Bool, 'date' => int, 'edit_date' => int, 'forward_info' => MessageForwardInfo, 'reply_to_message_id' => long, 'ttl' => int, 'ttl_expires_in' => double, 'via_bot_user_id' => int, 'views' => int, 'content' => MessageContent, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","id":"long","sender_user_id":"int","chat_id":"long","send_state":"MessageSendState","can_be_edited":"Bool","can_be_deleted":"Bool","is_post":"Bool","date":"int","edit_date":"int","forward_info":"MessageForwardInfo","reply_to_message_id":"long","ttl":"int","ttl_expires_in":"double","via_bot_user_id":"int","views":"int","content":"MessageContent","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageAnimation.md b/docs/TD_docs/constructors/messageAnimation.md index 080f1792..d33aa064 100644 --- a/docs/TD_docs/constructors/messageAnimation.md +++ b/docs/TD_docs/constructors/messageAnimation.md @@ -27,6 +27,13 @@ Animation message $messageAnimation = ['_' => 'messageAnimation', 'animation' => animation, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageAnimation","animation":"animation","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageAudio.md b/docs/TD_docs/constructors/messageAudio.md index 06a0d9f5..7d9d704d 100644 --- a/docs/TD_docs/constructors/messageAudio.md +++ b/docs/TD_docs/constructors/messageAudio.md @@ -28,6 +28,13 @@ Audio message $messageAudio = ['_' => 'messageAudio', 'audio' => audio, 'caption' => string, 'is_listened' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageAudio","audio":"audio","caption":"string","is_listened":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageChannelChatCreate.md b/docs/TD_docs/constructors/messageChannelChatCreate.md index 3a55d587..874f9801 100644 --- a/docs/TD_docs/constructors/messageChannelChatCreate.md +++ b/docs/TD_docs/constructors/messageChannelChatCreate.md @@ -26,6 +26,13 @@ New channel chat created $messageChannelChatCreate = ['_' => 'messageChannelChatCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageChannelChatCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageChatAddMembers.md b/docs/TD_docs/constructors/messageChatAddMembers.md index 48fe2a7d..a86e1616 100644 --- a/docs/TD_docs/constructors/messageChatAddMembers.md +++ b/docs/TD_docs/constructors/messageChatAddMembers.md @@ -26,6 +26,13 @@ Chat members added $messageChatAddMembers = ['_' => 'messageChatAddMembers', 'members' => [user], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageChatAddMembers","members":["user"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageChatChangePhoto.md b/docs/TD_docs/constructors/messageChatChangePhoto.md index 8f9423d5..9e09a9d2 100644 --- a/docs/TD_docs/constructors/messageChatChangePhoto.md +++ b/docs/TD_docs/constructors/messageChatChangePhoto.md @@ -26,6 +26,13 @@ Chat photo changed $messageChatChangePhoto = ['_' => 'messageChatChangePhoto', 'photo' => photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageChatChangePhoto","photo":"photo"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageChatChangeTitle.md b/docs/TD_docs/constructors/messageChatChangeTitle.md index d5f0eb75..3559ef30 100644 --- a/docs/TD_docs/constructors/messageChatChangeTitle.md +++ b/docs/TD_docs/constructors/messageChatChangeTitle.md @@ -26,6 +26,13 @@ Chat title changed $messageChatChangeTitle = ['_' => 'messageChatChangeTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageChatChangeTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageChatDeleteMember.md b/docs/TD_docs/constructors/messageChatDeleteMember.md index 6061533f..4c3b2af2 100644 --- a/docs/TD_docs/constructors/messageChatDeleteMember.md +++ b/docs/TD_docs/constructors/messageChatDeleteMember.md @@ -26,6 +26,13 @@ Chat member deleted $messageChatDeleteMember = ['_' => 'messageChatDeleteMember', 'user' => user, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageChatDeleteMember","user":"user"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageChatDeletePhoto.md b/docs/TD_docs/constructors/messageChatDeletePhoto.md index 5754a0d5..0f9550f8 100644 --- a/docs/TD_docs/constructors/messageChatDeletePhoto.md +++ b/docs/TD_docs/constructors/messageChatDeletePhoto.md @@ -25,6 +25,13 @@ Chat photo deleted $messageChatDeletePhoto = ['_' => 'messageChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageChatJoinByLink.md b/docs/TD_docs/constructors/messageChatJoinByLink.md index 2a4da437..54f94f3d 100644 --- a/docs/TD_docs/constructors/messageChatJoinByLink.md +++ b/docs/TD_docs/constructors/messageChatJoinByLink.md @@ -25,6 +25,13 @@ Chat member joined by invite link $messageChatJoinByLink = ['_' => 'messageChatJoinByLink', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageChatJoinByLink"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageChatMigrateFrom.md b/docs/TD_docs/constructors/messageChatMigrateFrom.md index b6cc4333..085493cd 100644 --- a/docs/TD_docs/constructors/messageChatMigrateFrom.md +++ b/docs/TD_docs/constructors/messageChatMigrateFrom.md @@ -27,6 +27,13 @@ Supergroup channel is created from group chat $messageChatMigrateFrom = ['_' => 'messageChatMigrateFrom', 'title' => string, 'group_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageChatMigrateFrom","title":"string","group_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageChatMigrateTo.md b/docs/TD_docs/constructors/messageChatMigrateTo.md index ebd65995..0ce392c8 100644 --- a/docs/TD_docs/constructors/messageChatMigrateTo.md +++ b/docs/TD_docs/constructors/messageChatMigrateTo.md @@ -26,6 +26,13 @@ Group chat is migrated to supergroup channel and deactivated $messageChatMigrateTo = ['_' => 'messageChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageChatSetTtl.md b/docs/TD_docs/constructors/messageChatSetTtl.md index cc66fbb0..75ba615e 100644 --- a/docs/TD_docs/constructors/messageChatSetTtl.md +++ b/docs/TD_docs/constructors/messageChatSetTtl.md @@ -26,6 +26,13 @@ Messages ttl setting in secret chat has changed $messageChatSetTtl = ['_' => 'messageChatSetTtl', 'ttl' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageChatSetTtl","ttl":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageContact.md b/docs/TD_docs/constructors/messageContact.md index d91d61fc..29ec09c9 100644 --- a/docs/TD_docs/constructors/messageContact.md +++ b/docs/TD_docs/constructors/messageContact.md @@ -26,6 +26,13 @@ User contact message $messageContact = ['_' => 'messageContact', 'contact' => contact, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageContact","contact":"contact"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageDocument.md b/docs/TD_docs/constructors/messageDocument.md index b76db492..3febd8b1 100644 --- a/docs/TD_docs/constructors/messageDocument.md +++ b/docs/TD_docs/constructors/messageDocument.md @@ -27,6 +27,13 @@ Document message $messageDocument = ['_' => 'messageDocument', 'document' => document, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageDocument","document":"document","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageEntityBold.md b/docs/TD_docs/constructors/messageEntityBold.md index 9eee0153..7f10315f 100644 --- a/docs/TD_docs/constructors/messageEntityBold.md +++ b/docs/TD_docs/constructors/messageEntityBold.md @@ -27,6 +27,13 @@ Bold text $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageEntityBotCommand.md b/docs/TD_docs/constructors/messageEntityBotCommand.md index dbf89c44..4910ef16 100644 --- a/docs/TD_docs/constructors/messageEntityBotCommand.md +++ b/docs/TD_docs/constructors/messageEntityBotCommand.md @@ -27,6 +27,13 @@ Bot command beginning with / $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageEntityCode.md b/docs/TD_docs/constructors/messageEntityCode.md index dcb9b29b..a3866f0e 100644 --- a/docs/TD_docs/constructors/messageEntityCode.md +++ b/docs/TD_docs/constructors/messageEntityCode.md @@ -27,6 +27,13 @@ Text needs to be formatted as inside of code HTML tag $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageEntityEmail.md b/docs/TD_docs/constructors/messageEntityEmail.md index edf6d0c4..3234baab 100644 --- a/docs/TD_docs/constructors/messageEntityEmail.md +++ b/docs/TD_docs/constructors/messageEntityEmail.md @@ -27,6 +27,13 @@ Email $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageEntityHashtag.md b/docs/TD_docs/constructors/messageEntityHashtag.md index 62cba597..83683fe1 100644 --- a/docs/TD_docs/constructors/messageEntityHashtag.md +++ b/docs/TD_docs/constructors/messageEntityHashtag.md @@ -27,6 +27,13 @@ Hashtag beginning with # $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageEntityItalic.md b/docs/TD_docs/constructors/messageEntityItalic.md index 9ea32add..a8a5004c 100644 --- a/docs/TD_docs/constructors/messageEntityItalic.md +++ b/docs/TD_docs/constructors/messageEntityItalic.md @@ -27,6 +27,13 @@ Italic text $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageEntityMention.md b/docs/TD_docs/constructors/messageEntityMention.md index 854e1678..9fc33026 100644 --- a/docs/TD_docs/constructors/messageEntityMention.md +++ b/docs/TD_docs/constructors/messageEntityMention.md @@ -27,6 +27,13 @@ Mention of the user by his username $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageEntityMentionName.md b/docs/TD_docs/constructors/messageEntityMentionName.md index a9d78ab2..a4b7a506 100644 --- a/docs/TD_docs/constructors/messageEntityMentionName.md +++ b/docs/TD_docs/constructors/messageEntityMentionName.md @@ -28,6 +28,13 @@ Mention of the user by some text $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageEntityPre.md b/docs/TD_docs/constructors/messageEntityPre.md index e5ee49e7..f05e9e7b 100644 --- a/docs/TD_docs/constructors/messageEntityPre.md +++ b/docs/TD_docs/constructors/messageEntityPre.md @@ -27,6 +27,13 @@ Text needs to be formatted as inside of pre HTML tag $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageEntityPreCode.md b/docs/TD_docs/constructors/messageEntityPreCode.md index 62d270c4..addc4389 100644 --- a/docs/TD_docs/constructors/messageEntityPreCode.md +++ b/docs/TD_docs/constructors/messageEntityPreCode.md @@ -28,6 +28,13 @@ Text needs to be formatted as inside of pre and code HTML tags $messageEntityPreCode = ['_' => 'messageEntityPreCode', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPreCode","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageEntityTextUrl.md b/docs/TD_docs/constructors/messageEntityTextUrl.md index 3014eca9..daa95d45 100644 --- a/docs/TD_docs/constructors/messageEntityTextUrl.md +++ b/docs/TD_docs/constructors/messageEntityTextUrl.md @@ -28,6 +28,13 @@ Text description showed instead of the url $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageEntityUrl.md b/docs/TD_docs/constructors/messageEntityUrl.md index 11d73bd1..6c5411f0 100644 --- a/docs/TD_docs/constructors/messageEntityUrl.md +++ b/docs/TD_docs/constructors/messageEntityUrl.md @@ -27,6 +27,13 @@ Url beginning with http $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageForwardedFromUser.md b/docs/TD_docs/constructors/messageForwardedFromUser.md index 0bc1275b..6ad9f364 100644 --- a/docs/TD_docs/constructors/messageForwardedFromUser.md +++ b/docs/TD_docs/constructors/messageForwardedFromUser.md @@ -27,6 +27,13 @@ Message is originally written by known user $messageForwardedFromUser = ['_' => 'messageForwardedFromUser', 'sender_user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageForwardedFromUser","sender_user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageForwardedPost.md b/docs/TD_docs/constructors/messageForwardedPost.md index 2c3a018e..7cc58a51 100644 --- a/docs/TD_docs/constructors/messageForwardedPost.md +++ b/docs/TD_docs/constructors/messageForwardedPost.md @@ -29,6 +29,13 @@ Message is orifinally a channel post $messageForwardedPost = ['_' => 'messageForwardedPost', 'chat_id' => long, 'sender_user_id' => int, 'date' => int, 'message_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageForwardedPost","chat_id":"long","sender_user_id":"int","date":"int","message_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageGame.md b/docs/TD_docs/constructors/messageGame.md index 242fd230..d377ad75 100644 --- a/docs/TD_docs/constructors/messageGame.md +++ b/docs/TD_docs/constructors/messageGame.md @@ -26,6 +26,13 @@ Message with a game $messageGame = ['_' => 'messageGame', 'game' => game, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageGame","game":"game"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageGameScore.md b/docs/TD_docs/constructors/messageGameScore.md index b57cda26..30b1b16b 100644 --- a/docs/TD_docs/constructors/messageGameScore.md +++ b/docs/TD_docs/constructors/messageGameScore.md @@ -28,6 +28,13 @@ New high score was achieved in a game $messageGameScore = ['_' => 'messageGameScore', 'game_message_id' => long, 'game_id' => long, 'score' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageGameScore","game_message_id":"long","game_id":"long","score":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageGroupChatCreate.md b/docs/TD_docs/constructors/messageGroupChatCreate.md index 3a2c61b2..c89c8171 100644 --- a/docs/TD_docs/constructors/messageGroupChatCreate.md +++ b/docs/TD_docs/constructors/messageGroupChatCreate.md @@ -27,6 +27,13 @@ New group chat created $messageGroupChatCreate = ['_' => 'messageGroupChatCreate', 'title' => string, 'members' => [user], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageGroupChatCreate","title":"string","members":["user"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageIsBeingSent.md b/docs/TD_docs/constructors/messageIsBeingSent.md index 52bffc37..c09d2c7a 100644 --- a/docs/TD_docs/constructors/messageIsBeingSent.md +++ b/docs/TD_docs/constructors/messageIsBeingSent.md @@ -25,6 +25,13 @@ Message is outgoing but is yet not delivered to the server $messageIsBeingSent = ['_' => 'messageIsBeingSent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageIsBeingSent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageIsFailedToSend.md b/docs/TD_docs/constructors/messageIsFailedToSend.md index 160b6f35..8a4555a3 100644 --- a/docs/TD_docs/constructors/messageIsFailedToSend.md +++ b/docs/TD_docs/constructors/messageIsFailedToSend.md @@ -25,6 +25,13 @@ Message is failed to send $messageIsFailedToSend = ['_' => 'messageIsFailedToSend', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageIsFailedToSend"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageIsIncoming.md b/docs/TD_docs/constructors/messageIsIncoming.md index 39024300..cfac42cd 100644 --- a/docs/TD_docs/constructors/messageIsIncoming.md +++ b/docs/TD_docs/constructors/messageIsIncoming.md @@ -25,6 +25,13 @@ Message is incoming $messageIsIncoming = ['_' => 'messageIsIncoming', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageIsIncoming"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageIsSuccessfullySent.md b/docs/TD_docs/constructors/messageIsSuccessfullySent.md index 0d276ade..2bcfb092 100644 --- a/docs/TD_docs/constructors/messageIsSuccessfullySent.md +++ b/docs/TD_docs/constructors/messageIsSuccessfullySent.md @@ -25,6 +25,13 @@ Message was synchronized with the server $messageIsSuccessfullySent = ['_' => 'messageIsSuccessfullySent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageIsSuccessfullySent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageLocation.md b/docs/TD_docs/constructors/messageLocation.md index 19dfe75d..64095201 100644 --- a/docs/TD_docs/constructors/messageLocation.md +++ b/docs/TD_docs/constructors/messageLocation.md @@ -26,6 +26,13 @@ Message with location $messageLocation = ['_' => 'messageLocation', 'location' => location, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageLocation","location":"location"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messagePhoto.md b/docs/TD_docs/constructors/messagePhoto.md index c94ce90b..a60e8358 100644 --- a/docs/TD_docs/constructors/messagePhoto.md +++ b/docs/TD_docs/constructors/messagePhoto.md @@ -27,6 +27,13 @@ Photo message $messagePhoto = ['_' => 'messagePhoto', 'photo' => photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messagePhoto","photo":"photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messagePinMessage.md b/docs/TD_docs/constructors/messagePinMessage.md index 92b2637e..a715c9a8 100644 --- a/docs/TD_docs/constructors/messagePinMessage.md +++ b/docs/TD_docs/constructors/messagePinMessage.md @@ -26,6 +26,13 @@ Some message was pinned $messagePinMessage = ['_' => 'messagePinMessage', 'message_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messagePinMessage","message_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageScreenshotTaken.md b/docs/TD_docs/constructors/messageScreenshotTaken.md index 5a8cde13..2a8d95f6 100644 --- a/docs/TD_docs/constructors/messageScreenshotTaken.md +++ b/docs/TD_docs/constructors/messageScreenshotTaken.md @@ -25,6 +25,13 @@ Screenshot of messages in secret chat was taken $messageScreenshotTaken = ['_' => 'messageScreenshotTaken', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageScreenshotTaken"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageSticker.md b/docs/TD_docs/constructors/messageSticker.md index bf97cba1..82f4b13c 100644 --- a/docs/TD_docs/constructors/messageSticker.md +++ b/docs/TD_docs/constructors/messageSticker.md @@ -26,6 +26,13 @@ Sticker message $messageSticker = ['_' => 'messageSticker', 'sticker' => sticker, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageSticker","sticker":"sticker"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageText.md b/docs/TD_docs/constructors/messageText.md index cf5a8b4f..2ebbce7e 100644 --- a/docs/TD_docs/constructors/messageText.md +++ b/docs/TD_docs/constructors/messageText.md @@ -28,6 +28,13 @@ Text message $messageText = ['_' => 'messageText', 'text' => string, 'entities' => [MessageEntity], 'web_page' => webPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageText","text":"string","entities":["MessageEntity"],"web_page":"webPage"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageUnsupported.md b/docs/TD_docs/constructors/messageUnsupported.md index 71d1b9c6..41aa9cf0 100644 --- a/docs/TD_docs/constructors/messageUnsupported.md +++ b/docs/TD_docs/constructors/messageUnsupported.md @@ -25,6 +25,13 @@ Unsupported message content $messageUnsupported = ['_' => 'messageUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageUnsupported"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageVenue.md b/docs/TD_docs/constructors/messageVenue.md index 35a47fdf..8f81f25a 100644 --- a/docs/TD_docs/constructors/messageVenue.md +++ b/docs/TD_docs/constructors/messageVenue.md @@ -26,6 +26,13 @@ Message with information about venue $messageVenue = ['_' => 'messageVenue', 'venue' => venue, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageVenue","venue":"venue"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageVideo.md b/docs/TD_docs/constructors/messageVideo.md index 6f588e27..8ff991fe 100644 --- a/docs/TD_docs/constructors/messageVideo.md +++ b/docs/TD_docs/constructors/messageVideo.md @@ -27,6 +27,13 @@ Video message $messageVideo = ['_' => 'messageVideo', 'video' => video, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageVideo","video":"video","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messageVoice.md b/docs/TD_docs/constructors/messageVoice.md index fbf1acdd..bf955b38 100644 --- a/docs/TD_docs/constructors/messageVoice.md +++ b/docs/TD_docs/constructors/messageVoice.md @@ -28,6 +28,13 @@ Voice message $messageVoice = ['_' => 'messageVoice', 'voice' => voice, 'caption' => string, 'is_listened' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageVoice","voice":"voice","caption":"string","is_listened":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/messages.md b/docs/TD_docs/constructors/messages.md index 84ac5018..8cfd8877 100644 --- a/docs/TD_docs/constructors/messages.md +++ b/docs/TD_docs/constructors/messages.md @@ -27,6 +27,13 @@ Contains list of messages $messages = ['_' => 'messages', 'total_count' => int, 'messages' => [message], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages","total_count":"int","messages":["message"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/mpnsDeviceToken.md b/docs/TD_docs/constructors/mpnsDeviceToken.md index 6b69677d..06a0bae1 100644 --- a/docs/TD_docs/constructors/mpnsDeviceToken.md +++ b/docs/TD_docs/constructors/mpnsDeviceToken.md @@ -26,6 +26,13 @@ Token for MPNS $mpnsDeviceToken = ['_' => 'mpnsDeviceToken', 'token' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"mpnsDeviceToken","token":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/notificationSettings.md b/docs/TD_docs/constructors/notificationSettings.md index f56309d2..13c0b478 100644 --- a/docs/TD_docs/constructors/notificationSettings.md +++ b/docs/TD_docs/constructors/notificationSettings.md @@ -28,6 +28,13 @@ Contains information about notification settings for chat or chats $notificationSettings = ['_' => 'notificationSettings', 'mute_for' => int, 'sound' => string, 'show_preview' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notificationSettings","mute_for":"int","sound":"string","show_preview":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/notificationSettingsForAllChats.md b/docs/TD_docs/constructors/notificationSettingsForAllChats.md index bfa1256a..266ded28 100644 --- a/docs/TD_docs/constructors/notificationSettingsForAllChats.md +++ b/docs/TD_docs/constructors/notificationSettingsForAllChats.md @@ -25,6 +25,13 @@ Notification settings applied to all chats $notificationSettingsForAllChats = ['_' => 'notificationSettingsForAllChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notificationSettingsForAllChats"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/notificationSettingsForChat.md b/docs/TD_docs/constructors/notificationSettingsForChat.md index 4b85676f..cfa09099 100644 --- a/docs/TD_docs/constructors/notificationSettingsForChat.md +++ b/docs/TD_docs/constructors/notificationSettingsForChat.md @@ -26,6 +26,13 @@ Notification settings applied to particular chat $notificationSettingsForChat = ['_' => 'notificationSettingsForChat', 'chat_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notificationSettingsForChat","chat_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/notificationSettingsForGroupChats.md b/docs/TD_docs/constructors/notificationSettingsForGroupChats.md index 87cdf8c1..7e98c2ff 100644 --- a/docs/TD_docs/constructors/notificationSettingsForGroupChats.md +++ b/docs/TD_docs/constructors/notificationSettingsForGroupChats.md @@ -25,6 +25,13 @@ Notification settings applied to all group and broadcast channel chats (supergro $notificationSettingsForGroupChats = ['_' => 'notificationSettingsForGroupChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notificationSettingsForGroupChats"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/notificationSettingsForPrivateChats.md b/docs/TD_docs/constructors/notificationSettingsForPrivateChats.md index b35dc053..3ea1824d 100644 --- a/docs/TD_docs/constructors/notificationSettingsForPrivateChats.md +++ b/docs/TD_docs/constructors/notificationSettingsForPrivateChats.md @@ -25,6 +25,13 @@ Notification settings applied to all private chats $notificationSettingsForPrivateChats = ['_' => 'notificationSettingsForPrivateChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notificationSettingsForPrivateChats"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/ok.md b/docs/TD_docs/constructors/ok.md index 55f3e6bf..efb4bfed 100644 --- a/docs/TD_docs/constructors/ok.md +++ b/docs/TD_docs/constructors/ok.md @@ -25,6 +25,13 @@ Object of this type returns on successful function call for some functions $ok = ['_' => 'ok', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"ok"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/optionBoolean.md b/docs/TD_docs/constructors/optionBoolean.md index 7b628513..2cee20b6 100644 --- a/docs/TD_docs/constructors/optionBoolean.md +++ b/docs/TD_docs/constructors/optionBoolean.md @@ -26,6 +26,13 @@ Boolean option $optionBoolean = ['_' => 'optionBoolean', 'value' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"optionBoolean","value":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/optionEmpty.md b/docs/TD_docs/constructors/optionEmpty.md index b6aabfb1..1e9bf373 100644 --- a/docs/TD_docs/constructors/optionEmpty.md +++ b/docs/TD_docs/constructors/optionEmpty.md @@ -25,6 +25,13 @@ Unknown option or option having default value $optionEmpty = ['_' => 'optionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"optionEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/optionInteger.md b/docs/TD_docs/constructors/optionInteger.md index f5a27b86..6f699cb9 100644 --- a/docs/TD_docs/constructors/optionInteger.md +++ b/docs/TD_docs/constructors/optionInteger.md @@ -26,6 +26,13 @@ Integer option $optionInteger = ['_' => 'optionInteger', 'value' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"optionInteger","value":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/optionString.md b/docs/TD_docs/constructors/optionString.md index ed9c0891..5b5e791b 100644 --- a/docs/TD_docs/constructors/optionString.md +++ b/docs/TD_docs/constructors/optionString.md @@ -26,6 +26,13 @@ String option $optionString = ['_' => 'optionString', 'value' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"optionString","value":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/passwordRecoveryInfo.md b/docs/TD_docs/constructors/passwordRecoveryInfo.md index 544cce57..f8edcb0a 100644 --- a/docs/TD_docs/constructors/passwordRecoveryInfo.md +++ b/docs/TD_docs/constructors/passwordRecoveryInfo.md @@ -26,6 +26,13 @@ Contains information available to the user after requesting password recovery $passwordRecoveryInfo = ['_' => 'passwordRecoveryInfo', 'recovery_email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"passwordRecoveryInfo","recovery_email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/passwordState.md b/docs/TD_docs/constructors/passwordState.md index 2f62f860..057bdbf9 100644 --- a/docs/TD_docs/constructors/passwordState.md +++ b/docs/TD_docs/constructors/passwordState.md @@ -29,6 +29,13 @@ Represents current state of the two-step verification $passwordState = ['_' => 'passwordState', 'has_password' => Bool, 'password_hint' => string, 'has_recovery_email' => Bool, 'unconfirmed_recovery_email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"passwordState","has_password":"Bool","password_hint":"string","has_recovery_email":"Bool","unconfirmed_recovery_email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/photo.md b/docs/TD_docs/constructors/photo.md index 3b2e2cfc..c98e46c9 100644 --- a/docs/TD_docs/constructors/photo.md +++ b/docs/TD_docs/constructors/photo.md @@ -28,6 +28,13 @@ Describes photo $photo = ['_' => 'photo', 'id' => long, 'has_stickers' => Bool, 'sizes' => [photoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","has_stickers":"Bool","sizes":["photoSize"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/photoSize.md b/docs/TD_docs/constructors/photoSize.md index 4d1e6d68..ffa08366 100644 --- a/docs/TD_docs/constructors/photoSize.md +++ b/docs/TD_docs/constructors/photoSize.md @@ -29,6 +29,13 @@ Photo description $photoSize = ['_' => 'photoSize', 'type' => string, 'photo' => file, 'width' => int, 'height' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","photo":"file","width":"int","height":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/privacyKeyChatInvite.md b/docs/TD_docs/constructors/privacyKeyChatInvite.md index 16d03a16..334bcd65 100644 --- a/docs/TD_docs/constructors/privacyKeyChatInvite.md +++ b/docs/TD_docs/constructors/privacyKeyChatInvite.md @@ -25,6 +25,13 @@ Privacy key for managing ability of invitation of the user to chats $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/privacyKeyUserStatus.md b/docs/TD_docs/constructors/privacyKeyUserStatus.md index 123b7f92..13ba56f2 100644 --- a/docs/TD_docs/constructors/privacyKeyUserStatus.md +++ b/docs/TD_docs/constructors/privacyKeyUserStatus.md @@ -25,6 +25,13 @@ Privacy key for managing visibility of the user status $privacyKeyUserStatus = ['_' => 'privacyKeyUserStatus', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyUserStatus"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/privacyRuleAllowAll.md b/docs/TD_docs/constructors/privacyRuleAllowAll.md index f6ab0838..1b4ffcb0 100644 --- a/docs/TD_docs/constructors/privacyRuleAllowAll.md +++ b/docs/TD_docs/constructors/privacyRuleAllowAll.md @@ -25,6 +25,13 @@ Rule to allow all users $privacyRuleAllowAll = ['_' => 'privacyRuleAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyRuleAllowAll"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/privacyRuleAllowContacts.md b/docs/TD_docs/constructors/privacyRuleAllowContacts.md index e3ac5bfd..315765a7 100644 --- a/docs/TD_docs/constructors/privacyRuleAllowContacts.md +++ b/docs/TD_docs/constructors/privacyRuleAllowContacts.md @@ -25,6 +25,13 @@ Rule to allow all user contacts $privacyRuleAllowContacts = ['_' => 'privacyRuleAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyRuleAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/privacyRuleAllowUsers.md b/docs/TD_docs/constructors/privacyRuleAllowUsers.md index b77824c0..b481376a 100644 --- a/docs/TD_docs/constructors/privacyRuleAllowUsers.md +++ b/docs/TD_docs/constructors/privacyRuleAllowUsers.md @@ -26,6 +26,13 @@ Rule to allow specified users $privacyRuleAllowUsers = ['_' => 'privacyRuleAllowUsers', 'user_ids' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyRuleAllowUsers","user_ids":["int"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/privacyRuleDisallowAll.md b/docs/TD_docs/constructors/privacyRuleDisallowAll.md index cc16d546..22f799f4 100644 --- a/docs/TD_docs/constructors/privacyRuleDisallowAll.md +++ b/docs/TD_docs/constructors/privacyRuleDisallowAll.md @@ -25,6 +25,13 @@ Rule to disallow all users $privacyRuleDisallowAll = ['_' => 'privacyRuleDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyRuleDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/privacyRuleDisallowContacts.md b/docs/TD_docs/constructors/privacyRuleDisallowContacts.md index ba667bb5..206c0cd3 100644 --- a/docs/TD_docs/constructors/privacyRuleDisallowContacts.md +++ b/docs/TD_docs/constructors/privacyRuleDisallowContacts.md @@ -25,6 +25,13 @@ Rule to disallow all user contacts $privacyRuleDisallowContacts = ['_' => 'privacyRuleDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyRuleDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/privacyRuleDisallowUsers.md b/docs/TD_docs/constructors/privacyRuleDisallowUsers.md index 58e5e143..31f5deb2 100644 --- a/docs/TD_docs/constructors/privacyRuleDisallowUsers.md +++ b/docs/TD_docs/constructors/privacyRuleDisallowUsers.md @@ -26,6 +26,13 @@ Rule to disallow all specified users $privacyRuleDisallowUsers = ['_' => 'privacyRuleDisallowUsers', 'user_ids' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyRuleDisallowUsers","user_ids":["int"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/privacyRules.md b/docs/TD_docs/constructors/privacyRules.md index 49eb7bef..62ccd1e2 100644 --- a/docs/TD_docs/constructors/privacyRules.md +++ b/docs/TD_docs/constructors/privacyRules.md @@ -26,6 +26,13 @@ List of privacy rules. Rules are matched in the specified order. First matched r $privacyRules = ['_' => 'privacyRules', 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyRules","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/privateChatInfo.md b/docs/TD_docs/constructors/privateChatInfo.md index 9c0e7bff..7445cc33 100644 --- a/docs/TD_docs/constructors/privateChatInfo.md +++ b/docs/TD_docs/constructors/privateChatInfo.md @@ -26,6 +26,13 @@ Ordinary chat with one user $privateChatInfo = ['_' => 'privateChatInfo', 'user' => user, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privateChatInfo","user":"user"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/profilePhoto.md b/docs/TD_docs/constructors/profilePhoto.md index aba282d3..e561ae23 100644 --- a/docs/TD_docs/constructors/profilePhoto.md +++ b/docs/TD_docs/constructors/profilePhoto.md @@ -28,6 +28,13 @@ Describes user profile photo $profilePhoto = ['_' => 'profilePhoto', 'id' => long, 'small' => file, 'big' => file, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"profilePhoto","id":"long","small":"file","big":"file"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/recoveryEmail.md b/docs/TD_docs/constructors/recoveryEmail.md index 03f59a4b..093265f1 100644 --- a/docs/TD_docs/constructors/recoveryEmail.md +++ b/docs/TD_docs/constructors/recoveryEmail.md @@ -26,6 +26,13 @@ Contains information about set up recovery email $recoveryEmail = ['_' => 'recoveryEmail', 'recovery_email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"recoveryEmail","recovery_email":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/replyMarkupForceReply.md b/docs/TD_docs/constructors/replyMarkupForceReply.md index b887ecb2..520b22a7 100644 --- a/docs/TD_docs/constructors/replyMarkupForceReply.md +++ b/docs/TD_docs/constructors/replyMarkupForceReply.md @@ -26,6 +26,13 @@ Instruct clients to force reply to this message $replyMarkupForceReply = ['_' => 'replyMarkupForceReply', 'personal' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyMarkupForceReply","personal":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/replyMarkupInlineKeyboard.md b/docs/TD_docs/constructors/replyMarkupInlineKeyboard.md index c1a2fe46..d849183c 100644 --- a/docs/TD_docs/constructors/replyMarkupInlineKeyboard.md +++ b/docs/TD_docs/constructors/replyMarkupInlineKeyboard.md @@ -26,6 +26,13 @@ Contains inline keyboard layout $replyMarkupInlineKeyboard = ['_' => 'replyMarkupInlineKeyboard', 'rows' => [inlineKeyboardButton>], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyMarkupInlineKeyboard","rows":["inlineKeyboardButton>"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/replyMarkupRemoveKeyboard.md b/docs/TD_docs/constructors/replyMarkupRemoveKeyboard.md index 5500010d..2810c264 100644 --- a/docs/TD_docs/constructors/replyMarkupRemoveKeyboard.md +++ b/docs/TD_docs/constructors/replyMarkupRemoveKeyboard.md @@ -26,6 +26,13 @@ Instruct clients to remove keyboard after receiving this message. This kind of k $replyMarkupRemoveKeyboard = ['_' => 'replyMarkupRemoveKeyboard', 'personal' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyMarkupRemoveKeyboard","personal":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/replyMarkupShowKeyboard.md b/docs/TD_docs/constructors/replyMarkupShowKeyboard.md index 523629b9..312f21df 100644 --- a/docs/TD_docs/constructors/replyMarkupShowKeyboard.md +++ b/docs/TD_docs/constructors/replyMarkupShowKeyboard.md @@ -29,6 +29,13 @@ Contains custom keyboard layout for fast reply to bot $replyMarkupShowKeyboard = ['_' => 'replyMarkupShowKeyboard', 'rows' => [keyboardButton>], 'resize_keyboard' => Bool, 'one_time' => Bool, 'personal' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyMarkupShowKeyboard","rows":["keyboardButton>"],"resize_keyboard":"Bool","one_time":"Bool","personal":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/searchMessagesFilterAnimation.md b/docs/TD_docs/constructors/searchMessagesFilterAnimation.md index ca6108f5..dff392c4 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterAnimation.md +++ b/docs/TD_docs/constructors/searchMessagesFilterAnimation.md @@ -25,6 +25,13 @@ Return only animation messages $searchMessagesFilterAnimation = ['_' => 'searchMessagesFilterAnimation', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"searchMessagesFilterAnimation"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/searchMessagesFilterAudio.md b/docs/TD_docs/constructors/searchMessagesFilterAudio.md index 021479e6..0f493e84 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterAudio.md +++ b/docs/TD_docs/constructors/searchMessagesFilterAudio.md @@ -25,6 +25,13 @@ Return only audio messages $searchMessagesFilterAudio = ['_' => 'searchMessagesFilterAudio', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"searchMessagesFilterAudio"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/searchMessagesFilterChatPhoto.md b/docs/TD_docs/constructors/searchMessagesFilterChatPhoto.md index 077d0c0a..c2189a70 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterChatPhoto.md +++ b/docs/TD_docs/constructors/searchMessagesFilterChatPhoto.md @@ -25,6 +25,13 @@ Return only messages containing chat photos $searchMessagesFilterChatPhoto = ['_' => 'searchMessagesFilterChatPhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"searchMessagesFilterChatPhoto"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/searchMessagesFilterDocument.md b/docs/TD_docs/constructors/searchMessagesFilterDocument.md index a546e04a..2f8d2410 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterDocument.md +++ b/docs/TD_docs/constructors/searchMessagesFilterDocument.md @@ -25,6 +25,13 @@ Return only document messages $searchMessagesFilterDocument = ['_' => 'searchMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"searchMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/searchMessagesFilterEmpty.md b/docs/TD_docs/constructors/searchMessagesFilterEmpty.md index 9f7b97e5..07644f53 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterEmpty.md +++ b/docs/TD_docs/constructors/searchMessagesFilterEmpty.md @@ -25,6 +25,13 @@ Return all found messages $searchMessagesFilterEmpty = ['_' => 'searchMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"searchMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/searchMessagesFilterPhoto.md b/docs/TD_docs/constructors/searchMessagesFilterPhoto.md index f761b5a6..f98f35db 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterPhoto.md +++ b/docs/TD_docs/constructors/searchMessagesFilterPhoto.md @@ -25,6 +25,13 @@ Return only photo messages $searchMessagesFilterPhoto = ['_' => 'searchMessagesFilterPhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"searchMessagesFilterPhoto"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md b/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md index 1945972d..2f4bcc6a 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md +++ b/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md @@ -25,6 +25,13 @@ Return only photo and video messages $searchMessagesFilterPhotoAndVideo = ['_' => 'searchMessagesFilterPhotoAndVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"searchMessagesFilterPhotoAndVideo"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/searchMessagesFilterUrl.md b/docs/TD_docs/constructors/searchMessagesFilterUrl.md index c57cc14d..5ea5c398 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterUrl.md +++ b/docs/TD_docs/constructors/searchMessagesFilterUrl.md @@ -25,6 +25,13 @@ Return only messages containing url $searchMessagesFilterUrl = ['_' => 'searchMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"searchMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/searchMessagesFilterVideo.md b/docs/TD_docs/constructors/searchMessagesFilterVideo.md index 4845f6bb..b7bbd8e4 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterVideo.md +++ b/docs/TD_docs/constructors/searchMessagesFilterVideo.md @@ -25,6 +25,13 @@ Return only video messages $searchMessagesFilterVideo = ['_' => 'searchMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"searchMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/searchMessagesFilterVoice.md b/docs/TD_docs/constructors/searchMessagesFilterVoice.md index 6e122d8a..7c9f42b5 100644 --- a/docs/TD_docs/constructors/searchMessagesFilterVoice.md +++ b/docs/TD_docs/constructors/searchMessagesFilterVoice.md @@ -25,6 +25,13 @@ Return only voice messages $searchMessagesFilterVoice = ['_' => 'searchMessagesFilterVoice', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"searchMessagesFilterVoice"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/secretChat.md b/docs/TD_docs/constructors/secretChat.md index 97e1b1f3..b1c7ecf9 100644 --- a/docs/TD_docs/constructors/secretChat.md +++ b/docs/TD_docs/constructors/secretChat.md @@ -31,6 +31,13 @@ Represents a secret chat $secretChat = ['_' => 'secretChat', 'id' => int, 'user_id' => int, 'state' => int, 'is_outbound' => Bool, 'ttl' => int, 'key_hash' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"secretChat","id":"int","user_id":"int","state":"int","is_outbound":"Bool","ttl":"int","key_hash":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/secretChatInfo.md b/docs/TD_docs/constructors/secretChatInfo.md index 9ae77cc4..f437468b 100644 --- a/docs/TD_docs/constructors/secretChatInfo.md +++ b/docs/TD_docs/constructors/secretChatInfo.md @@ -26,6 +26,13 @@ Secret chat with one user $secretChatInfo = ['_' => 'secretChatInfo', 'secret_chat' => secretChat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"secretChatInfo","secret_chat":"secretChat"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/sendMessageCancelAction.md b/docs/TD_docs/constructors/sendMessageCancelAction.md index 61044775..368da243 100644 --- a/docs/TD_docs/constructors/sendMessageCancelAction.md +++ b/docs/TD_docs/constructors/sendMessageCancelAction.md @@ -25,6 +25,13 @@ User cancels typing $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/sendMessageChooseContactAction.md b/docs/TD_docs/constructors/sendMessageChooseContactAction.md index c8ea67dc..4ffa3b26 100644 --- a/docs/TD_docs/constructors/sendMessageChooseContactAction.md +++ b/docs/TD_docs/constructors/sendMessageChooseContactAction.md @@ -25,6 +25,13 @@ User chooses contact to send $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/sendMessageGeoLocationAction.md b/docs/TD_docs/constructors/sendMessageGeoLocationAction.md index f3eff4eb..7d7f452d 100644 --- a/docs/TD_docs/constructors/sendMessageGeoLocationAction.md +++ b/docs/TD_docs/constructors/sendMessageGeoLocationAction.md @@ -25,6 +25,13 @@ User sends geolocation $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/sendMessageRecordVideoAction.md b/docs/TD_docs/constructors/sendMessageRecordVideoAction.md index 95b77850..fa88ccff 100644 --- a/docs/TD_docs/constructors/sendMessageRecordVideoAction.md +++ b/docs/TD_docs/constructors/sendMessageRecordVideoAction.md @@ -25,6 +25,13 @@ User records a video $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/sendMessageRecordVoiceAction.md b/docs/TD_docs/constructors/sendMessageRecordVoiceAction.md index e47b213a..27e94d1c 100644 --- a/docs/TD_docs/constructors/sendMessageRecordVoiceAction.md +++ b/docs/TD_docs/constructors/sendMessageRecordVoiceAction.md @@ -25,6 +25,13 @@ User records voice message $sendMessageRecordVoiceAction = ['_' => 'sendMessageRecordVoiceAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVoiceAction"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/sendMessageStartPlayGameAction.md b/docs/TD_docs/constructors/sendMessageStartPlayGameAction.md index 82768258..b789446d 100644 --- a/docs/TD_docs/constructors/sendMessageStartPlayGameAction.md +++ b/docs/TD_docs/constructors/sendMessageStartPlayGameAction.md @@ -25,6 +25,13 @@ User starts to play a game $sendMessageStartPlayGameAction = ['_' => 'sendMessageStartPlayGameAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageStartPlayGameAction"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/sendMessageTypingAction.md b/docs/TD_docs/constructors/sendMessageTypingAction.md index 41bda68a..b53a5d2a 100644 --- a/docs/TD_docs/constructors/sendMessageTypingAction.md +++ b/docs/TD_docs/constructors/sendMessageTypingAction.md @@ -25,6 +25,13 @@ User typing message $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/sendMessageUploadDocumentAction.md b/docs/TD_docs/constructors/sendMessageUploadDocumentAction.md index 8aac5493..1a2d1344 100644 --- a/docs/TD_docs/constructors/sendMessageUploadDocumentAction.md +++ b/docs/TD_docs/constructors/sendMessageUploadDocumentAction.md @@ -26,6 +26,13 @@ User uploads a document $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/sendMessageUploadPhotoAction.md b/docs/TD_docs/constructors/sendMessageUploadPhotoAction.md index 43f979b4..cdb5153f 100644 --- a/docs/TD_docs/constructors/sendMessageUploadPhotoAction.md +++ b/docs/TD_docs/constructors/sendMessageUploadPhotoAction.md @@ -26,6 +26,13 @@ User uploads a photo $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/sendMessageUploadVideoAction.md b/docs/TD_docs/constructors/sendMessageUploadVideoAction.md index d1652595..be0e0b2a 100644 --- a/docs/TD_docs/constructors/sendMessageUploadVideoAction.md +++ b/docs/TD_docs/constructors/sendMessageUploadVideoAction.md @@ -26,6 +26,13 @@ User uploads a video $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/sendMessageUploadVoiceAction.md b/docs/TD_docs/constructors/sendMessageUploadVoiceAction.md index a155ff13..b193823a 100644 --- a/docs/TD_docs/constructors/sendMessageUploadVoiceAction.md +++ b/docs/TD_docs/constructors/sendMessageUploadVoiceAction.md @@ -26,6 +26,13 @@ User uploads voice message $sendMessageUploadVoiceAction = ['_' => 'sendMessageUploadVoiceAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVoiceAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/session.md b/docs/TD_docs/constructors/session.md index 8d1eeb6a..a9c5ee39 100644 --- a/docs/TD_docs/constructors/session.md +++ b/docs/TD_docs/constructors/session.md @@ -39,6 +39,13 @@ Contains information about one session in some application used by the user $session = ['_' => 'session', 'id' => long, 'is_current' => Bool, 'app_id' => int, 'app_name' => string, 'app_version' => string, 'is_official_app' => Bool, 'device_model' => string, 'platform' => string, 'system_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"session","id":"long","is_current":"Bool","app_id":"int","app_name":"string","app_version":"string","is_official_app":"Bool","device_model":"string","platform":"string","system_version":"string","date_created":"int","date_active":"int","ip":"string","country":"string","region":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/sessions.md b/docs/TD_docs/constructors/sessions.md index 9a7ae068..e947362a 100644 --- a/docs/TD_docs/constructors/sessions.md +++ b/docs/TD_docs/constructors/sessions.md @@ -26,6 +26,13 @@ Contains list of sessions $sessions = ['_' => 'sessions', 'sessions' => [session], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sessions","sessions":["session"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/simplePushDeviceToken.md b/docs/TD_docs/constructors/simplePushDeviceToken.md index b75eda3a..47e16014 100644 --- a/docs/TD_docs/constructors/simplePushDeviceToken.md +++ b/docs/TD_docs/constructors/simplePushDeviceToken.md @@ -26,6 +26,13 @@ Token for simple push $simplePushDeviceToken = ['_' => 'simplePushDeviceToken', 'token' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"simplePushDeviceToken","token":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/sticker.md b/docs/TD_docs/constructors/sticker.md index f994b3a7..6771a0fb 100644 --- a/docs/TD_docs/constructors/sticker.md +++ b/docs/TD_docs/constructors/sticker.md @@ -33,6 +33,13 @@ Describes sticker $sticker = ['_' => 'sticker', 'set_id' => long, 'width' => int, 'height' => int, 'emoji' => string, 'is_mask' => Bool, 'mask_position' => maskPosition, 'thumb' => photoSize, 'sticker' => file, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sticker","set_id":"long","width":"int","height":"int","emoji":"string","is_mask":"Bool","mask_position":"maskPosition","thumb":"photoSize","sticker":"file"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/stickerEmojis.md b/docs/TD_docs/constructors/stickerEmojis.md index 700b7ca2..6a5c65a2 100644 --- a/docs/TD_docs/constructors/stickerEmojis.md +++ b/docs/TD_docs/constructors/stickerEmojis.md @@ -26,6 +26,13 @@ Represents list of all emojis corresponding to a sticker in a sticker set. The l $stickerEmojis = ['_' => 'stickerEmojis', 'emojis' => [string], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerEmojis","emojis":["string"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/stickerSet.md b/docs/TD_docs/constructors/stickerSet.md index 61dfd1a9..e1d6ff28 100644 --- a/docs/TD_docs/constructors/stickerSet.md +++ b/docs/TD_docs/constructors/stickerSet.md @@ -35,6 +35,13 @@ Represents sticker set $stickerSet = ['_' => 'stickerSet', 'id' => long, 'title' => string, 'name' => string, 'is_installed' => Bool, 'is_archived' => Bool, 'is_official' => Bool, 'is_masks' => Bool, 'is_viewed' => Bool, 'stickers' => [sticker], 'emojis' => [stickerEmojis], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","id":"long","title":"string","name":"string","is_installed":"Bool","is_archived":"Bool","is_official":"Bool","is_masks":"Bool","is_viewed":"Bool","stickers":["sticker"],"emojis":["stickerEmojis"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/stickerSetInfo.md b/docs/TD_docs/constructors/stickerSetInfo.md index e54ddd25..c1751b31 100644 --- a/docs/TD_docs/constructors/stickerSetInfo.md +++ b/docs/TD_docs/constructors/stickerSetInfo.md @@ -35,6 +35,13 @@ Represents short information about sticker set $stickerSetInfo = ['_' => 'stickerSetInfo', 'id' => long, 'title' => string, 'name' => string, 'is_installed' => Bool, 'is_archived' => Bool, 'is_official' => Bool, 'is_masks' => Bool, 'is_viewed' => Bool, 'size' => int, 'covers' => [sticker], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSetInfo","id":"long","title":"string","name":"string","is_installed":"Bool","is_archived":"Bool","is_official":"Bool","is_masks":"Bool","is_viewed":"Bool","size":"int","covers":["sticker"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/stickerSets.md b/docs/TD_docs/constructors/stickerSets.md index 960f0927..2b818e52 100644 --- a/docs/TD_docs/constructors/stickerSets.md +++ b/docs/TD_docs/constructors/stickerSets.md @@ -27,6 +27,13 @@ Represents list of sticker sets $stickerSets = ['_' => 'stickerSets', 'total_count' => int, 'sets' => [stickerSetInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSets","total_count":"int","sets":["stickerSetInfo"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/stickers.md b/docs/TD_docs/constructors/stickers.md index d048418b..447796df 100644 --- a/docs/TD_docs/constructors/stickers.md +++ b/docs/TD_docs/constructors/stickers.md @@ -26,6 +26,13 @@ Represents list of stickers $stickers = ['_' => 'stickers', 'stickers' => [sticker], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickers","stickers":["sticker"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/test_bytes.md b/docs/TD_docs/constructors/test_bytes.md index 6a98ed86..e7355b6f 100644 --- a/docs/TD_docs/constructors/test_bytes.md +++ b/docs/TD_docs/constructors/test_bytes.md @@ -24,6 +24,13 @@ description: test_bytes attributes, type and example $test_bytes = ['_' => 'test.bytes', 'value' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"test.bytes","value":"bytes"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/test_empty.md b/docs/TD_docs/constructors/test_empty.md index 3a627789..a15fd6ba 100644 --- a/docs/TD_docs/constructors/test_empty.md +++ b/docs/TD_docs/constructors/test_empty.md @@ -19,6 +19,13 @@ description: test_empty attributes, type and example $test_empty = ['_' => 'test.empty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"test.empty"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/test_int.md b/docs/TD_docs/constructors/test_int.md index bb069ad9..83b534f4 100644 --- a/docs/TD_docs/constructors/test_int.md +++ b/docs/TD_docs/constructors/test_int.md @@ -24,6 +24,13 @@ description: test_int attributes, type and example $test_int = ['_' => 'test.int', 'value' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"test.int","value":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/test_string.md b/docs/TD_docs/constructors/test_string.md index 27ce3f15..7001a753 100644 --- a/docs/TD_docs/constructors/test_string.md +++ b/docs/TD_docs/constructors/test_string.md @@ -24,6 +24,13 @@ description: test_string attributes, type and example $test_string = ['_' => 'test.string', 'value' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"test.string","value":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/test_vectorInt.md b/docs/TD_docs/constructors/test_vectorInt.md index fbad9dbc..517158b6 100644 --- a/docs/TD_docs/constructors/test_vectorInt.md +++ b/docs/TD_docs/constructors/test_vectorInt.md @@ -24,6 +24,13 @@ description: test_vectorInt attributes, type and example $test_vectorInt = ['_' => 'test.vectorInt', 'value' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"test.vectorInt","value":["int"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/test_vectorIntObject.md b/docs/TD_docs/constructors/test_vectorIntObject.md index 72f639e1..7b5db67d 100644 --- a/docs/TD_docs/constructors/test_vectorIntObject.md +++ b/docs/TD_docs/constructors/test_vectorIntObject.md @@ -24,6 +24,13 @@ description: test_vectorIntObject attributes, type and example $test_vectorIntObject = ['_' => 'test.vectorIntObject', 'value' => [test_Int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"test.vectorIntObject","value":["test_Int"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/test_vectorString.md b/docs/TD_docs/constructors/test_vectorString.md index f527a3d4..ceb5f991 100644 --- a/docs/TD_docs/constructors/test_vectorString.md +++ b/docs/TD_docs/constructors/test_vectorString.md @@ -24,6 +24,13 @@ description: test_vectorString attributes, type and example $test_vectorString = ['_' => 'test.vectorString', 'value' => [string], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"test.vectorString","value":["string"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/test_vectorStringObject.md b/docs/TD_docs/constructors/test_vectorStringObject.md index 5f643b89..e1483ab7 100644 --- a/docs/TD_docs/constructors/test_vectorStringObject.md +++ b/docs/TD_docs/constructors/test_vectorStringObject.md @@ -24,6 +24,13 @@ description: test_vectorStringObject attributes, type and example $test_vectorStringObject = ['_' => 'test.vectorStringObject', 'value' => [test_String], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"test.vectorStringObject","value":["test_String"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/textParseModeHTML.md b/docs/TD_docs/constructors/textParseModeHTML.md index f00dde11..7ab218db 100644 --- a/docs/TD_docs/constructors/textParseModeHTML.md +++ b/docs/TD_docs/constructors/textParseModeHTML.md @@ -25,6 +25,13 @@ Text should be parsed in the HTML-style way $textParseModeHTML = ['_' => 'textParseModeHTML', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textParseModeHTML"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/textParseModeMarkdown.md b/docs/TD_docs/constructors/textParseModeMarkdown.md index 59a06c00..98aa531c 100644 --- a/docs/TD_docs/constructors/textParseModeMarkdown.md +++ b/docs/TD_docs/constructors/textParseModeMarkdown.md @@ -25,6 +25,13 @@ Text should be parsed in markdown-style way $textParseModeMarkdown = ['_' => 'textParseModeMarkdown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textParseModeMarkdown"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/ubuntuPhoneDeviceToken.md b/docs/TD_docs/constructors/ubuntuPhoneDeviceToken.md index 24ee20ba..076389ed 100644 --- a/docs/TD_docs/constructors/ubuntuPhoneDeviceToken.md +++ b/docs/TD_docs/constructors/ubuntuPhoneDeviceToken.md @@ -26,6 +26,13 @@ Token for Ubuntu Push Service $ubuntuPhoneDeviceToken = ['_' => 'ubuntuPhoneDeviceToken', 'token' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"ubuntuPhoneDeviceToken","token":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateAuthState.md b/docs/TD_docs/constructors/updateAuthState.md index 07eb2596..99db69f8 100644 --- a/docs/TD_docs/constructors/updateAuthState.md +++ b/docs/TD_docs/constructors/updateAuthState.md @@ -26,6 +26,13 @@ User authorization state has changed $updateAuthState = ['_' => 'updateAuthState', 'auth_state' => AuthState, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateAuthState","auth_state":"AuthState"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateChannel.md b/docs/TD_docs/constructors/updateChannel.md index af07567d..703b31af 100644 --- a/docs/TD_docs/constructors/updateChannel.md +++ b/docs/TD_docs/constructors/updateChannel.md @@ -26,6 +26,13 @@ Some data about a channel has been changed $updateChannel = ['_' => 'updateChannel', 'channel' => channel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel":"channel"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateChannelFull.md b/docs/TD_docs/constructors/updateChannelFull.md index 76bfd663..1b8a8038 100644 --- a/docs/TD_docs/constructors/updateChannelFull.md +++ b/docs/TD_docs/constructors/updateChannelFull.md @@ -26,6 +26,13 @@ Some data from channelFull has been changed $updateChannelFull = ['_' => 'updateChannelFull', 'channel_full' => channelFull, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelFull","channel_full":"channelFull"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateChat.md b/docs/TD_docs/constructors/updateChat.md index 681fb7a5..f122b9e5 100644 --- a/docs/TD_docs/constructors/updateChat.md +++ b/docs/TD_docs/constructors/updateChat.md @@ -26,6 +26,13 @@ Some date about chat has been changed $updateChat = ['_' => 'updateChat', 'chat' => chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChat","chat":"chat"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateChatDraftMessage.md b/docs/TD_docs/constructors/updateChatDraftMessage.md index 8919b78a..1f111cf5 100644 --- a/docs/TD_docs/constructors/updateChatDraftMessage.md +++ b/docs/TD_docs/constructors/updateChatDraftMessage.md @@ -27,6 +27,13 @@ Chat draft has changed. Be aware that the update may come in the currently open $updateChatDraftMessage = ['_' => 'updateChatDraftMessage', 'chat_id' => long, 'draft_message' => draftMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatDraftMessage","chat_id":"long","draft_message":"draftMessage"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateChatOrder.md b/docs/TD_docs/constructors/updateChatOrder.md index fceb807c..34531c64 100644 --- a/docs/TD_docs/constructors/updateChatOrder.md +++ b/docs/TD_docs/constructors/updateChatOrder.md @@ -27,6 +27,13 @@ Order of the chat in the chat list has changed $updateChatOrder = ['_' => 'updateChatOrder', 'chat_id' => long, 'order' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatOrder","chat_id":"long","order":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateChatPhoto.md b/docs/TD_docs/constructors/updateChatPhoto.md index df46cb1f..4398ac2c 100644 --- a/docs/TD_docs/constructors/updateChatPhoto.md +++ b/docs/TD_docs/constructors/updateChatPhoto.md @@ -27,6 +27,13 @@ Chat photo was changed $updateChatPhoto = ['_' => 'updateChatPhoto', 'chat_id' => long, 'photo' => chatPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatPhoto","chat_id":"long","photo":"chatPhoto"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateChatReadInbox.md b/docs/TD_docs/constructors/updateChatReadInbox.md index 49228b35..ad68e9e7 100644 --- a/docs/TD_docs/constructors/updateChatReadInbox.md +++ b/docs/TD_docs/constructors/updateChatReadInbox.md @@ -28,6 +28,13 @@ Some incoming messages was read $updateChatReadInbox = ['_' => 'updateChatReadInbox', 'chat_id' => long, 'last_read_inbox_message_id' => long, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatReadInbox","chat_id":"long","last_read_inbox_message_id":"long","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateChatReadOutbox.md b/docs/TD_docs/constructors/updateChatReadOutbox.md index 27587efc..b55fd877 100644 --- a/docs/TD_docs/constructors/updateChatReadOutbox.md +++ b/docs/TD_docs/constructors/updateChatReadOutbox.md @@ -27,6 +27,13 @@ Some outcoming messages was read $updateChatReadOutbox = ['_' => 'updateChatReadOutbox', 'chat_id' => long, 'last_read_outbox_message_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatReadOutbox","chat_id":"long","last_read_outbox_message_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateChatReplyMarkup.md b/docs/TD_docs/constructors/updateChatReplyMarkup.md index 252faefa..16e61555 100644 --- a/docs/TD_docs/constructors/updateChatReplyMarkup.md +++ b/docs/TD_docs/constructors/updateChatReplyMarkup.md @@ -27,6 +27,13 @@ Default chat reply markup has changed. It can happen because new message with re $updateChatReplyMarkup = ['_' => 'updateChatReplyMarkup', 'chat_id' => long, 'reply_markup_message_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatReplyMarkup","chat_id":"long","reply_markup_message_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateChatTitle.md b/docs/TD_docs/constructors/updateChatTitle.md index e18ddef8..0d033cd8 100644 --- a/docs/TD_docs/constructors/updateChatTitle.md +++ b/docs/TD_docs/constructors/updateChatTitle.md @@ -27,6 +27,13 @@ Title of chat was changed $updateChatTitle = ['_' => 'updateChatTitle', 'chat_id' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatTitle","chat_id":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateChatTopMessage.md b/docs/TD_docs/constructors/updateChatTopMessage.md index 919843df..890a1bc4 100644 --- a/docs/TD_docs/constructors/updateChatTopMessage.md +++ b/docs/TD_docs/constructors/updateChatTopMessage.md @@ -27,6 +27,13 @@ Top message of the chat has changed $updateChatTopMessage = ['_' => 'updateChatTopMessage', 'chat_id' => long, 'top_message' => message, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatTopMessage","chat_id":"long","top_message":"message"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateDeleteMessages.md b/docs/TD_docs/constructors/updateDeleteMessages.md index 7279ca15..72dd796c 100644 --- a/docs/TD_docs/constructors/updateDeleteMessages.md +++ b/docs/TD_docs/constructors/updateDeleteMessages.md @@ -27,6 +27,13 @@ Some messages was deleted $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'chat_id' => long, 'message_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","chat_id":"long","message_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateFile.md b/docs/TD_docs/constructors/updateFile.md index d717a31d..d961116f 100644 --- a/docs/TD_docs/constructors/updateFile.md +++ b/docs/TD_docs/constructors/updateFile.md @@ -26,6 +26,13 @@ File is downloaded/uploaded $updateFile = ['_' => 'updateFile', 'file' => file, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateFile","file":"file"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateFileGenerationFinish.md b/docs/TD_docs/constructors/updateFileGenerationFinish.md index c1448625..03b91031 100644 --- a/docs/TD_docs/constructors/updateFileGenerationFinish.md +++ b/docs/TD_docs/constructors/updateFileGenerationFinish.md @@ -26,6 +26,13 @@ File generation is finished $updateFileGenerationFinish = ['_' => 'updateFileGenerationFinish', 'file' => file, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateFileGenerationFinish","file":"file"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateFileGenerationProgress.md b/docs/TD_docs/constructors/updateFileGenerationProgress.md index d0746eeb..2a2524c1 100644 --- a/docs/TD_docs/constructors/updateFileGenerationProgress.md +++ b/docs/TD_docs/constructors/updateFileGenerationProgress.md @@ -28,6 +28,13 @@ Informs that a file is being generated $updateFileGenerationProgress = ['_' => 'updateFileGenerationProgress', 'file_id' => int, 'size' => int, 'ready' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateFileGenerationProgress","file_id":"int","size":"int","ready":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateFileGenerationStart.md b/docs/TD_docs/constructors/updateFileGenerationStart.md index be716a9e..0fc8bf4a 100644 --- a/docs/TD_docs/constructors/updateFileGenerationStart.md +++ b/docs/TD_docs/constructors/updateFileGenerationStart.md @@ -29,6 +29,13 @@ File generation process need to be started by the client $updateFileGenerationStart = ['_' => 'updateFileGenerationStart', 'generation_id' => long, 'original_path' => string, 'destination_path' => string, 'conversion' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateFileGenerationStart","generation_id":"long","original_path":"string","destination_path":"string","conversion":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateFileProgress.md b/docs/TD_docs/constructors/updateFileProgress.md index 70095d95..520a087a 100644 --- a/docs/TD_docs/constructors/updateFileProgress.md +++ b/docs/TD_docs/constructors/updateFileProgress.md @@ -28,6 +28,13 @@ File is partly downloaded/uploaded $updateFileProgress = ['_' => 'updateFileProgress', 'file_id' => int, 'size' => int, 'ready' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateFileProgress","file_id":"int","size":"int","ready":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateGroup.md b/docs/TD_docs/constructors/updateGroup.md index 44266bb3..befbf8e6 100644 --- a/docs/TD_docs/constructors/updateGroup.md +++ b/docs/TD_docs/constructors/updateGroup.md @@ -26,6 +26,13 @@ Some data about a group has been changed $updateGroup = ['_' => 'updateGroup', 'group' => group, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateGroup","group":"group"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateMessageContent.md b/docs/TD_docs/constructors/updateMessageContent.md index c7e32362..8872af03 100644 --- a/docs/TD_docs/constructors/updateMessageContent.md +++ b/docs/TD_docs/constructors/updateMessageContent.md @@ -28,6 +28,13 @@ Sent message gets new content $updateMessageContent = ['_' => 'updateMessageContent', 'chat_id' => long, 'message_id' => long, 'new_content' => MessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageContent","chat_id":"long","message_id":"long","new_content":"MessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateMessageEdited.md b/docs/TD_docs/constructors/updateMessageEdited.md index 5104cc77..8aa2c41e 100644 --- a/docs/TD_docs/constructors/updateMessageEdited.md +++ b/docs/TD_docs/constructors/updateMessageEdited.md @@ -29,6 +29,13 @@ Message was edited. Changes in the message content will come in a separate updat $updateMessageEdited = ['_' => 'updateMessageEdited', 'chat_id' => long, 'message_id' => long, 'edit_date' => int, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageEdited","chat_id":"long","message_id":"long","edit_date":"int","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateMessageSendFailed.md b/docs/TD_docs/constructors/updateMessageSendFailed.md index 42b0b9e5..208fbb18 100644 --- a/docs/TD_docs/constructors/updateMessageSendFailed.md +++ b/docs/TD_docs/constructors/updateMessageSendFailed.md @@ -29,6 +29,13 @@ Message fails to send. Be aware that some being sent messages can be irrecoverab $updateMessageSendFailed = ['_' => 'updateMessageSendFailed', 'chat_id' => long, 'message_id' => long, 'error_code' => int, 'error_message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageSendFailed","chat_id":"long","message_id":"long","error_code":"int","error_message":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateMessageSendSucceeded.md b/docs/TD_docs/constructors/updateMessageSendSucceeded.md index a9fd19ad..3c51e6ac 100644 --- a/docs/TD_docs/constructors/updateMessageSendSucceeded.md +++ b/docs/TD_docs/constructors/updateMessageSendSucceeded.md @@ -27,6 +27,13 @@ Message is successfully sent $updateMessageSendSucceeded = ['_' => 'updateMessageSendSucceeded', 'message' => message, 'old_message_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageSendSucceeded","message":"message","old_message_id":"long"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateMessageViews.md b/docs/TD_docs/constructors/updateMessageViews.md index 1f33330f..c98a988c 100644 --- a/docs/TD_docs/constructors/updateMessageViews.md +++ b/docs/TD_docs/constructors/updateMessageViews.md @@ -28,6 +28,13 @@ View count of the message has changed $updateMessageViews = ['_' => 'updateMessageViews', 'chat_id' => long, 'message_id' => long, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageViews","chat_id":"long","message_id":"long","views":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateNewCallbackQuery.md b/docs/TD_docs/constructors/updateNewCallbackQuery.md index 3405bc85..b275b13e 100644 --- a/docs/TD_docs/constructors/updateNewCallbackQuery.md +++ b/docs/TD_docs/constructors/updateNewCallbackQuery.md @@ -31,6 +31,13 @@ Bots only. New incoming callback query $updateNewCallbackQuery = ['_' => 'updateNewCallbackQuery', 'id' => long, 'sender_user_id' => int, 'chat_id' => long, 'message_id' => long, 'chat_instance' => long, 'payload' => CallbackQueryPayload, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewCallbackQuery","id":"long","sender_user_id":"int","chat_id":"long","message_id":"long","chat_instance":"long","payload":"CallbackQueryPayload"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateNewChosenInlineResult.md b/docs/TD_docs/constructors/updateNewChosenInlineResult.md index 5b65b3ff..cfe2ccf0 100644 --- a/docs/TD_docs/constructors/updateNewChosenInlineResult.md +++ b/docs/TD_docs/constructors/updateNewChosenInlineResult.md @@ -30,6 +30,13 @@ Bots only. User has chosen a result of the inline query $updateNewChosenInlineResult = ['_' => 'updateNewChosenInlineResult', 'sender_user_id' => int, 'user_location' => location, 'query' => string, 'result_id' => string, 'inline_message_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChosenInlineResult","sender_user_id":"int","user_location":"location","query":"string","result_id":"string","inline_message_id":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateNewInlineCallbackQuery.md b/docs/TD_docs/constructors/updateNewInlineCallbackQuery.md index 524965db..7a8359d2 100644 --- a/docs/TD_docs/constructors/updateNewInlineCallbackQuery.md +++ b/docs/TD_docs/constructors/updateNewInlineCallbackQuery.md @@ -30,6 +30,13 @@ Bots only. New incoming callback query from message sent via bot $updateNewInlineCallbackQuery = ['_' => 'updateNewInlineCallbackQuery', 'id' => long, 'sender_user_id' => int, 'inline_message_id' => string, 'chat_instance' => long, 'payload' => CallbackQueryPayload, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewInlineCallbackQuery","id":"long","sender_user_id":"int","inline_message_id":"string","chat_instance":"long","payload":"CallbackQueryPayload"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateNewInlineQuery.md b/docs/TD_docs/constructors/updateNewInlineQuery.md index 3ace3bdd..8d11aac5 100644 --- a/docs/TD_docs/constructors/updateNewInlineQuery.md +++ b/docs/TD_docs/constructors/updateNewInlineQuery.md @@ -30,6 +30,13 @@ Bots only. New incoming inline query $updateNewInlineQuery = ['_' => 'updateNewInlineQuery', 'id' => long, 'sender_user_id' => int, 'user_location' => location, 'query' => string, 'offset' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewInlineQuery","id":"long","sender_user_id":"int","user_location":"location","query":"string","offset":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateNewMessage.md b/docs/TD_docs/constructors/updateNewMessage.md index f98144b9..a71ac937 100644 --- a/docs/TD_docs/constructors/updateNewMessage.md +++ b/docs/TD_docs/constructors/updateNewMessage.md @@ -27,6 +27,13 @@ New message received, maybe outcoming message sent from other device $updateNewMessage = ['_' => 'updateNewMessage', 'message' => message, 'disable_notification' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"message","disable_notification":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateNotificationSettings.md b/docs/TD_docs/constructors/updateNotificationSettings.md index 2e7a8d9e..0e812c74 100644 --- a/docs/TD_docs/constructors/updateNotificationSettings.md +++ b/docs/TD_docs/constructors/updateNotificationSettings.md @@ -27,6 +27,13 @@ Notification settings for some chats was updated $updateNotificationSettings = ['_' => 'updateNotificationSettings', 'scope' => NotificationSettingsScope, 'notification_settings' => notificationSettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotificationSettings","scope":"NotificationSettingsScope","notification_settings":"notificationSettings"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateOption.md b/docs/TD_docs/constructors/updateOption.md index ce43f18f..9fc9f366 100644 --- a/docs/TD_docs/constructors/updateOption.md +++ b/docs/TD_docs/constructors/updateOption.md @@ -27,6 +27,13 @@ Some option changed its value $updateOption = ['_' => 'updateOption', 'name' => string, 'value' => OptionValue, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateOption","name":"string","value":"OptionValue"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updatePrivacy.md b/docs/TD_docs/constructors/updatePrivacy.md index 5b98ba16..09410213 100644 --- a/docs/TD_docs/constructors/updatePrivacy.md +++ b/docs/TD_docs/constructors/updatePrivacy.md @@ -27,6 +27,13 @@ Some privacy settings has changed $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => privacyRules, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":"privacyRules"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateRecentStickers.md b/docs/TD_docs/constructors/updateRecentStickers.md index d6686559..7d7d9698 100644 --- a/docs/TD_docs/constructors/updateRecentStickers.md +++ b/docs/TD_docs/constructors/updateRecentStickers.md @@ -27,6 +27,13 @@ List of recently used stickers was updated $updateRecentStickers = ['_' => 'updateRecentStickers', 'is_attached' => Bool, 'sticker_ids' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateRecentStickers","is_attached":"Bool","sticker_ids":["int"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateSavedAnimations.md b/docs/TD_docs/constructors/updateSavedAnimations.md index 4a19d270..27c4b28f 100644 --- a/docs/TD_docs/constructors/updateSavedAnimations.md +++ b/docs/TD_docs/constructors/updateSavedAnimations.md @@ -25,6 +25,13 @@ List of saved animations was updated. Need to drop saved animations cache if hav $updateSavedAnimations = ['_' => 'updateSavedAnimations', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateSavedAnimations"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateSecretChat.md b/docs/TD_docs/constructors/updateSecretChat.md index a9e80214..f32fa5db 100644 --- a/docs/TD_docs/constructors/updateSecretChat.md +++ b/docs/TD_docs/constructors/updateSecretChat.md @@ -26,6 +26,13 @@ Some data about a secret chat has been changed $updateSecretChat = ['_' => 'updateSecretChat', 'secret_chat' => secretChat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateSecretChat","secret_chat":"secretChat"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateServiceNotification.md b/docs/TD_docs/constructors/updateServiceNotification.md index db15931f..6af6b813 100644 --- a/docs/TD_docs/constructors/updateServiceNotification.md +++ b/docs/TD_docs/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ Service notification from the server. Upon receiving client should show popup wi $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'content' => MessageContent, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","content":"MessageContent"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateStickerSets.md b/docs/TD_docs/constructors/updateStickerSets.md index 21b24eca..a2b0a6d3 100644 --- a/docs/TD_docs/constructors/updateStickerSets.md +++ b/docs/TD_docs/constructors/updateStickerSets.md @@ -27,6 +27,13 @@ List of installed sticker sets was updated $updateStickerSets = ['_' => 'updateStickerSets', 'is_masks' => Bool, 'sticker_set_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSets","is_masks":"Bool","sticker_set_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateTrendingStickerSets.md b/docs/TD_docs/constructors/updateTrendingStickerSets.md index 02472ff0..65f353a1 100644 --- a/docs/TD_docs/constructors/updateTrendingStickerSets.md +++ b/docs/TD_docs/constructors/updateTrendingStickerSets.md @@ -26,6 +26,13 @@ List of trending sticker sets was updated or some of them was viewed $updateTrendingStickerSets = ['_' => 'updateTrendingStickerSets', 'sticker_sets' => stickerSets, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateTrendingStickerSets","sticker_sets":"stickerSets"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateUser.md b/docs/TD_docs/constructors/updateUser.md index 3ada1a19..6d97758d 100644 --- a/docs/TD_docs/constructors/updateUser.md +++ b/docs/TD_docs/constructors/updateUser.md @@ -26,6 +26,13 @@ Some data about a user has been changed $updateUser = ['_' => 'updateUser', 'user' => user, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUser","user":"user"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateUserAction.md b/docs/TD_docs/constructors/updateUserAction.md index 7d9539e4..d34cd276 100644 --- a/docs/TD_docs/constructors/updateUserAction.md +++ b/docs/TD_docs/constructors/updateUserAction.md @@ -28,6 +28,13 @@ Some chat activity $updateUserAction = ['_' => 'updateUserAction', 'chat_id' => long, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserAction","chat_id":"long","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateUserBlocked.md b/docs/TD_docs/constructors/updateUserBlocked.md index f9665d45..22cd8b67 100644 --- a/docs/TD_docs/constructors/updateUserBlocked.md +++ b/docs/TD_docs/constructors/updateUserBlocked.md @@ -27,6 +27,13 @@ User blocked/unblocked $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'is_blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","is_blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/updateUserStatus.md b/docs/TD_docs/constructors/updateUserStatus.md index fc4e9305..98b5bcd5 100644 --- a/docs/TD_docs/constructors/updateUserStatus.md +++ b/docs/TD_docs/constructors/updateUserStatus.md @@ -27,6 +27,13 @@ User went online/offline $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/user.md b/docs/TD_docs/constructors/user.md index b33116b3..cb9f8771 100644 --- a/docs/TD_docs/constructors/user.md +++ b/docs/TD_docs/constructors/user.md @@ -38,6 +38,13 @@ Represents user $user = ['_' => 'user', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone_number' => string, 'status' => UserStatus, 'profile_photo' => profilePhoto, 'my_link' => LinkState, 'foreign_link' => LinkState, 'is_verified' => Bool, 'restriction_reason' => string, 'have_access' => Bool, 'type' => UserType, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","id":"int","first_name":"string","last_name":"string","username":"string","phone_number":"string","status":"UserStatus","profile_photo":"profilePhoto","my_link":"LinkState","foreign_link":"LinkState","is_verified":"Bool","restriction_reason":"string","have_access":"Bool","type":"UserType"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/userFull.md b/docs/TD_docs/constructors/userFull.md index 1fb1c59b..7c6ab2b5 100644 --- a/docs/TD_docs/constructors/userFull.md +++ b/docs/TD_docs/constructors/userFull.md @@ -30,6 +30,13 @@ Gives full information about a user (except full list of profile photos) $userFull = ['_' => 'userFull', 'user' => user, 'is_blocked' => Bool, 'about' => string, 'common_chat_count' => int, 'bot_info' => botInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","user":"user","is_blocked":"Bool","about":"string","common_chat_count":"int","bot_info":"botInfo"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/userProfilePhotos.md b/docs/TD_docs/constructors/userProfilePhotos.md index c04ff59b..8328e3fc 100644 --- a/docs/TD_docs/constructors/userProfilePhotos.md +++ b/docs/TD_docs/constructors/userProfilePhotos.md @@ -27,6 +27,13 @@ Contains part of the list of user photos $userProfilePhotos = ['_' => 'userProfilePhotos', 'total_count' => int, 'photos' => [photo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotos","total_count":"int","photos":["photo"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/userStatusEmpty.md b/docs/TD_docs/constructors/userStatusEmpty.md index e0c5d925..44738d60 100644 --- a/docs/TD_docs/constructors/userStatusEmpty.md +++ b/docs/TD_docs/constructors/userStatusEmpty.md @@ -25,6 +25,13 @@ User status was newer changed $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/userStatusLastMonth.md b/docs/TD_docs/constructors/userStatusLastMonth.md index f6d42c83..7515a356 100644 --- a/docs/TD_docs/constructors/userStatusLastMonth.md +++ b/docs/TD_docs/constructors/userStatusLastMonth.md @@ -25,6 +25,13 @@ User is offline, but was online last month $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/userStatusLastWeek.md b/docs/TD_docs/constructors/userStatusLastWeek.md index c26f287a..94e26c31 100644 --- a/docs/TD_docs/constructors/userStatusLastWeek.md +++ b/docs/TD_docs/constructors/userStatusLastWeek.md @@ -25,6 +25,13 @@ User is offline, but was online last week $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/userStatusOffline.md b/docs/TD_docs/constructors/userStatusOffline.md index 4c645505..510ee154 100644 --- a/docs/TD_docs/constructors/userStatusOffline.md +++ b/docs/TD_docs/constructors/userStatusOffline.md @@ -26,6 +26,13 @@ User is offline $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/userStatusOnline.md b/docs/TD_docs/constructors/userStatusOnline.md index dce21ab0..b38015c9 100644 --- a/docs/TD_docs/constructors/userStatusOnline.md +++ b/docs/TD_docs/constructors/userStatusOnline.md @@ -26,6 +26,13 @@ User is online $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/userStatusRecently.md b/docs/TD_docs/constructors/userStatusRecently.md index 4a9f2200..323edf63 100644 --- a/docs/TD_docs/constructors/userStatusRecently.md +++ b/docs/TD_docs/constructors/userStatusRecently.md @@ -25,6 +25,13 @@ User was online recently $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/userTypeBot.md b/docs/TD_docs/constructors/userTypeBot.md index c2623a61..2af70e60 100644 --- a/docs/TD_docs/constructors/userTypeBot.md +++ b/docs/TD_docs/constructors/userTypeBot.md @@ -30,6 +30,13 @@ Bot (see https: core.telegram.org/bots) $userTypeBot = ['_' => 'userTypeBot', 'can_join_group_chats' => Bool, 'can_read_all_group_chat_messages' => Bool, 'is_inline' => Bool, 'inline_query_placeholder' => string, 'need_location' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userTypeBot","can_join_group_chats":"Bool","can_read_all_group_chat_messages":"Bool","is_inline":"Bool","inline_query_placeholder":"string","need_location":"Bool"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/userTypeDeleted.md b/docs/TD_docs/constructors/userTypeDeleted.md index 2cd10de6..b0a99dbd 100644 --- a/docs/TD_docs/constructors/userTypeDeleted.md +++ b/docs/TD_docs/constructors/userTypeDeleted.md @@ -25,6 +25,13 @@ Deleted user or deleted bot. There is no any information about it except user_id $userTypeDeleted = ['_' => 'userTypeDeleted', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userTypeDeleted"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/userTypeGeneral.md b/docs/TD_docs/constructors/userTypeGeneral.md index 9c73394b..e13358cd 100644 --- a/docs/TD_docs/constructors/userTypeGeneral.md +++ b/docs/TD_docs/constructors/userTypeGeneral.md @@ -25,6 +25,13 @@ General user $userTypeGeneral = ['_' => 'userTypeGeneral', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userTypeGeneral"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/userTypeUnknown.md b/docs/TD_docs/constructors/userTypeUnknown.md index ef9a0c51..9aa91742 100644 --- a/docs/TD_docs/constructors/userTypeUnknown.md +++ b/docs/TD_docs/constructors/userTypeUnknown.md @@ -25,6 +25,13 @@ Currently there is no any information about the user except user_id. It can happ $userTypeUnknown = ['_' => 'userTypeUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userTypeUnknown"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/users.md b/docs/TD_docs/constructors/users.md index 3b44da17..db28fab0 100644 --- a/docs/TD_docs/constructors/users.md +++ b/docs/TD_docs/constructors/users.md @@ -27,6 +27,13 @@ Contains list of users $users = ['_' => 'users', 'total_count' => int, 'users' => [user], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"users","total_count":"int","users":["user"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/venue.md b/docs/TD_docs/constructors/venue.md index 16726bf4..d749fa73 100644 --- a/docs/TD_docs/constructors/venue.md +++ b/docs/TD_docs/constructors/venue.md @@ -30,6 +30,13 @@ Describes venue $venue = ['_' => 'venue', 'location' => location, 'title' => string, 'address' => string, 'provider' => string, 'id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"venue","location":"location","title":"string","address":"string","provider":"string","id":"string"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/video.md b/docs/TD_docs/constructors/video.md index 5e7d13e7..69e3dc09 100644 --- a/docs/TD_docs/constructors/video.md +++ b/docs/TD_docs/constructors/video.md @@ -33,6 +33,13 @@ Describes video file $video = ['_' => 'video', 'duration' => int, 'width' => int, 'height' => int, 'file_name' => string, 'mime_type' => string, 'has_stickers' => Bool, 'thumb' => photoSize, 'video' => file, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"video","duration":"int","width":"int","height":"int","file_name":"string","mime_type":"string","has_stickers":"Bool","thumb":"photoSize","video":"file"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/voice.md b/docs/TD_docs/constructors/voice.md index 8b567cd5..94d03ddf 100644 --- a/docs/TD_docs/constructors/voice.md +++ b/docs/TD_docs/constructors/voice.md @@ -29,6 +29,13 @@ Describes voice record. Voice must be encoded with Opus codec and must be stored $voice = ['_' => 'voice', 'duration' => int, 'waveform' => bytes, 'mime_type' => string, 'voice' => file, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"voice","duration":"int","waveform":"bytes","mime_type":"string","voice":"file"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/wallpaper.md b/docs/TD_docs/constructors/wallpaper.md index 000cbd4b..e7121ac0 100644 --- a/docs/TD_docs/constructors/wallpaper.md +++ b/docs/TD_docs/constructors/wallpaper.md @@ -27,6 +27,13 @@ Contains information about one wallpaper $wallpaper = ['_' => 'wallpaper', 'sizes' => [photoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallpaper","sizes":["photoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/wallpapers.md b/docs/TD_docs/constructors/wallpapers.md index 4670e8b5..1c15247c 100644 --- a/docs/TD_docs/constructors/wallpapers.md +++ b/docs/TD_docs/constructors/wallpapers.md @@ -26,6 +26,13 @@ Contains list of wallpapers $wallpapers = ['_' => 'wallpapers', 'wallpapers' => [wallpaper], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallpapers","wallpapers":["wallpaper"]} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/constructors/webPage.md b/docs/TD_docs/constructors/webPage.md index 802992d7..df3aeb40 100644 --- a/docs/TD_docs/constructors/webPage.md +++ b/docs/TD_docs/constructors/webPage.md @@ -44,6 +44,13 @@ Describes web page preview $webPage = ['_' => 'webPage', '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, 'animation' => animation, 'audio' => audio, 'document' => document, 'sticker' => sticker, 'video' => video, 'voice' => voice, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPage","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","animation":"animation","audio":"audio","document":"document","sticker":"sticker","video":"video","voice":"voice"} +``` + + Or, if you're into Lua: diff --git a/docs/TD_docs/methods/addChatMember.md b/docs/TD_docs/methods/addChatMember.md index 62dd1b84..451cfc44 100644 --- a/docs/TD_docs/methods/addChatMember.md +++ b/docs/TD_docs/methods/addChatMember.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->addChatMember(['chat_id' => InputPeer, 'user_id' => int, 'forward_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - addChatMember +* params - {"chat_id":"InputPeer","user_id":"int","forward_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/addChatMember` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded int +forward_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/addChatMembers.md b/docs/TD_docs/methods/addChatMembers.md index 74454386..e03037bd 100644 --- a/docs/TD_docs/methods/addChatMembers.md +++ b/docs/TD_docs/methods/addChatMembers.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->addChatMembers(['chat_id' => InputPeer, 'user_ids' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - addChatMembers +* params - {"chat_id":"InputPeer","user_ids":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/addChatMembers` + +Parameters: + +chat_id - Json encoded InputPeer +user_ids - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/addRecentSticker.md b/docs/TD_docs/methods/addRecentSticker.md index 7a5fcc46..94362ec4 100644 --- a/docs/TD_docs/methods/addRecentSticker.md +++ b/docs/TD_docs/methods/addRecentSticker.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Stickers = $MadelineProto->addRecentSticker(['is_attached' => Bool, 'sticker' => InputFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - addRecentSticker +* params - {"is_attached":"Bool","sticker":"InputFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/addRecentSticker` + +Parameters: + +is_attached - Json encoded Bool +sticker - Json encoded InputFile + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/addRecentlyFoundChat.md b/docs/TD_docs/methods/addRecentlyFoundChat.md index 67bf984f..ed417ce1 100644 --- a/docs/TD_docs/methods/addRecentlyFoundChat.md +++ b/docs/TD_docs/methods/addRecentlyFoundChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->addRecentlyFoundChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - addRecentlyFoundChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/addRecentlyFoundChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/addSavedAnimation.md b/docs/TD_docs/methods/addSavedAnimation.md index a4e53db7..19e164de 100644 --- a/docs/TD_docs/methods/addSavedAnimation.md +++ b/docs/TD_docs/methods/addSavedAnimation.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->addSavedAnimation(['animation' => InputFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - addSavedAnimation +* params - {"animation":"InputFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/addSavedAnimation` + +Parameters: + +animation - Json encoded InputFile + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/answerCallbackQuery.md b/docs/TD_docs/methods/answerCallbackQuery.md index 66483fc8..0d327b63 100644 --- a/docs/TD_docs/methods/answerCallbackQuery.md +++ b/docs/TD_docs/methods/answerCallbackQuery.md @@ -45,6 +45,34 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->answerCallbackQuery(['callback_query_id' => long, 'text' => string, 'show_alert' => Bool, 'url' => string, 'cache_time' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - answerCallbackQuery +* params - {"callback_query_id":"long","text":"string","show_alert":"Bool","url":"string","cache_time":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/answerCallbackQuery` + +Parameters: + +callback_query_id - Json encoded long +text - Json encoded string +show_alert - Json encoded Bool +url - Json encoded string +cache_time - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/answerInlineQuery.md b/docs/TD_docs/methods/answerInlineQuery.md index 2a1e1ad1..b26685bf 100644 --- a/docs/TD_docs/methods/answerInlineQuery.md +++ b/docs/TD_docs/methods/answerInlineQuery.md @@ -47,6 +47,36 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->answerInlineQuery(['inline_query_id' => long, 'is_personal' => Bool, 'results' => [InputInlineQueryResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm_text' => string, 'switch_pm_parameter' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - answerInlineQuery +* params - {"inline_query_id":"long","is_personal":"Bool","results":["InputInlineQueryResult"],"cache_time":"int","next_offset":"string","switch_pm_text":"string","switch_pm_parameter":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/answerInlineQuery` + +Parameters: + +inline_query_id - Json encoded long +is_personal - Json encoded Bool +results - Json encoded array of InputInlineQueryResult +cache_time - Json encoded int +next_offset - Json encoded string +switch_pm_text - Json encoded string +switch_pm_parameter - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/blockUser.md b/docs/TD_docs/methods/blockUser.md index 3a6ab8d6..5d60ae0f 100644 --- a/docs/TD_docs/methods/blockUser.md +++ b/docs/TD_docs/methods/blockUser.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->blockUser(['user_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - blockUser +* params - {"user_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/blockUser` + +Parameters: + +user_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/cancelDownloadFile.md b/docs/TD_docs/methods/cancelDownloadFile.md index c12b12f7..56bf3e79 100644 --- a/docs/TD_docs/methods/cancelDownloadFile.md +++ b/docs/TD_docs/methods/cancelDownloadFile.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->cancelDownloadFile(['file_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - cancelDownloadFile +* params - {"file_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/cancelDownloadFile` + +Parameters: + +file_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/changeAbout.md b/docs/TD_docs/methods/changeAbout.md index 40e29487..bd606914 100644 --- a/docs/TD_docs/methods/changeAbout.md +++ b/docs/TD_docs/methods/changeAbout.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->changeAbout(['about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - changeAbout +* params - {"about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/changeAbout` + +Parameters: + +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/changeAccountTtl.md b/docs/TD_docs/methods/changeAccountTtl.md index 81d01df2..725f2194 100644 --- a/docs/TD_docs/methods/changeAccountTtl.md +++ b/docs/TD_docs/methods/changeAccountTtl.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->changeAccountTtl(['ttl' => accountTtl, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - changeAccountTtl +* params - {"ttl":"accountTtl"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/changeAccountTtl` + +Parameters: + +ttl - Json encoded accountTtl + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/changeChannelAbout.md b/docs/TD_docs/methods/changeChannelAbout.md index 3fa6f536..c16e62e7 100644 --- a/docs/TD_docs/methods/changeChannelAbout.md +++ b/docs/TD_docs/methods/changeChannelAbout.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->changeChannelAbout(['channel_id' => int, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - changeChannelAbout +* params - {"channel_id":"int","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/changeChannelAbout` + +Parameters: + +channel_id - Json encoded int +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/changeChannelUsername.md b/docs/TD_docs/methods/changeChannelUsername.md index a3cffe73..e3d88425 100644 --- a/docs/TD_docs/methods/changeChannelUsername.md +++ b/docs/TD_docs/methods/changeChannelUsername.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->changeChannelUsername(['channel_id' => int, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - changeChannelUsername +* params - {"channel_id":"int","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/changeChannelUsername` + +Parameters: + +channel_id - Json encoded int +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/changeChatDraftMessage.md b/docs/TD_docs/methods/changeChatDraftMessage.md index b0a11394..3b831634 100644 --- a/docs/TD_docs/methods/changeChatDraftMessage.md +++ b/docs/TD_docs/methods/changeChatDraftMessage.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->changeChatDraftMessage(['chat_id' => InputPeer, 'draft_message' => draftMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - changeChatDraftMessage +* params - {"chat_id":"InputPeer","draft_message":"draftMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/changeChatDraftMessage` + +Parameters: + +chat_id - Json encoded InputPeer +draft_message - Json encoded draftMessage + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/changeChatMemberStatus.md b/docs/TD_docs/methods/changeChatMemberStatus.md index babf40a1..0e26b12e 100644 --- a/docs/TD_docs/methods/changeChatMemberStatus.md +++ b/docs/TD_docs/methods/changeChatMemberStatus.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->changeChatMemberStatus(['chat_id' => InputPeer, 'user_id' => int, 'status' => ChatMemberStatus, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - changeChatMemberStatus +* params - {"chat_id":"InputPeer","user_id":"int","status":"ChatMemberStatus"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/changeChatMemberStatus` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded int +status - Json encoded ChatMemberStatus + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/changeChatPhoto.md b/docs/TD_docs/methods/changeChatPhoto.md index ae783bda..5412533a 100644 --- a/docs/TD_docs/methods/changeChatPhoto.md +++ b/docs/TD_docs/methods/changeChatPhoto.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->changeChatPhoto(['chat_id' => InputPeer, 'photo' => InputFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - changeChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/changeChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputFile + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/changeChatReportSpamState.md b/docs/TD_docs/methods/changeChatReportSpamState.md index 4264893a..a943f4ea 100644 --- a/docs/TD_docs/methods/changeChatReportSpamState.md +++ b/docs/TD_docs/methods/changeChatReportSpamState.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->changeChatReportSpamState(['chat_id' => InputPeer, 'is_spam_chat' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - changeChatReportSpamState +* params - {"chat_id":"InputPeer","is_spam_chat":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/changeChatReportSpamState` + +Parameters: + +chat_id - Json encoded InputPeer +is_spam_chat - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/changeChatTitle.md b/docs/TD_docs/methods/changeChatTitle.md index 6c96153f..bf1e8267 100644 --- a/docs/TD_docs/methods/changeChatTitle.md +++ b/docs/TD_docs/methods/changeChatTitle.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->changeChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - changeChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/changeChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/changeName.md b/docs/TD_docs/methods/changeName.md index f5536079..a8e06853 100644 --- a/docs/TD_docs/methods/changeName.md +++ b/docs/TD_docs/methods/changeName.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->changeName(['first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - changeName +* params - {"first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/changeName` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/changePhoneNumber.md b/docs/TD_docs/methods/changePhoneNumber.md index c38199a4..e73b29b4 100644 --- a/docs/TD_docs/methods/changePhoneNumber.md +++ b/docs/TD_docs/methods/changePhoneNumber.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $AuthState = $MadelineProto->changePhoneNumber(['phone_number' => string, 'allow_flash_call' => Bool, 'is_current_phone_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - changePhoneNumber +* params - {"phone_number":"string","allow_flash_call":"Bool","is_current_phone_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/changePhoneNumber` + +Parameters: + +phone_number - Json encoded string +allow_flash_call - Json encoded Bool +is_current_phone_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/changeUsername.md b/docs/TD_docs/methods/changeUsername.md index 18b68d3c..6b483895 100644 --- a/docs/TD_docs/methods/changeUsername.md +++ b/docs/TD_docs/methods/changeUsername.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->changeUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - changeUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/changeUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/checkAuthBotToken.md b/docs/TD_docs/methods/checkAuthBotToken.md index 895a7f3f..a31c83c3 100644 --- a/docs/TD_docs/methods/checkAuthBotToken.md +++ b/docs/TD_docs/methods/checkAuthBotToken.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $AuthState = $MadelineProto->checkAuthBotToken(['token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - checkAuthBotToken +* params - {"token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/checkAuthBotToken` + +Parameters: + +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/checkAuthCode.md b/docs/TD_docs/methods/checkAuthCode.md index c36e6212..b99d86f1 100644 --- a/docs/TD_docs/methods/checkAuthCode.md +++ b/docs/TD_docs/methods/checkAuthCode.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $AuthState = $MadelineProto->checkAuthCode(['code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - checkAuthCode +* params - {"code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/checkAuthCode` + +Parameters: + +code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/checkAuthPassword.md b/docs/TD_docs/methods/checkAuthPassword.md index 7e39fdbe..ae721bfd 100644 --- a/docs/TD_docs/methods/checkAuthPassword.md +++ b/docs/TD_docs/methods/checkAuthPassword.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $AuthState = $MadelineProto->checkAuthPassword(['password' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - checkAuthPassword +* params - {"password":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/checkAuthPassword` + +Parameters: + +password - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/checkChangePhoneNumberCode.md b/docs/TD_docs/methods/checkChangePhoneNumberCode.md index f87413fe..998ccc22 100644 --- a/docs/TD_docs/methods/checkChangePhoneNumberCode.md +++ b/docs/TD_docs/methods/checkChangePhoneNumberCode.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $AuthState = $MadelineProto->checkChangePhoneNumberCode(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - checkChangePhoneNumberCode +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/checkChangePhoneNumberCode` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/checkChatInviteLink.md b/docs/TD_docs/methods/checkChatInviteLink.md index e99cb3f5..dcc53db6 100644 --- a/docs/TD_docs/methods/checkChatInviteLink.md +++ b/docs/TD_docs/methods/checkChatInviteLink.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $ChatInviteLinkInfo = $MadelineProto->checkChatInviteLink(['invite_link' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - checkChatInviteLink +* params - {"invite_link":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/checkChatInviteLink` + +Parameters: + +invite_link - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/clearRecentStickers.md b/docs/TD_docs/methods/clearRecentStickers.md index 1364a851..29fc4db7 100644 --- a/docs/TD_docs/methods/clearRecentStickers.md +++ b/docs/TD_docs/methods/clearRecentStickers.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->clearRecentStickers(['is_attached' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - clearRecentStickers +* params - {"is_attached":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/clearRecentStickers` + +Parameters: + +is_attached - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/closeChat.md b/docs/TD_docs/methods/closeChat.md index 15fd7e94..f5af2363 100644 --- a/docs/TD_docs/methods/closeChat.md +++ b/docs/TD_docs/methods/closeChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->closeChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - closeChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/closeChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/closeSecretChat.md b/docs/TD_docs/methods/closeSecretChat.md index eb535fbe..dd44c7b7 100644 --- a/docs/TD_docs/methods/closeSecretChat.md +++ b/docs/TD_docs/methods/closeSecretChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->closeSecretChat(['secret_chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - closeSecretChat +* params - {"secret_chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/closeSecretChat` + +Parameters: + +secret_chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/createChannelChat.md b/docs/TD_docs/methods/createChannelChat.md index 3a36bb51..0b8e47d7 100644 --- a/docs/TD_docs/methods/createChannelChat.md +++ b/docs/TD_docs/methods/createChannelChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Chat = $MadelineProto->createChannelChat(['channel_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - createChannelChat +* params - {"channel_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/createChannelChat` + +Parameters: + +channel_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/createGroupChat.md b/docs/TD_docs/methods/createGroupChat.md index 0d0c0d28..82bed6cf 100644 --- a/docs/TD_docs/methods/createGroupChat.md +++ b/docs/TD_docs/methods/createGroupChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Chat = $MadelineProto->createGroupChat(['group_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - createGroupChat +* params - {"group_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/createGroupChat` + +Parameters: + +group_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/createNewChannelChat.md b/docs/TD_docs/methods/createNewChannelChat.md index 78072a51..057a100e 100644 --- a/docs/TD_docs/methods/createNewChannelChat.md +++ b/docs/TD_docs/methods/createNewChannelChat.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $Chat = $MadelineProto->createNewChannelChat(['title' => string, 'is_supergroup' => Bool, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - createNewChannelChat +* params - {"title":"string","is_supergroup":"Bool","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/createNewChannelChat` + +Parameters: + +title - Json encoded string +is_supergroup - Json encoded Bool +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/createNewGroupChat.md b/docs/TD_docs/methods/createNewGroupChat.md index 30ae3d90..1d7220a9 100644 --- a/docs/TD_docs/methods/createNewGroupChat.md +++ b/docs/TD_docs/methods/createNewGroupChat.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Chat = $MadelineProto->createNewGroupChat(['user_ids' => [int], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - createNewGroupChat +* params - {"user_ids":["int"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/createNewGroupChat` + +Parameters: + +user_ids - Json encoded array of int +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/createNewSecretChat.md b/docs/TD_docs/methods/createNewSecretChat.md index 67cc2b15..31213e44 100644 --- a/docs/TD_docs/methods/createNewSecretChat.md +++ b/docs/TD_docs/methods/createNewSecretChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Chat = $MadelineProto->createNewSecretChat(['user_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - createNewSecretChat +* params - {"user_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/createNewSecretChat` + +Parameters: + +user_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/createPrivateChat.md b/docs/TD_docs/methods/createPrivateChat.md index 9bc7f723..56366275 100644 --- a/docs/TD_docs/methods/createPrivateChat.md +++ b/docs/TD_docs/methods/createPrivateChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Chat = $MadelineProto->createPrivateChat(['user_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - createPrivateChat +* params - {"user_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/createPrivateChat` + +Parameters: + +user_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/createSecretChat.md b/docs/TD_docs/methods/createSecretChat.md index 5fd5eccc..0c8e5891 100644 --- a/docs/TD_docs/methods/createSecretChat.md +++ b/docs/TD_docs/methods/createSecretChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Chat = $MadelineProto->createSecretChat(['secret_chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - createSecretChat +* params - {"secret_chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/createSecretChat` + +Parameters: + +secret_chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/deleteAccount.md b/docs/TD_docs/methods/deleteAccount.md index 6c21e81d..c0f54392 100644 --- a/docs/TD_docs/methods/deleteAccount.md +++ b/docs/TD_docs/methods/deleteAccount.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/deleteChannel.md b/docs/TD_docs/methods/deleteChannel.md index 81e0d485..60b83108 100644 --- a/docs/TD_docs/methods/deleteChannel.md +++ b/docs/TD_docs/methods/deleteChannel.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->deleteChannel(['channel_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - deleteChannel +* params - {"channel_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/deleteChannel` + +Parameters: + +channel_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/deleteChatHistory.md b/docs/TD_docs/methods/deleteChatHistory.md index 71c89238..42c23a80 100644 --- a/docs/TD_docs/methods/deleteChatHistory.md +++ b/docs/TD_docs/methods/deleteChatHistory.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->deleteChatHistory(['chat_id' => InputPeer, 'remove_from_chat_list' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - deleteChatHistory +* params - {"chat_id":"InputPeer","remove_from_chat_list":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/deleteChatHistory` + +Parameters: + +chat_id - Json encoded InputPeer +remove_from_chat_list - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/deleteChatReplyMarkup.md b/docs/TD_docs/methods/deleteChatReplyMarkup.md index 85307e5a..f01f9c72 100644 --- a/docs/TD_docs/methods/deleteChatReplyMarkup.md +++ b/docs/TD_docs/methods/deleteChatReplyMarkup.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->deleteChatReplyMarkup(['chat_id' => InputPeer, 'message_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - deleteChatReplyMarkup +* params - {"chat_id":"InputPeer","message_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/deleteChatReplyMarkup` + +Parameters: + +chat_id - Json encoded InputPeer +message_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/deleteContacts.md b/docs/TD_docs/methods/deleteContacts.md index 9067bfa4..8e4ac7d0 100644 --- a/docs/TD_docs/methods/deleteContacts.md +++ b/docs/TD_docs/methods/deleteContacts.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->deleteContacts(['user_ids' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - deleteContacts +* params - {"user_ids":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/deleteContacts` + +Parameters: + +user_ids - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/deleteMessages.md b/docs/TD_docs/methods/deleteMessages.md index 66744e38..f619d05f 100644 --- a/docs/TD_docs/methods/deleteMessages.md +++ b/docs/TD_docs/methods/deleteMessages.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->deleteMessages(['chat_id' => InputPeer, 'message_ids' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - deleteMessages +* params - {"chat_id":"InputPeer","message_ids":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/deleteMessages` + +Parameters: + +chat_id - Json encoded InputPeer +message_ids - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/deleteMessagesFromUser.md b/docs/TD_docs/methods/deleteMessagesFromUser.md index 9d428ebc..5b56110b 100644 --- a/docs/TD_docs/methods/deleteMessagesFromUser.md +++ b/docs/TD_docs/methods/deleteMessagesFromUser.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->deleteMessagesFromUser(['chat_id' => InputPeer, 'user_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - deleteMessagesFromUser +* params - {"chat_id":"InputPeer","user_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/deleteMessagesFromUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/deleteProfilePhoto.md b/docs/TD_docs/methods/deleteProfilePhoto.md index 49492c7f..8d91461f 100644 --- a/docs/TD_docs/methods/deleteProfilePhoto.md +++ b/docs/TD_docs/methods/deleteProfilePhoto.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->deleteProfilePhoto(['profile_photo_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - deleteProfilePhoto +* params - {"profile_photo_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/deleteProfilePhoto` + +Parameters: + +profile_photo_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/deleteRecentSticker.md b/docs/TD_docs/methods/deleteRecentSticker.md index 59f70a32..e087d3ef 100644 --- a/docs/TD_docs/methods/deleteRecentSticker.md +++ b/docs/TD_docs/methods/deleteRecentSticker.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->deleteRecentSticker(['is_attached' => Bool, 'sticker' => InputFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - deleteRecentSticker +* params - {"is_attached":"Bool","sticker":"InputFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/deleteRecentSticker` + +Parameters: + +is_attached - Json encoded Bool +sticker - Json encoded InputFile + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/deleteRecentlyFoundChat.md b/docs/TD_docs/methods/deleteRecentlyFoundChat.md index f962118a..bf6d4933 100644 --- a/docs/TD_docs/methods/deleteRecentlyFoundChat.md +++ b/docs/TD_docs/methods/deleteRecentlyFoundChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->deleteRecentlyFoundChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - deleteRecentlyFoundChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/deleteRecentlyFoundChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/deleteRecentlyFoundChats.md b/docs/TD_docs/methods/deleteRecentlyFoundChats.md index 32ada104..6552c89f 100644 --- a/docs/TD_docs/methods/deleteRecentlyFoundChats.md +++ b/docs/TD_docs/methods/deleteRecentlyFoundChats.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $Ok = $MadelineProto->deleteRecentlyFoundChats(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - deleteRecentlyFoundChats +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/deleteRecentlyFoundChats` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/deleteSavedAnimation.md b/docs/TD_docs/methods/deleteSavedAnimation.md index 0ebfa7b3..7d6e9e65 100644 --- a/docs/TD_docs/methods/deleteSavedAnimation.md +++ b/docs/TD_docs/methods/deleteSavedAnimation.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->deleteSavedAnimation(['animation' => InputFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - deleteSavedAnimation +* params - {"animation":"InputFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/deleteSavedAnimation` + +Parameters: + +animation - Json encoded InputFile + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/downloadFile.md b/docs/TD_docs/methods/downloadFile.md index 8ab64787..b56bf5ce 100644 --- a/docs/TD_docs/methods/downloadFile.md +++ b/docs/TD_docs/methods/downloadFile.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->downloadFile(['file_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - downloadFile +* params - {"file_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/downloadFile` + +Parameters: + +file_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/editInlineMessageCaption.md b/docs/TD_docs/methods/editInlineMessageCaption.md index 72b060bf..0a774690 100644 --- a/docs/TD_docs/methods/editInlineMessageCaption.md +++ b/docs/TD_docs/methods/editInlineMessageCaption.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->editInlineMessageCaption(['inline_message_id' => string, 'reply_markup' => ReplyMarkup, 'caption' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - editInlineMessageCaption +* params - {"inline_message_id":"string","reply_markup":"ReplyMarkup","caption":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/editInlineMessageCaption` + +Parameters: + +inline_message_id - Json encoded string +reply_markup - Json encoded ReplyMarkup +caption - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/editInlineMessageReplyMarkup.md b/docs/TD_docs/methods/editInlineMessageReplyMarkup.md index f61e9e12..54b59445 100644 --- a/docs/TD_docs/methods/editInlineMessageReplyMarkup.md +++ b/docs/TD_docs/methods/editInlineMessageReplyMarkup.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->editInlineMessageReplyMarkup(['inline_message_id' => string, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - editInlineMessageReplyMarkup +* params - {"inline_message_id":"string","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/editInlineMessageReplyMarkup` + +Parameters: + +inline_message_id - Json encoded string +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/editInlineMessageText.md b/docs/TD_docs/methods/editInlineMessageText.md index 918d70a0..4253dc37 100644 --- a/docs/TD_docs/methods/editInlineMessageText.md +++ b/docs/TD_docs/methods/editInlineMessageText.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->editInlineMessageText(['inline_message_id' => string, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - editInlineMessageText +* params - {"inline_message_id":"string","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/editInlineMessageText` + +Parameters: + +inline_message_id - Json encoded string +reply_markup - Json encoded ReplyMarkup +input_message_content - Json encoded InputMessageContent + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/editMessageCaption.md b/docs/TD_docs/methods/editMessageCaption.md index 38c2eba6..3250770d 100644 --- a/docs/TD_docs/methods/editMessageCaption.md +++ b/docs/TD_docs/methods/editMessageCaption.md @@ -44,6 +44,33 @@ if (isset($number)) { // Login as a user $Message = $MadelineProto->editMessageCaption(['chat_id' => InputPeer, 'message_id' => long, 'reply_markup' => ReplyMarkup, 'caption' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - editMessageCaption +* params - {"chat_id":"InputPeer","message_id":"long","reply_markup":"ReplyMarkup","caption":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/editMessageCaption` + +Parameters: + +chat_id - Json encoded InputPeer +message_id - Json encoded long +reply_markup - Json encoded ReplyMarkup +caption - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/editMessageReplyMarkup.md b/docs/TD_docs/methods/editMessageReplyMarkup.md index b8436e1e..0cb38402 100644 --- a/docs/TD_docs/methods/editMessageReplyMarkup.md +++ b/docs/TD_docs/methods/editMessageReplyMarkup.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $Message = $MadelineProto->editMessageReplyMarkup(['chat_id' => InputPeer, 'message_id' => long, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - editMessageReplyMarkup +* params - {"chat_id":"InputPeer","message_id":"long","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/editMessageReplyMarkup` + +Parameters: + +chat_id - Json encoded InputPeer +message_id - Json encoded long +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/editMessageText.md b/docs/TD_docs/methods/editMessageText.md index 12731fe4..42468a84 100644 --- a/docs/TD_docs/methods/editMessageText.md +++ b/docs/TD_docs/methods/editMessageText.md @@ -44,6 +44,33 @@ if (isset($number)) { // Login as a user $Message = $MadelineProto->editMessageText(['chat_id' => InputPeer, 'message_id' => long, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - editMessageText +* params - {"chat_id":"InputPeer","message_id":"long","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/editMessageText` + +Parameters: + +chat_id - Json encoded InputPeer +message_id - Json encoded long +reply_markup - Json encoded ReplyMarkup +input_message_content - Json encoded InputMessageContent + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/exportChatInviteLink.md b/docs/TD_docs/methods/exportChatInviteLink.md index f8f4bc09..38c3c5d2 100644 --- a/docs/TD_docs/methods/exportChatInviteLink.md +++ b/docs/TD_docs/methods/exportChatInviteLink.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $ChatInviteLink = $MadelineProto->exportChatInviteLink(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - exportChatInviteLink +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/exportChatInviteLink` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/finishFileGeneration.md b/docs/TD_docs/methods/finishFileGeneration.md index 4f480cf9..b5d520d7 100644 --- a/docs/TD_docs/methods/finishFileGeneration.md +++ b/docs/TD_docs/methods/finishFileGeneration.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->finishFileGeneration(['generation_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - finishFileGeneration +* params - {"generation_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/finishFileGeneration` + +Parameters: + +generation_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/forwardMessages.md b/docs/TD_docs/methods/forwardMessages.md index f744dfba..a07eb352 100644 --- a/docs/TD_docs/methods/forwardMessages.md +++ b/docs/TD_docs/methods/forwardMessages.md @@ -45,6 +45,34 @@ if (isset($number)) { // Login as a user $Messages = $MadelineProto->forwardMessages(['chat_id' => InputPeer, 'from_chat_id' => long, 'message_ids' => [long], 'disable_notification' => Bool, 'from_background' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - forwardMessages +* params - {"chat_id":"InputPeer","from_chat_id":"long","message_ids":["long"],"disable_notification":"Bool","from_background":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/forwardMessages` + +Parameters: + +chat_id - Json encoded InputPeer +from_chat_id - Json encoded long +message_ids - Json encoded array of long +disable_notification - Json encoded Bool +from_background - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getAccountTtl.md b/docs/TD_docs/methods/getAccountTtl.md index 1456b853..aa44bf4b 100644 --- a/docs/TD_docs/methods/getAccountTtl.md +++ b/docs/TD_docs/methods/getAccountTtl.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $AccountTtl = $MadelineProto->getAccountTtl(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getAccountTtl +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getAccountTtl` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/getActiveSessions.md b/docs/TD_docs/methods/getActiveSessions.md index 87bbb6af..4822dbff 100644 --- a/docs/TD_docs/methods/getActiveSessions.md +++ b/docs/TD_docs/methods/getActiveSessions.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $Sessions = $MadelineProto->getActiveSessions(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getActiveSessions +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getActiveSessions` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/getArchivedStickerSets.md b/docs/TD_docs/methods/getArchivedStickerSets.md index 026309d6..7fb5bdfb 100644 --- a/docs/TD_docs/methods/getArchivedStickerSets.md +++ b/docs/TD_docs/methods/getArchivedStickerSets.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $StickerSets = $MadelineProto->getArchivedStickerSets(['is_masks' => Bool, 'offset_sticker_set_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getArchivedStickerSets +* params - {"is_masks":"Bool","offset_sticker_set_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getArchivedStickerSets` + +Parameters: + +is_masks - Json encoded Bool +offset_sticker_set_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getAttachedStickerSets.md b/docs/TD_docs/methods/getAttachedStickerSets.md index 8e6e19f3..779da702 100644 --- a/docs/TD_docs/methods/getAttachedStickerSets.md +++ b/docs/TD_docs/methods/getAttachedStickerSets.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $StickerSets = $MadelineProto->getAttachedStickerSets(['file_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getAttachedStickerSets +* params - {"file_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getAttachedStickerSets` + +Parameters: + +file_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getAuthState.md b/docs/TD_docs/methods/getAuthState.md index 594cffd3..7ba05298 100644 --- a/docs/TD_docs/methods/getAuthState.md +++ b/docs/TD_docs/methods/getAuthState.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $AuthState = $MadelineProto->getAuthState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getAuthState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getAuthState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/getBlockedUsers.md b/docs/TD_docs/methods/getBlockedUsers.md index 25b65b6d..5d1965c2 100644 --- a/docs/TD_docs/methods/getBlockedUsers.md +++ b/docs/TD_docs/methods/getBlockedUsers.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Users = $MadelineProto->getBlockedUsers(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getBlockedUsers +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getBlockedUsers` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getCallbackQueryAnswer.md b/docs/TD_docs/methods/getCallbackQueryAnswer.md index 666bf45a..3e985229 100644 --- a/docs/TD_docs/methods/getCallbackQueryAnswer.md +++ b/docs/TD_docs/methods/getCallbackQueryAnswer.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $CallbackQueryAnswer = $MadelineProto->getCallbackQueryAnswer(['chat_id' => InputPeer, 'message_id' => long, 'payload' => CallbackQueryPayload, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getCallbackQueryAnswer +* params - {"chat_id":"InputPeer","message_id":"long","payload":"CallbackQueryPayload"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getCallbackQueryAnswer` + +Parameters: + +chat_id - Json encoded InputPeer +message_id - Json encoded long +payload - Json encoded CallbackQueryPayload + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getChannel.md b/docs/TD_docs/methods/getChannel.md index 5888aee2..ed22c5ee 100644 --- a/docs/TD_docs/methods/getChannel.md +++ b/docs/TD_docs/methods/getChannel.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Channel = $MadelineProto->getChannel(['channel_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getChannel +* params - {"channel_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getChannel` + +Parameters: + +channel_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getChannelFull.md b/docs/TD_docs/methods/getChannelFull.md index dbfd2412..5a217739 100644 --- a/docs/TD_docs/methods/getChannelFull.md +++ b/docs/TD_docs/methods/getChannelFull.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $ChannelFull = $MadelineProto->getChannelFull(['channel_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getChannelFull +* params - {"channel_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getChannelFull` + +Parameters: + +channel_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getChannelMembers.md b/docs/TD_docs/methods/getChannelMembers.md index c357de93..1160bfc6 100644 --- a/docs/TD_docs/methods/getChannelMembers.md +++ b/docs/TD_docs/methods/getChannelMembers.md @@ -44,6 +44,33 @@ if (isset($number)) { // Login as a user $ChatMembers = $MadelineProto->getChannelMembers(['channel_id' => int, 'filter' => ChannelMembersFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getChannelMembers +* params - {"channel_id":"int","filter":"ChannelMembersFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getChannelMembers` + +Parameters: + +channel_id - Json encoded int +filter - Json encoded ChannelMembersFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getChat.md b/docs/TD_docs/methods/getChat.md index 4e947157..3273a02a 100644 --- a/docs/TD_docs/methods/getChat.md +++ b/docs/TD_docs/methods/getChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Chat = $MadelineProto->getChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getChatHistory.md b/docs/TD_docs/methods/getChatHistory.md index 467048a7..0f55b564 100644 --- a/docs/TD_docs/methods/getChatHistory.md +++ b/docs/TD_docs/methods/getChatHistory.md @@ -44,6 +44,33 @@ if (isset($number)) { // Login as a user $Messages = $MadelineProto->getChatHistory(['chat_id' => InputPeer, 'from_message_id' => long, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getChatHistory +* params - {"chat_id":"InputPeer","from_message_id":"long","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getChatHistory` + +Parameters: + +chat_id - Json encoded InputPeer +from_message_id - Json encoded long +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getChatMember.md b/docs/TD_docs/methods/getChatMember.md index 0b5e32d0..5bac97bb 100644 --- a/docs/TD_docs/methods/getChatMember.md +++ b/docs/TD_docs/methods/getChatMember.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $ChatMember = $MadelineProto->getChatMember(['chat_id' => InputPeer, 'user_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getChatMember +* params - {"chat_id":"InputPeer","user_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getChatMember` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getChatReportSpamState.md b/docs/TD_docs/methods/getChatReportSpamState.md index ac415d9d..32d0b169 100644 --- a/docs/TD_docs/methods/getChatReportSpamState.md +++ b/docs/TD_docs/methods/getChatReportSpamState.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $ChatReportSpamState = $MadelineProto->getChatReportSpamState(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getChatReportSpamState +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getChatReportSpamState` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getChats.md b/docs/TD_docs/methods/getChats.md index 1f937281..c0d770f8 100644 --- a/docs/TD_docs/methods/getChats.md +++ b/docs/TD_docs/methods/getChats.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $Chats = $MadelineProto->getChats(['offset_order' => long, 'offset_chat_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getChats +* params - {"offset_order":"long","offset_chat_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getChats` + +Parameters: + +offset_order - Json encoded long +offset_chat_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getCommonChats.md b/docs/TD_docs/methods/getCommonChats.md index 7630cefa..98d0f4d2 100644 --- a/docs/TD_docs/methods/getCommonChats.md +++ b/docs/TD_docs/methods/getCommonChats.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $Chats = $MadelineProto->getCommonChats(['user_id' => int, 'offset_chat_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getCommonChats +* params - {"user_id":"int","offset_chat_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getCommonChats` + +Parameters: + +user_id - Json encoded int +offset_chat_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getCreatedPublicChannels.md b/docs/TD_docs/methods/getCreatedPublicChannels.md index 4ede049a..d171c84d 100644 --- a/docs/TD_docs/methods/getCreatedPublicChannels.md +++ b/docs/TD_docs/methods/getCreatedPublicChannels.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $Channels = $MadelineProto->getCreatedPublicChannels(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getCreatedPublicChannels +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getCreatedPublicChannels` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/getDeviceTokens.md b/docs/TD_docs/methods/getDeviceTokens.md index 24fbea2f..5eb453bc 100644 --- a/docs/TD_docs/methods/getDeviceTokens.md +++ b/docs/TD_docs/methods/getDeviceTokens.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $DeviceTokenSet = $MadelineProto->getDeviceTokens(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getDeviceTokens +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getDeviceTokens` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/getFile.md b/docs/TD_docs/methods/getFile.md index a1b139e0..3077769d 100644 --- a/docs/TD_docs/methods/getFile.md +++ b/docs/TD_docs/methods/getFile.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $File = $MadelineProto->getFile(['file_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getFile +* params - {"file_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getFile` + +Parameters: + +file_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getFilePersistent.md b/docs/TD_docs/methods/getFilePersistent.md index 912d79d6..bc70b77b 100644 --- a/docs/TD_docs/methods/getFilePersistent.md +++ b/docs/TD_docs/methods/getFilePersistent.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $File = $MadelineProto->getFilePersistent(['persistent_file_id' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getFilePersistent +* params - {"persistent_file_id":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getFilePersistent` + +Parameters: + +persistent_file_id - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getGameHighScores.md b/docs/TD_docs/methods/getGameHighScores.md index c5b7a300..2e2af7f0 100644 --- a/docs/TD_docs/methods/getGameHighScores.md +++ b/docs/TD_docs/methods/getGameHighScores.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $GameHighScores = $MadelineProto->getGameHighScores(['chat_id' => InputPeer, 'message_id' => long, 'user_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getGameHighScores +* params - {"chat_id":"InputPeer","message_id":"long","user_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getGameHighScores` + +Parameters: + +chat_id - Json encoded InputPeer +message_id - Json encoded long +user_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getGroup.md b/docs/TD_docs/methods/getGroup.md index 19b192da..0c78c2b9 100644 --- a/docs/TD_docs/methods/getGroup.md +++ b/docs/TD_docs/methods/getGroup.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Group = $MadelineProto->getGroup(['group_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getGroup +* params - {"group_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getGroup` + +Parameters: + +group_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getGroupFull.md b/docs/TD_docs/methods/getGroupFull.md index 84a84443..7254b11f 100644 --- a/docs/TD_docs/methods/getGroupFull.md +++ b/docs/TD_docs/methods/getGroupFull.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $GroupFull = $MadelineProto->getGroupFull(['group_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getGroupFull +* params - {"group_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getGroupFull` + +Parameters: + +group_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getInlineGameHighScores.md b/docs/TD_docs/methods/getInlineGameHighScores.md index 760d256f..555d5db2 100644 --- a/docs/TD_docs/methods/getInlineGameHighScores.md +++ b/docs/TD_docs/methods/getInlineGameHighScores.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $GameHighScores = $MadelineProto->getInlineGameHighScores(['inline_message_id' => string, 'user_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getInlineGameHighScores +* params - {"inline_message_id":"string","user_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getInlineGameHighScores` + +Parameters: + +inline_message_id - Json encoded string +user_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getInlineQueryResults.md b/docs/TD_docs/methods/getInlineQueryResults.md index e6775be2..64addf1f 100644 --- a/docs/TD_docs/methods/getInlineQueryResults.md +++ b/docs/TD_docs/methods/getInlineQueryResults.md @@ -45,6 +45,34 @@ if (isset($number)) { // Login as a user $InlineQueryResults = $MadelineProto->getInlineQueryResults(['bot_user_id' => int, 'chat_id' => InputPeer, 'user_location' => location, 'query' => string, 'offset' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getInlineQueryResults +* params - {"bot_user_id":"int","chat_id":"InputPeer","user_location":"location","query":"string","offset":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getInlineQueryResults` + +Parameters: + +bot_user_id - Json encoded int +chat_id - Json encoded InputPeer +user_location - Json encoded location +query - Json encoded string +offset - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getMe.md b/docs/TD_docs/methods/getMe.md index d03da9db..528a338f 100644 --- a/docs/TD_docs/methods/getMe.md +++ b/docs/TD_docs/methods/getMe.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $User = $MadelineProto->getMe(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getMe +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getMe` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/getMessage.md b/docs/TD_docs/methods/getMessage.md index a957d463..2afb0acd 100644 --- a/docs/TD_docs/methods/getMessage.md +++ b/docs/TD_docs/methods/getMessage.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Message = $MadelineProto->getMessage(['chat_id' => InputPeer, 'message_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getMessage +* params - {"chat_id":"InputPeer","message_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getMessage` + +Parameters: + +chat_id - Json encoded InputPeer +message_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getMessages.md b/docs/TD_docs/methods/getMessages.md index 8264d34f..f4f2c121 100644 --- a/docs/TD_docs/methods/getMessages.md +++ b/docs/TD_docs/methods/getMessages.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Messages = $MadelineProto->getMessages(['chat_id' => InputPeer, 'message_ids' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getMessages +* params - {"chat_id":"InputPeer","message_ids":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getMessages` + +Parameters: + +chat_id - Json encoded InputPeer +message_ids - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getNotificationSettings.md b/docs/TD_docs/methods/getNotificationSettings.md index 64175061..416de7fc 100644 --- a/docs/TD_docs/methods/getNotificationSettings.md +++ b/docs/TD_docs/methods/getNotificationSettings.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $NotificationSettings = $MadelineProto->getNotificationSettings(['scope' => NotificationSettingsScope, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getNotificationSettings +* params - {"scope":"NotificationSettingsScope"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getNotificationSettings` + +Parameters: + +scope - Json encoded NotificationSettingsScope + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getOption.md b/docs/TD_docs/methods/getOption.md index 0344f679..e9d8c7ca 100644 --- a/docs/TD_docs/methods/getOption.md +++ b/docs/TD_docs/methods/getOption.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $OptionValue = $MadelineProto->getOption(['name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getOption +* params - {"name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getOption` + +Parameters: + +name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getPasswordState.md b/docs/TD_docs/methods/getPasswordState.md index 128c950e..8648c5f1 100644 --- a/docs/TD_docs/methods/getPasswordState.md +++ b/docs/TD_docs/methods/getPasswordState.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $PasswordState = $MadelineProto->getPasswordState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getPasswordState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getPasswordState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/getPrivacy.md b/docs/TD_docs/methods/getPrivacy.md index 92e3a578..371627ef 100644 --- a/docs/TD_docs/methods/getPrivacy.md +++ b/docs/TD_docs/methods/getPrivacy.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $PrivacyRules = $MadelineProto->getPrivacy(['key' => PrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getPrivacy +* params - {"key":"PrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getPrivacy` + +Parameters: + +key - Json encoded PrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getRecentInlineBots.md b/docs/TD_docs/methods/getRecentInlineBots.md index 0a70b638..efd49cac 100644 --- a/docs/TD_docs/methods/getRecentInlineBots.md +++ b/docs/TD_docs/methods/getRecentInlineBots.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $Users = $MadelineProto->getRecentInlineBots(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getRecentInlineBots +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getRecentInlineBots` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/getRecentStickers.md b/docs/TD_docs/methods/getRecentStickers.md index 82affb7d..5c15546b 100644 --- a/docs/TD_docs/methods/getRecentStickers.md +++ b/docs/TD_docs/methods/getRecentStickers.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Stickers = $MadelineProto->getRecentStickers(['is_attached' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getRecentStickers +* params - {"is_attached":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getRecentStickers` + +Parameters: + +is_attached - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getRecoveryEmail.md b/docs/TD_docs/methods/getRecoveryEmail.md index 7f48cbd9..8cc5f35f 100644 --- a/docs/TD_docs/methods/getRecoveryEmail.md +++ b/docs/TD_docs/methods/getRecoveryEmail.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $RecoveryEmail = $MadelineProto->getRecoveryEmail(['password' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getRecoveryEmail +* params - {"password":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getRecoveryEmail` + +Parameters: + +password - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getSavedAnimations.md b/docs/TD_docs/methods/getSavedAnimations.md index e4105dff..5e86e1a9 100644 --- a/docs/TD_docs/methods/getSavedAnimations.md +++ b/docs/TD_docs/methods/getSavedAnimations.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $Animations = $MadelineProto->getSavedAnimations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getSavedAnimations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getSavedAnimations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/getSecretChat.md b/docs/TD_docs/methods/getSecretChat.md index 671e6fea..fbea741a 100644 --- a/docs/TD_docs/methods/getSecretChat.md +++ b/docs/TD_docs/methods/getSecretChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $SecretChat = $MadelineProto->getSecretChat(['secret_chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getSecretChat +* params - {"secret_chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getSecretChat` + +Parameters: + +secret_chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getStickerEmojis.md b/docs/TD_docs/methods/getStickerEmojis.md index 09ce000a..80d9d29e 100644 --- a/docs/TD_docs/methods/getStickerEmojis.md +++ b/docs/TD_docs/methods/getStickerEmojis.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $StickerEmojis = $MadelineProto->getStickerEmojis(['sticker' => InputFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getStickerEmojis +* params - {"sticker":"InputFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getStickerEmojis` + +Parameters: + +sticker - Json encoded InputFile + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getStickerSet.md b/docs/TD_docs/methods/getStickerSet.md index f40386eb..9f56a1cb 100644 --- a/docs/TD_docs/methods/getStickerSet.md +++ b/docs/TD_docs/methods/getStickerSet.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $StickerSet = $MadelineProto->getStickerSet(['set_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getStickerSet +* params - {"set_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getStickerSet` + +Parameters: + +set_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getStickerSets.md b/docs/TD_docs/methods/getStickerSets.md index c6c87966..b3ccf110 100644 --- a/docs/TD_docs/methods/getStickerSets.md +++ b/docs/TD_docs/methods/getStickerSets.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $StickerSets = $MadelineProto->getStickerSets(['is_masks' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getStickerSets +* params - {"is_masks":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getStickerSets` + +Parameters: + +is_masks - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getStickers.md b/docs/TD_docs/methods/getStickers.md index 09a5c57d..79b80505 100644 --- a/docs/TD_docs/methods/getStickers.md +++ b/docs/TD_docs/methods/getStickers.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Stickers = $MadelineProto->getStickers(['emoji' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getStickers +* params - {"emoji":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getStickers` + +Parameters: + +emoji - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getSupportUser.md b/docs/TD_docs/methods/getSupportUser.md index 1264eb6f..a612422e 100644 --- a/docs/TD_docs/methods/getSupportUser.md +++ b/docs/TD_docs/methods/getSupportUser.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $User = $MadelineProto->getSupportUser(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getSupportUser +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getSupportUser` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/getTrendingStickerSets.md b/docs/TD_docs/methods/getTrendingStickerSets.md index 5382c50a..4bf3332d 100644 --- a/docs/TD_docs/methods/getTrendingStickerSets.md +++ b/docs/TD_docs/methods/getTrendingStickerSets.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $StickerSets = $MadelineProto->getTrendingStickerSets(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getTrendingStickerSets +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getTrendingStickerSets` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/getUser.md b/docs/TD_docs/methods/getUser.md index fe8b8e5d..d1cda5d2 100644 --- a/docs/TD_docs/methods/getUser.md +++ b/docs/TD_docs/methods/getUser.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->getUser(['user_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getUser +* params - {"user_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getUser` + +Parameters: + +user_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getUserFull.md b/docs/TD_docs/methods/getUserFull.md index 835600ba..02d1cd6a 100644 --- a/docs/TD_docs/methods/getUserFull.md +++ b/docs/TD_docs/methods/getUserFull.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->getUserFull(['user_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getUserFull +* params - {"user_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getUserFull` + +Parameters: + +user_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getUserProfilePhotos.md b/docs/TD_docs/methods/getUserProfilePhotos.md index 7abd5073..6b36dfa2 100644 --- a/docs/TD_docs/methods/getUserProfilePhotos.md +++ b/docs/TD_docs/methods/getUserProfilePhotos.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $UserProfilePhotos = $MadelineProto->getUserProfilePhotos(['user_id' => int, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getUserProfilePhotos +* params - {"user_id":"int","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getUserProfilePhotos` + +Parameters: + +user_id - Json encoded int +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/getWallpapers.md b/docs/TD_docs/methods/getWallpapers.md index 9ac41bc0..a6af44a6 100644 --- a/docs/TD_docs/methods/getWallpapers.md +++ b/docs/TD_docs/methods/getWallpapers.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $Wallpapers = $MadelineProto->getWallpapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getWallpapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getWallpapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/getWebPagePreview.md b/docs/TD_docs/methods/getWebPagePreview.md index 321d5ff6..cfebbc38 100644 --- a/docs/TD_docs/methods/getWebPagePreview.md +++ b/docs/TD_docs/methods/getWebPagePreview.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $WebPage = $MadelineProto->getWebPagePreview(['message_text' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - getWebPagePreview +* params - {"message_text":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/getWebPagePreview` + +Parameters: + +message_text - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/importChatInviteLink.md b/docs/TD_docs/methods/importChatInviteLink.md index 467385d1..e677b34c 100644 --- a/docs/TD_docs/methods/importChatInviteLink.md +++ b/docs/TD_docs/methods/importChatInviteLink.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->importChatInviteLink(['invite_link' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - importChatInviteLink +* params - {"invite_link":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/importChatInviteLink` + +Parameters: + +invite_link - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/importContacts.md b/docs/TD_docs/methods/importContacts.md index 0110fb55..6211fdc6 100644 --- a/docs/TD_docs/methods/importContacts.md +++ b/docs/TD_docs/methods/importContacts.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Users = $MadelineProto->importContacts(['contacts' => [contact], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - importContacts +* params - {"contacts":["contact"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/importContacts` + +Parameters: + +contacts - Json encoded array of contact + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/migrateGroupChatToChannelChat.md b/docs/TD_docs/methods/migrateGroupChatToChannelChat.md index 256cf967..b3007afd 100644 --- a/docs/TD_docs/methods/migrateGroupChatToChannelChat.md +++ b/docs/TD_docs/methods/migrateGroupChatToChannelChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Chat = $MadelineProto->migrateGroupChatToChannelChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - migrateGroupChatToChannelChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/migrateGroupChatToChannelChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/openChat.md b/docs/TD_docs/methods/openChat.md index defac0aa..fae05939 100644 --- a/docs/TD_docs/methods/openChat.md +++ b/docs/TD_docs/methods/openChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->openChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - openChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/openChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/openMessageContent.md b/docs/TD_docs/methods/openMessageContent.md index a64dcff7..c14c3812 100644 --- a/docs/TD_docs/methods/openMessageContent.md +++ b/docs/TD_docs/methods/openMessageContent.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->openMessageContent(['chat_id' => InputPeer, 'message_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - openMessageContent +* params - {"chat_id":"InputPeer","message_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/openMessageContent` + +Parameters: + +chat_id - Json encoded InputPeer +message_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/pinChannelMessage.md b/docs/TD_docs/methods/pinChannelMessage.md index 917451e0..1b655988 100644 --- a/docs/TD_docs/methods/pinChannelMessage.md +++ b/docs/TD_docs/methods/pinChannelMessage.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->pinChannelMessage(['channel_id' => int, 'message_id' => long, 'disable_notification' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - pinChannelMessage +* params - {"channel_id":"int","message_id":"long","disable_notification":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/pinChannelMessage` + +Parameters: + +channel_id - Json encoded int +message_id - Json encoded long +disable_notification - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/recoverAuthPassword.md b/docs/TD_docs/methods/recoverAuthPassword.md index 9244b2ba..06dfd2eb 100644 --- a/docs/TD_docs/methods/recoverAuthPassword.md +++ b/docs/TD_docs/methods/recoverAuthPassword.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $AuthState = $MadelineProto->recoverAuthPassword(['recovery_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - recoverAuthPassword +* params - {"recovery_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/recoverAuthPassword` + +Parameters: + +recovery_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/recoverPassword.md b/docs/TD_docs/methods/recoverPassword.md index b19d6314..9e64e340 100644 --- a/docs/TD_docs/methods/recoverPassword.md +++ b/docs/TD_docs/methods/recoverPassword.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $PasswordState = $MadelineProto->recoverPassword(['recovery_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - recoverPassword +* params - {"recovery_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/recoverPassword` + +Parameters: + +recovery_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/registerDevice.md b/docs/TD_docs/methods/registerDevice.md index 21b7d86c..9499969f 100644 --- a/docs/TD_docs/methods/registerDevice.md +++ b/docs/TD_docs/methods/registerDevice.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->registerDevice(['device_token' => DeviceToken, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - registerDevice +* params - {"device_token":"DeviceToken"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/registerDevice` + +Parameters: + +device_token - Json encoded DeviceToken + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/reorderStickerSets.md b/docs/TD_docs/methods/reorderStickerSets.md index 908db673..006d109f 100644 --- a/docs/TD_docs/methods/reorderStickerSets.md +++ b/docs/TD_docs/methods/reorderStickerSets.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->reorderStickerSets(['is_masks' => Bool, 'sticker_set_ids' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - reorderStickerSets +* params - {"is_masks":"Bool","sticker_set_ids":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/reorderStickerSets` + +Parameters: + +is_masks - Json encoded Bool +sticker_set_ids - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/reportChannelSpam.md b/docs/TD_docs/methods/reportChannelSpam.md index 44ec04bb..c3dca40f 100644 --- a/docs/TD_docs/methods/reportChannelSpam.md +++ b/docs/TD_docs/methods/reportChannelSpam.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->reportChannelSpam(['channel_id' => int, 'user_id' => int, 'message_ids' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - reportChannelSpam +* params - {"channel_id":"int","user_id":"int","message_ids":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/reportChannelSpam` + +Parameters: + +channel_id - Json encoded int +user_id - Json encoded int +message_ids - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/requestAuthPasswordRecovery.md b/docs/TD_docs/methods/requestAuthPasswordRecovery.md index b1da296b..ea4e1beb 100644 --- a/docs/TD_docs/methods/requestAuthPasswordRecovery.md +++ b/docs/TD_docs/methods/requestAuthPasswordRecovery.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $AuthState = $MadelineProto->requestAuthPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - requestAuthPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/requestAuthPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/requestPasswordRecovery.md b/docs/TD_docs/methods/requestPasswordRecovery.md index e9fe4e0f..d2f004fe 100644 --- a/docs/TD_docs/methods/requestPasswordRecovery.md +++ b/docs/TD_docs/methods/requestPasswordRecovery.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $PasswordRecoveryInfo = $MadelineProto->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/resendAuthCode.md b/docs/TD_docs/methods/resendAuthCode.md index 968713b2..c8f88fc4 100644 --- a/docs/TD_docs/methods/resendAuthCode.md +++ b/docs/TD_docs/methods/resendAuthCode.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $AuthState = $MadelineProto->resendAuthCode(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - resendAuthCode +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/resendAuthCode` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/resendChangePhoneNumberCode.md b/docs/TD_docs/methods/resendChangePhoneNumberCode.md index e19d140b..d54c1873 100644 --- a/docs/TD_docs/methods/resendChangePhoneNumberCode.md +++ b/docs/TD_docs/methods/resendChangePhoneNumberCode.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $AuthState = $MadelineProto->resendChangePhoneNumberCode(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - resendChangePhoneNumberCode +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/resendChangePhoneNumberCode` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/resetAllNotificationSettings.md b/docs/TD_docs/methods/resetAllNotificationSettings.md index d456dea7..c0c3a2ad 100644 --- a/docs/TD_docs/methods/resetAllNotificationSettings.md +++ b/docs/TD_docs/methods/resetAllNotificationSettings.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $Ok = $MadelineProto->resetAllNotificationSettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - resetAllNotificationSettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/resetAllNotificationSettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/resetAuth.md b/docs/TD_docs/methods/resetAuth.md index 2e5b0936..701e4b61 100644 --- a/docs/TD_docs/methods/resetAuth.md +++ b/docs/TD_docs/methods/resetAuth.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $AuthState = $MadelineProto->resetAuth(['force' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - resetAuth +* params - {"force":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/resetAuth` + +Parameters: + +force - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/searchChatMessages.md b/docs/TD_docs/methods/searchChatMessages.md index 79212943..04315fcc 100644 --- a/docs/TD_docs/methods/searchChatMessages.md +++ b/docs/TD_docs/methods/searchChatMessages.md @@ -45,6 +45,34 @@ if (isset($number)) { // Login as a user $Messages = $MadelineProto->searchChatMessages(['chat_id' => InputPeer, 'query' => string, 'from_message_id' => long, 'limit' => int, 'filter' => SearchMessagesFilter, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - searchChatMessages +* params - {"chat_id":"InputPeer","query":"string","from_message_id":"long","limit":"int","filter":"SearchMessagesFilter"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/searchChatMessages` + +Parameters: + +chat_id - Json encoded InputPeer +query - Json encoded string +from_message_id - Json encoded long +limit - Json encoded int +filter - Json encoded SearchMessagesFilter + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/searchChats.md b/docs/TD_docs/methods/searchChats.md index c238feaf..ffd85476 100644 --- a/docs/TD_docs/methods/searchChats.md +++ b/docs/TD_docs/methods/searchChats.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Chats = $MadelineProto->searchChats(['query' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - searchChats +* params - {"query":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/searchChats` + +Parameters: + +query - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/searchContacts.md b/docs/TD_docs/methods/searchContacts.md index 9efe3f28..17707d96 100644 --- a/docs/TD_docs/methods/searchContacts.md +++ b/docs/TD_docs/methods/searchContacts.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Users = $MadelineProto->searchContacts(['query' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - searchContacts +* params - {"query":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/searchContacts` + +Parameters: + +query - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/searchMessages.md b/docs/TD_docs/methods/searchMessages.md index a6ca26b3..c1ee6290 100644 --- a/docs/TD_docs/methods/searchMessages.md +++ b/docs/TD_docs/methods/searchMessages.md @@ -45,6 +45,34 @@ if (isset($number)) { // Login as a user $Messages = $MadelineProto->searchMessages(['query' => string, 'offset_date' => int, 'offset_chat_id' => long, 'offset_message_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - searchMessages +* params - {"query":"string","offset_date":"int","offset_chat_id":"long","offset_message_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/searchMessages` + +Parameters: + +query - Json encoded string +offset_date - Json encoded int +offset_chat_id - Json encoded long +offset_message_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/searchPublicChat.md b/docs/TD_docs/methods/searchPublicChat.md index 11b70156..9f4ddc99 100644 --- a/docs/TD_docs/methods/searchPublicChat.md +++ b/docs/TD_docs/methods/searchPublicChat.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Chat = $MadelineProto->searchPublicChat(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - searchPublicChat +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/searchPublicChat` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/searchPublicChats.md b/docs/TD_docs/methods/searchPublicChats.md index c38a05bf..15168529 100644 --- a/docs/TD_docs/methods/searchPublicChats.md +++ b/docs/TD_docs/methods/searchPublicChats.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Chats = $MadelineProto->searchPublicChats(['username_prefix' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - searchPublicChats +* params - {"username_prefix":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/searchPublicChats` + +Parameters: + +username_prefix - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/searchStickerSet.md b/docs/TD_docs/methods/searchStickerSet.md index ad2e559d..f14ecc17 100644 --- a/docs/TD_docs/methods/searchStickerSet.md +++ b/docs/TD_docs/methods/searchStickerSet.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $StickerSet = $MadelineProto->searchStickerSet(['name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - searchStickerSet +* params - {"name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/searchStickerSet` + +Parameters: + +name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/sendBotStartMessage.md b/docs/TD_docs/methods/sendBotStartMessage.md index 8a46957c..3fd32d2e 100644 --- a/docs/TD_docs/methods/sendBotStartMessage.md +++ b/docs/TD_docs/methods/sendBotStartMessage.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $Message = $MadelineProto->sendBotStartMessage(['bot_user_id' => int, 'chat_id' => InputPeer, 'parameter' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - sendBotStartMessage +* params - {"bot_user_id":"int","chat_id":"InputPeer","parameter":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/sendBotStartMessage` + +Parameters: + +bot_user_id - Json encoded int +chat_id - Json encoded InputPeer +parameter - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/sendChatAction.md b/docs/TD_docs/methods/sendChatAction.md index 1ce2ea52..6c9bbe0a 100644 --- a/docs/TD_docs/methods/sendChatAction.md +++ b/docs/TD_docs/methods/sendChatAction.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->sendChatAction(['chat_id' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - sendChatAction +* params - {"chat_id":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/sendChatAction` + +Parameters: + +chat_id - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/sendChatScreenshotTakenNotification.md b/docs/TD_docs/methods/sendChatScreenshotTakenNotification.md index 42c7c4ff..88baa036 100644 --- a/docs/TD_docs/methods/sendChatScreenshotTakenNotification.md +++ b/docs/TD_docs/methods/sendChatScreenshotTakenNotification.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->sendChatScreenshotTakenNotification(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - sendChatScreenshotTakenNotification +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/sendChatScreenshotTakenNotification` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/sendChatSetTtlMessage.md b/docs/TD_docs/methods/sendChatSetTtlMessage.md index 0878904d..618451e0 100644 --- a/docs/TD_docs/methods/sendChatSetTtlMessage.md +++ b/docs/TD_docs/methods/sendChatSetTtlMessage.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Message = $MadelineProto->sendChatSetTtlMessage(['chat_id' => InputPeer, 'ttl' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - sendChatSetTtlMessage +* params - {"chat_id":"InputPeer","ttl":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/sendChatSetTtlMessage` + +Parameters: + +chat_id - Json encoded InputPeer +ttl - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/sendInlineQueryResultMessage.md b/docs/TD_docs/methods/sendInlineQueryResultMessage.md index f9443500..35c4731a 100644 --- a/docs/TD_docs/methods/sendInlineQueryResultMessage.md +++ b/docs/TD_docs/methods/sendInlineQueryResultMessage.md @@ -46,6 +46,35 @@ if (isset($number)) { // Login as a user $Message = $MadelineProto->sendInlineQueryResultMessage(['chat_id' => InputPeer, 'reply_to_message_id' => long, 'disable_notification' => Bool, 'from_background' => Bool, 'query_id' => long, 'result_id' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - sendInlineQueryResultMessage +* params - {"chat_id":"InputPeer","reply_to_message_id":"long","disable_notification":"Bool","from_background":"Bool","query_id":"long","result_id":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/sendInlineQueryResultMessage` + +Parameters: + +chat_id - Json encoded InputPeer +reply_to_message_id - Json encoded long +disable_notification - Json encoded Bool +from_background - Json encoded Bool +query_id - Json encoded long +result_id - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/sendMessage.md b/docs/TD_docs/methods/sendMessage.md index 5eeda84b..d93eb774 100644 --- a/docs/TD_docs/methods/sendMessage.md +++ b/docs/TD_docs/methods/sendMessage.md @@ -46,6 +46,35 @@ if (isset($number)) { // Login as a user $Message = $MadelineProto->sendMessage(['chat_id' => InputPeer, 'reply_to_message_id' => long, 'disable_notification' => Bool, 'from_background' => Bool, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - sendMessage +* params - {"chat_id":"InputPeer","reply_to_message_id":"long","disable_notification":"Bool","from_background":"Bool","reply_markup":"ReplyMarkup","input_message_content":"InputMessageContent"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/sendMessage` + +Parameters: + +chat_id - Json encoded InputPeer +reply_to_message_id - Json encoded long +disable_notification - Json encoded Bool +from_background - Json encoded Bool +reply_markup - Json encoded ReplyMarkup +input_message_content - Json encoded InputMessageContent + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/setAlarm.md b/docs/TD_docs/methods/setAlarm.md index f582ed5e..e4b79e3b 100644 --- a/docs/TD_docs/methods/setAlarm.md +++ b/docs/TD_docs/methods/setAlarm.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->setAlarm(['seconds' => double, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - setAlarm +* params - {"seconds":"double"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/setAlarm` + +Parameters: + +seconds - Json encoded double + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/setAuthPhoneNumber.md b/docs/TD_docs/methods/setAuthPhoneNumber.md index aa6f8fbb..ff157092 100644 --- a/docs/TD_docs/methods/setAuthPhoneNumber.md +++ b/docs/TD_docs/methods/setAuthPhoneNumber.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $AuthState = $MadelineProto->setAuthPhoneNumber(['phone_number' => string, 'allow_flash_call' => Bool, 'is_current_phone_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - setAuthPhoneNumber +* params - {"phone_number":"string","allow_flash_call":"Bool","is_current_phone_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/setAuthPhoneNumber` + +Parameters: + +phone_number - Json encoded string +allow_flash_call - Json encoded Bool +is_current_phone_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/setBotUpdatesStatus.md b/docs/TD_docs/methods/setBotUpdatesStatus.md index 1d8efe60..ae550390 100644 --- a/docs/TD_docs/methods/setBotUpdatesStatus.md +++ b/docs/TD_docs/methods/setBotUpdatesStatus.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->setBotUpdatesStatus(['pending_update_count' => int, 'error_message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - setBotUpdatesStatus +* params - {"pending_update_count":"int","error_message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/setBotUpdatesStatus` + +Parameters: + +pending_update_count - Json encoded int +error_message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/setFileGenerationProgress.md b/docs/TD_docs/methods/setFileGenerationProgress.md index 4fe9358b..75db5093 100644 --- a/docs/TD_docs/methods/setFileGenerationProgress.md +++ b/docs/TD_docs/methods/setFileGenerationProgress.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->setFileGenerationProgress(['generation_id' => long, 'ready' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - setFileGenerationProgress +* params - {"generation_id":"long","ready":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/setFileGenerationProgress` + +Parameters: + +generation_id - Json encoded long +ready - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/setGameScore.md b/docs/TD_docs/methods/setGameScore.md index 8b0201a1..e7e4b0ff 100644 --- a/docs/TD_docs/methods/setGameScore.md +++ b/docs/TD_docs/methods/setGameScore.md @@ -46,6 +46,35 @@ if (isset($number)) { // Login as a user $Message = $MadelineProto->setGameScore(['chat_id' => InputPeer, 'message_id' => long, 'edit_message' => Bool, 'user_id' => int, 'score' => int, 'force' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - setGameScore +* params - {"chat_id":"InputPeer","message_id":"long","edit_message":"Bool","user_id":"int","score":"int","force":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/setGameScore` + +Parameters: + +chat_id - Json encoded InputPeer +message_id - Json encoded long +edit_message - Json encoded Bool +user_id - Json encoded int +score - Json encoded int +force - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/setInlineGameScore.md b/docs/TD_docs/methods/setInlineGameScore.md index 7245aeba..b3e95e93 100644 --- a/docs/TD_docs/methods/setInlineGameScore.md +++ b/docs/TD_docs/methods/setInlineGameScore.md @@ -45,6 +45,34 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->setInlineGameScore(['inline_message_id' => string, 'edit_message' => Bool, 'user_id' => int, 'score' => int, 'force' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - setInlineGameScore +* params - {"inline_message_id":"string","edit_message":"Bool","user_id":"int","score":"int","force":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/setInlineGameScore` + +Parameters: + +inline_message_id - Json encoded string +edit_message - Json encoded Bool +user_id - Json encoded int +score - Json encoded int +force - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/setNotificationSettings.md b/docs/TD_docs/methods/setNotificationSettings.md index 7ba833e1..3d923b3e 100644 --- a/docs/TD_docs/methods/setNotificationSettings.md +++ b/docs/TD_docs/methods/setNotificationSettings.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->setNotificationSettings(['scope' => NotificationSettingsScope, 'notification_settings' => notificationSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - setNotificationSettings +* params - {"scope":"NotificationSettingsScope","notification_settings":"notificationSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/setNotificationSettings` + +Parameters: + +scope - Json encoded NotificationSettingsScope +notification_settings - Json encoded notificationSettings + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/setOption.md b/docs/TD_docs/methods/setOption.md index 60af8853..cdefd437 100644 --- a/docs/TD_docs/methods/setOption.md +++ b/docs/TD_docs/methods/setOption.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->setOption(['name' => string, 'value' => OptionValue, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - setOption +* params - {"name":"string","value":"OptionValue"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/setOption` + +Parameters: + +name - Json encoded string +value - Json encoded OptionValue + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/setPassword.md b/docs/TD_docs/methods/setPassword.md index fdf6d9e0..362780e1 100644 --- a/docs/TD_docs/methods/setPassword.md +++ b/docs/TD_docs/methods/setPassword.md @@ -45,6 +45,34 @@ if (isset($number)) { // Login as a user $PasswordState = $MadelineProto->setPassword(['old_password' => string, 'new_password' => string, 'new_hint' => string, 'set_recovery_email' => Bool, 'new_recovery_email' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - setPassword +* params - {"old_password":"string","new_password":"string","new_hint":"string","set_recovery_email":"Bool","new_recovery_email":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/setPassword` + +Parameters: + +old_password - Json encoded string +new_password - Json encoded string +new_hint - Json encoded string +set_recovery_email - Json encoded Bool +new_recovery_email - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/setPrivacy.md b/docs/TD_docs/methods/setPrivacy.md index 16b1342f..e664544d 100644 --- a/docs/TD_docs/methods/setPrivacy.md +++ b/docs/TD_docs/methods/setPrivacy.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->setPrivacy(['key' => PrivacyKey, 'rules' => privacyRules, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - setPrivacy +* params - {"key":"PrivacyKey","rules":"privacyRules"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/setPrivacy` + +Parameters: + +key - Json encoded PrivacyKey +rules - Json encoded privacyRules + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/setProfilePhoto.md b/docs/TD_docs/methods/setProfilePhoto.md index 25df2185..7d355f9c 100644 --- a/docs/TD_docs/methods/setProfilePhoto.md +++ b/docs/TD_docs/methods/setProfilePhoto.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->setProfilePhoto(['photo_path' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - setProfilePhoto +* params - {"photo_path":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/setProfilePhoto` + +Parameters: + +photo_path - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/setRecoveryEmail.md b/docs/TD_docs/methods/setRecoveryEmail.md index 26ece321..a7c04a0e 100644 --- a/docs/TD_docs/methods/setRecoveryEmail.md +++ b/docs/TD_docs/methods/setRecoveryEmail.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $PasswordState = $MadelineProto->setRecoveryEmail(['password' => string, 'new_recovery_email' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - setRecoveryEmail +* params - {"password":"string","new_recovery_email":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/setRecoveryEmail` + +Parameters: + +password - Json encoded string +new_recovery_email - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/terminateAllOtherSessions.md b/docs/TD_docs/methods/terminateAllOtherSessions.md index 9c1614eb..cb263141 100644 --- a/docs/TD_docs/methods/terminateAllOtherSessions.md +++ b/docs/TD_docs/methods/terminateAllOtherSessions.md @@ -38,6 +38,29 @@ if (isset($number)) { // Login as a user } $Ok = $MadelineProto->terminateAllOtherSessions(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - terminateAllOtherSessions +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/terminateAllOtherSessions` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/terminateSession.md b/docs/TD_docs/methods/terminateSession.md index 08c3b08c..46457ea4 100644 --- a/docs/TD_docs/methods/terminateSession.md +++ b/docs/TD_docs/methods/terminateSession.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->terminateSession(['session_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - terminateSession +* params - {"session_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/terminateSession` + +Parameters: + +session_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/test_callBytes.md b/docs/TD_docs/methods/test_callBytes.md index 1d7ed561..968a0451 100644 --- a/docs/TD_docs/methods/test_callBytes.md +++ b/docs/TD_docs/methods/test_callBytes.md @@ -39,6 +39,30 @@ if (isset($number)) { // Login as a user $test_Bytes = $MadelineProto->test->callBytes(['x' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - test.callBytes +* params - {"x":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/test.callBytes` + +Parameters: + +x - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/test_callEmpty.md b/docs/TD_docs/methods/test_callEmpty.md index 03bda401..3fd764b4 100644 --- a/docs/TD_docs/methods/test_callEmpty.md +++ b/docs/TD_docs/methods/test_callEmpty.md @@ -32,6 +32,29 @@ if (isset($number)) { // Login as a user } $test_Empty = $MadelineProto->test->callEmpty(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - test.callEmpty +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/test.callEmpty` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/test_callString.md b/docs/TD_docs/methods/test_callString.md index 4ec32152..578d1b7a 100644 --- a/docs/TD_docs/methods/test_callString.md +++ b/docs/TD_docs/methods/test_callString.md @@ -39,6 +39,30 @@ if (isset($number)) { // Login as a user $test_String = $MadelineProto->test->callString(['x' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - test.callString +* params - {"x":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/test.callString` + +Parameters: + +x - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/test_callVectorInt.md b/docs/TD_docs/methods/test_callVectorInt.md index c96bbea1..cacea48b 100644 --- a/docs/TD_docs/methods/test_callVectorInt.md +++ b/docs/TD_docs/methods/test_callVectorInt.md @@ -39,6 +39,30 @@ if (isset($number)) { // Login as a user $test_VectorInt = $MadelineProto->test->callVectorInt(['x' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - test.callVectorInt +* params - {"x":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/test.callVectorInt` + +Parameters: + +x - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/test_callVectorIntObject.md b/docs/TD_docs/methods/test_callVectorIntObject.md index 85d9d943..fbfec9ed 100644 --- a/docs/TD_docs/methods/test_callVectorIntObject.md +++ b/docs/TD_docs/methods/test_callVectorIntObject.md @@ -39,6 +39,30 @@ if (isset($number)) { // Login as a user $test_VectorIntObject = $MadelineProto->test->callVectorIntObject(['x' => [test_Int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - test.callVectorIntObject +* params - {"x":["test_Int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/test.callVectorIntObject` + +Parameters: + +x - Json encoded array of test_Int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/test_callVectorString.md b/docs/TD_docs/methods/test_callVectorString.md index 0c2ae380..b683a829 100644 --- a/docs/TD_docs/methods/test_callVectorString.md +++ b/docs/TD_docs/methods/test_callVectorString.md @@ -39,6 +39,30 @@ if (isset($number)) { // Login as a user $test_VectorString = $MadelineProto->test->callVectorString(['x' => [string], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - test.callVectorString +* params - {"x":["string"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/test.callVectorString` + +Parameters: + +x - Json encoded array of string + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/test_callVectorStringObject.md b/docs/TD_docs/methods/test_callVectorStringObject.md index f998bcca..448fca4c 100644 --- a/docs/TD_docs/methods/test_callVectorStringObject.md +++ b/docs/TD_docs/methods/test_callVectorStringObject.md @@ -39,6 +39,30 @@ if (isset($number)) { // Login as a user $test_VectorStringObject = $MadelineProto->test->callVectorStringObject(['x' => [test_String], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - test.callVectorStringObject +* params - {"x":["test_String"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/test.callVectorStringObject` + +Parameters: + +x - Json encoded array of test_String + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/test_forceGetDifference.md b/docs/TD_docs/methods/test_forceGetDifference.md index 45f1240a..bce0fc21 100644 --- a/docs/TD_docs/methods/test_forceGetDifference.md +++ b/docs/TD_docs/methods/test_forceGetDifference.md @@ -32,6 +32,29 @@ if (isset($number)) { // Login as a user } $Ok = $MadelineProto->test->forceGetDifference(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - test.forceGetDifference +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/test.forceGetDifference` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/test_squareInt.md b/docs/TD_docs/methods/test_squareInt.md index e642c7a9..b5098176 100644 --- a/docs/TD_docs/methods/test_squareInt.md +++ b/docs/TD_docs/methods/test_squareInt.md @@ -39,6 +39,30 @@ if (isset($number)) { // Login as a user $test_Int = $MadelineProto->test->squareInt(['x' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - test.squareInt +* params - {"x":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/test.squareInt` + +Parameters: + +x - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/test_testNet.md b/docs/TD_docs/methods/test_testNet.md index 7ecf299b..773e6ce8 100644 --- a/docs/TD_docs/methods/test_testNet.md +++ b/docs/TD_docs/methods/test_testNet.md @@ -32,6 +32,29 @@ if (isset($number)) { // Login as a user } $test_Empty = $MadelineProto->test->testNet(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - test.testNet +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/test.testNet` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/docs/TD_docs/methods/toggleChannelInvites.md b/docs/TD_docs/methods/toggleChannelInvites.md index 3cf5344a..438276b1 100644 --- a/docs/TD_docs/methods/toggleChannelInvites.md +++ b/docs/TD_docs/methods/toggleChannelInvites.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->toggleChannelInvites(['channel_id' => int, 'anyone_can_invite' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - toggleChannelInvites +* params - {"channel_id":"int","anyone_can_invite":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/toggleChannelInvites` + +Parameters: + +channel_id - Json encoded int +anyone_can_invite - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/toggleChannelSignMessages.md b/docs/TD_docs/methods/toggleChannelSignMessages.md index fb1c7ed5..bee43896 100644 --- a/docs/TD_docs/methods/toggleChannelSignMessages.md +++ b/docs/TD_docs/methods/toggleChannelSignMessages.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->toggleChannelSignMessages(['channel_id' => int, 'sign_messages' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - toggleChannelSignMessages +* params - {"channel_id":"int","sign_messages":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/toggleChannelSignMessages` + +Parameters: + +channel_id - Json encoded int +sign_messages - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/toggleGroupEditors.md b/docs/TD_docs/methods/toggleGroupEditors.md index 3660cac3..ce6dc9f4 100644 --- a/docs/TD_docs/methods/toggleGroupEditors.md +++ b/docs/TD_docs/methods/toggleGroupEditors.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->toggleGroupEditors(['group_id' => int, 'anyone_can_edit' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - toggleGroupEditors +* params - {"group_id":"int","anyone_can_edit":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/toggleGroupEditors` + +Parameters: + +group_id - Json encoded int +anyone_can_edit - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/unblockUser.md b/docs/TD_docs/methods/unblockUser.md index e6040cff..d716d3ea 100644 --- a/docs/TD_docs/methods/unblockUser.md +++ b/docs/TD_docs/methods/unblockUser.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->unblockUser(['user_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - unblockUser +* params - {"user_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/unblockUser` + +Parameters: + +user_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/unpinChannelMessage.md b/docs/TD_docs/methods/unpinChannelMessage.md index 11897584..ffbf66e1 100644 --- a/docs/TD_docs/methods/unpinChannelMessage.md +++ b/docs/TD_docs/methods/unpinChannelMessage.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->unpinChannelMessage(['channel_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - unpinChannelMessage +* params - {"channel_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/unpinChannelMessage` + +Parameters: + +channel_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/updateStickerSet.md b/docs/TD_docs/methods/updateStickerSet.md index 2c6377e7..9ce3347d 100644 --- a/docs/TD_docs/methods/updateStickerSet.md +++ b/docs/TD_docs/methods/updateStickerSet.md @@ -43,6 +43,32 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->updateStickerSet(['set_id' => long, 'is_installed' => Bool, 'is_archived' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updateStickerSet +* params - {"set_id":"long","is_installed":"Bool","is_archived":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updateStickerSet` + +Parameters: + +set_id - Json encoded long +is_installed - Json encoded Bool +is_archived - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/viewMessages.md b/docs/TD_docs/methods/viewMessages.md index ffc5ce14..519e1942 100644 --- a/docs/TD_docs/methods/viewMessages.md +++ b/docs/TD_docs/methods/viewMessages.md @@ -42,6 +42,31 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->viewMessages(['chat_id' => InputPeer, 'message_ids' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - viewMessages +* params - {"chat_id":"InputPeer","message_ids":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/viewMessages` + +Parameters: + +chat_id - Json encoded InputPeer +message_ids - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/TD_docs/methods/viewTrendingStickerSets.md b/docs/TD_docs/methods/viewTrendingStickerSets.md index b6272c2f..d41280bd 100644 --- a/docs/TD_docs/methods/viewTrendingStickerSets.md +++ b/docs/TD_docs/methods/viewTrendingStickerSets.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Ok = $MadelineProto->viewTrendingStickerSets(['sticker_set_ids' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - viewTrendingStickerSets +* params - {"sticker_set_ids":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/viewTrendingStickerSets` + +Parameters: + +sticker_set_ids - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/docs/index.md b/docs/index.md index 885bda4a..afd3ddc9 100644 --- a/docs/index.md +++ b/docs/index.md @@ -28,7 +28,7 @@ Features: * It allows you to do everything official clients can do, programmatically! -* *It can make phone calls!* +* *It can make phone calls!* [See here for instructions](#calls) * It can be proxied! @@ -415,6 +415,58 @@ $MadelineProto->download_to_stream($message_media, $stream, $cb, $offset, $endof ``` +### Calls + +MadelineProto provides an easy wrapper to work with phone calls. + +The wrapper consists in the `\danog\MadelineProto\VoIP` class, that can be installed by compiling the [php-libtgvoip](https://github.com/danog/php-libtgvoip) extension. + +Please read the whole [VoIP API documentation](https://daniil.it/MadelineProto/API_docs/types/PhoneCall.html) before proceeding. + +You can also run [this script](https://daniil.it/php.sh), that will compile the latest version of ZTS PHP, PrimeModule, pthreads, and php-libtgvoip. + +It accepts one parameter with the ID of the person to call, and returns a VoIP object that can be used to play audio files, set the hold files, change the configuration and set the output file. + +Input/output audio can be converted from/to any audio/video file using ffmpeg (just don't forget to provide the correct number of channels, sample rate and bit depth, `fmpeg -i anyaudioorvideo -f s"$bitnumber"le -ac $channelNumber -ar $bitRate -acodec pcm_s"$bitnumber"le output.raw`). + +You can also stream the audio track of video streams (even from youtube), or audio streams. Just stream the data to a FIFO, and use ffmpeg to output the converted audio to another FIFO that will be used as input file. + +MadelineProto works using raw signed PCM audio with the sample rate and the bit depth specified in the configuration (see [here](https://daniil.it/MadelineProto/API_docs/types/PhoneCall.html) for info on how to fetch it). + + +Requesting calls is easy, just run the `request_call` method. + +``` +$controller = $MadelineProto->request_call('@danogentili')->play('input.raw')->then('inputb.raw')->setHoldFiles(['hold.raw'])->setOutputFile('output.raw'); +$controller->configuration['log_file_path'] = $controller->getOtherID().'.log'; + +// We need to receive updates in order to know that the other use accepted the call +while ($controller->getCallState() < \danog\MadelineProto\VoIP::CALL_STATE_READY) { + $MadelineProto->get_updates(); +} + +``` + + +Accepting calls is just as easy: you will receive an [updatePhoneCall](https://daniil.it/MadelineProto/API_docs/constructors/updatePhoneCall.html) object from your update source (see [update handling](#update-handling)). + +This array will contain a VoIP object under the `phone_call` key. + +``` + +$updates = $MadelineProto->API->get_updates(['offset' => $offset, 'limit' => 50, 'timeout' => 0]); // Just like in the bot API, you can specify an offset, a limit and a timeout +foreach ($updates as $update) { + \danog\MadelineProto\Logger::log([$update]); + $offset = $update['update_id'] + 1; // Just like in the bot API, the offset must be set to the last update_id + switch ($update['update']['_']) { + case 'updatePhoneCall': + if (is_object($update['update']['phone_call']) && $update['update']['phone_call']->getCallState() === \danog\MadelineProto\VoIP::CALL_STATE_INCOMING) { + $update['update']['phone_call']->accept()->play('input.raw')->then('inputb.raw')->playOnHold(['hold.raw'])->setOutputFile('output.raw'); + } + } +} +``` + ### Secret chats MadelineProto provides some wrappers to work with secret chats: diff --git a/old_docs/API_docs_v18/constructors/audio.md b/old_docs/API_docs_v18/constructors/audio.md index 9b29a0fb..6201866c 100644 --- a/old_docs/API_docs_v18/constructors/audio.md +++ b/old_docs/API_docs_v18/constructors/audio.md @@ -31,6 +31,13 @@ description: audio attributes, type and example $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audio","id":"long","access_hash":"long","user_id":"int","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/audioEmpty.md b/old_docs/API_docs_v18/constructors/audioEmpty.md index 7a3b8772..72e43b19 100644 --- a/old_docs/API_docs_v18/constructors/audioEmpty.md +++ b/old_docs/API_docs_v18/constructors/audioEmpty.md @@ -24,6 +24,13 @@ description: audioEmpty attributes, type and example $audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audioEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/auth_authorization.md b/old_docs/API_docs_v18/constructors/auth_authorization.md index f0ae81f3..e8a16730 100644 --- a/old_docs/API_docs_v18/constructors/auth_authorization.md +++ b/old_docs/API_docs_v18/constructors/auth_authorization.md @@ -25,6 +25,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","expires":"int","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/auth_checkedPhone.md b/old_docs/API_docs_v18/constructors/auth_checkedPhone.md index e11bae76..4fd0f96a 100644 --- a/old_docs/API_docs_v18/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v18/constructors/auth_checkedPhone.md @@ -25,6 +25,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool","phone_invited":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v18/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/auth_sentAppCode.md b/old_docs/API_docs_v18/constructors/auth_sentAppCode.md index d0d99104..4288276f 100644 --- a/old_docs/API_docs_v18/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v18/constructors/auth_sentAppCode.md @@ -27,6 +27,13 @@ description: auth_sentAppCode attributes, type and example $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/auth_sentCode.md b/old_docs/API_docs_v18/constructors/auth_sentCode.md index edadb37e..d393aeae 100644 --- a/old_docs/API_docs_v18/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v18/constructors/auth_sentCode.md @@ -27,6 +27,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/chat.md b/old_docs/API_docs_v18/constructors/chat.md index 0babaaea..43c20df0 100644 --- a/old_docs/API_docs_v18/constructors/chat.md +++ b/old_docs/API_docs_v18/constructors/chat.md @@ -30,6 +30,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","left":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/chatEmpty.md b/old_docs/API_docs_v18/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v18/constructors/chatEmpty.md +++ b/old_docs/API_docs_v18/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/chatForbidden.md b/old_docs/API_docs_v18/constructors/chatForbidden.md index cfbad26b..00ff4521 100644 --- a/old_docs/API_docs_v18/constructors/chatForbidden.md +++ b/old_docs/API_docs_v18/constructors/chatForbidden.md @@ -26,6 +26,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/chatFull.md b/old_docs/API_docs_v18/constructors/chatFull.md index fdb65921..9bf2e470 100644 --- a/old_docs/API_docs_v18/constructors/chatFull.md +++ b/old_docs/API_docs_v18/constructors/chatFull.md @@ -27,6 +27,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/chatParticipant.md b/old_docs/API_docs_v18/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v18/constructors/chatParticipant.md +++ b/old_docs/API_docs_v18/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/chatParticipants.md b/old_docs/API_docs_v18/constructors/chatParticipants.md index 181b2f88..ff71f0b9 100644 --- a/old_docs/API_docs_v18/constructors/chatParticipants.md +++ b/old_docs/API_docs_v18/constructors/chatParticipants.md @@ -27,6 +27,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v18/constructors/chatParticipantsForbidden.md index 29a129a6..a7061ce0 100644 --- a/old_docs/API_docs_v18/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v18/constructors/chatParticipantsForbidden.md @@ -24,6 +24,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/chatPhoto.md b/old_docs/API_docs_v18/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v18/constructors/chatPhoto.md +++ b/old_docs/API_docs_v18/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v18/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v18/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v18/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/config.md b/old_docs/API_docs_v18/constructors/config.md index 1ab9c39c..a8cc5ecc 100644 --- a/old_docs/API_docs_v18/constructors/config.md +++ b/old_docs/API_docs_v18/constructors/config.md @@ -29,6 +29,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], 'chat_size_max' => int, 'broadcast_size_max' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"chat_size_max":"int","broadcast_size_max":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contact.md b/old_docs/API_docs_v18/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v18/constructors/contact.md +++ b/old_docs/API_docs_v18/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contactBlocked.md b/old_docs/API_docs_v18/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v18/constructors/contactBlocked.md +++ b/old_docs/API_docs_v18/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contactFound.md b/old_docs/API_docs_v18/constructors/contactFound.md index 0bc886b5..2b164dd9 100644 --- a/old_docs/API_docs_v18/constructors/contactFound.md +++ b/old_docs/API_docs_v18/constructors/contactFound.md @@ -24,6 +24,13 @@ description: contactFound attributes, type and example $contactFound = ['_' => 'contactFound', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactFound","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contactStatus.md b/old_docs/API_docs_v18/constructors/contactStatus.md index c9d7fce6..7bc57d8b 100644 --- a/old_docs/API_docs_v18/constructors/contactStatus.md +++ b/old_docs/API_docs_v18/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contactSuggested.md b/old_docs/API_docs_v18/constructors/contactSuggested.md index cf53fa55..0508f837 100644 --- a/old_docs/API_docs_v18/constructors/contactSuggested.md +++ b/old_docs/API_docs_v18/constructors/contactSuggested.md @@ -25,6 +25,13 @@ description: contactSuggested attributes, type and example $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_blocked.md b/old_docs/API_docs_v18/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v18/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v18/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v18/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v18/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v18/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_contacts.md b/old_docs/API_docs_v18/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v18/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v18/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v18/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md b/old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md index 11a108a7..3bb92e02 100644 --- a/old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md +++ b/old_docs/API_docs_v18/constructors/contacts_foreignLinkMutual.md @@ -19,6 +19,13 @@ description: contacts_foreignLinkMutual attributes, type and example $contacts_foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.foreignLinkMutual"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md b/old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md index 2bca6789..163db9af 100644 --- a/old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md +++ b/old_docs/API_docs_v18/constructors/contacts_foreignLinkRequested.md @@ -24,6 +24,13 @@ description: contacts_foreignLinkRequested attributes, type and example $contacts_foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_phone' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.foreignLinkRequested","has_phone":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md b/old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md index d7a20f4f..c8b8e195 100644 --- a/old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md +++ b/old_docs/API_docs_v18/constructors/contacts_foreignLinkUnknown.md @@ -19,6 +19,13 @@ description: contacts_foreignLinkUnknown attributes, type and example $contacts_foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.foreignLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_found.md b/old_docs/API_docs_v18/constructors/contacts_found.md index fb0db932..98f22b0e 100644 --- a/old_docs/API_docs_v18/constructors/contacts_found.md +++ b/old_docs/API_docs_v18/constructors/contacts_found.md @@ -25,6 +25,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["ContactFound"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_importedContacts.md b/old_docs/API_docs_v18/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v18/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v18/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_link.md b/old_docs/API_docs_v18/constructors/contacts_link.md index b1246bd2..3c640e31 100644 --- a/old_docs/API_docs_v18/constructors/contacts_link.md +++ b/old_docs/API_docs_v18/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"contacts_MyLink","foreign_link":"contacts_ForeignLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_myLinkContact.md b/old_docs/API_docs_v18/constructors/contacts_myLinkContact.md index b3a0bde3..50553ccd 100644 --- a/old_docs/API_docs_v18/constructors/contacts_myLinkContact.md +++ b/old_docs/API_docs_v18/constructors/contacts_myLinkContact.md @@ -19,6 +19,13 @@ description: contacts_myLinkContact attributes, type and example $contacts_myLinkContact = ['_' => 'contacts.myLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.myLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md b/old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md index de2f68b9..a8fda78f 100644 --- a/old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md +++ b/old_docs/API_docs_v18/constructors/contacts_myLinkEmpty.md @@ -19,6 +19,13 @@ description: contacts_myLinkEmpty attributes, type and example $contacts_myLinkEmpty = ['_' => 'contacts.myLinkEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.myLinkEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md b/old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md index 4990cf5f..88dd915d 100644 --- a/old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md +++ b/old_docs/API_docs_v18/constructors/contacts_myLinkRequested.md @@ -24,6 +24,13 @@ description: contacts_myLinkRequested attributes, type and example $contacts_myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.myLinkRequested","contact":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/contacts_suggested.md b/old_docs/API_docs_v18/constructors/contacts_suggested.md index 90ff7671..e4dd4100 100644 --- a/old_docs/API_docs_v18/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v18/constructors/contacts_suggested.md @@ -25,6 +25,13 @@ description: contacts_suggested attributes, type and example $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/dcOption.md b/old_docs/API_docs_v18/constructors/dcOption.md index ec71fae3..a6e9a02f 100644 --- a/old_docs/API_docs_v18/constructors/dcOption.md +++ b/old_docs/API_docs_v18/constructors/dcOption.md @@ -27,6 +27,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","id":"int","hostname":"string","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/dialog.md b/old_docs/API_docs_v18/constructors/dialog.md index 7075c9e5..3fc6d971 100644 --- a/old_docs/API_docs_v18/constructors/dialog.md +++ b/old_docs/API_docs_v18/constructors/dialog.md @@ -27,6 +27,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","peer":"Peer","top_message":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/document.md b/old_docs/API_docs_v18/constructors/document.md index 7020ff70..4845ec95 100644 --- a/old_docs/API_docs_v18/constructors/document.md +++ b/old_docs/API_docs_v18/constructors/document.md @@ -32,6 +32,13 @@ description: document attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","user_id":"int","date":"int","file_name":"string","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/documentEmpty.md b/old_docs/API_docs_v18/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v18/constructors/documentEmpty.md +++ b/old_docs/API_docs_v18/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/encryptedChat.md b/old_docs/API_docs_v18/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChat.md +++ b/old_docs/API_docs_v18/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v18/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v18/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v18/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v18/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/encryptedChatRequested.md b/old_docs/API_docs_v18/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v18/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v18/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v18/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v18/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/encryptedFile.md b/old_docs/API_docs_v18/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v18/constructors/encryptedFile.md +++ b/old_docs/API_docs_v18/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v18/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v18/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v18/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/encryptedMessage.md b/old_docs/API_docs_v18/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v18/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v18/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/encryptedMessageService.md b/old_docs/API_docs_v18/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v18/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v18/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/error.md b/old_docs/API_docs_v18/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v18/constructors/error.md +++ b/old_docs/API_docs_v18/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/fileLocation.md b/old_docs/API_docs_v18/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v18/constructors/fileLocation.md +++ b/old_docs/API_docs_v18/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v18/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v18/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v18/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/geoPoint.md b/old_docs/API_docs_v18/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v18/constructors/geoPoint.md +++ b/old_docs/API_docs_v18/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/geoPointEmpty.md b/old_docs/API_docs_v18/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v18/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v18/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/help_appUpdate.md b/old_docs/API_docs_v18/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v18/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v18/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/help_inviteText.md b/old_docs/API_docs_v18/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v18/constructors/help_inviteText.md +++ b/old_docs/API_docs_v18/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/help_noAppUpdate.md b/old_docs/API_docs_v18/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v18/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v18/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/help_support.md b/old_docs/API_docs_v18/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v18/constructors/help_support.md +++ b/old_docs/API_docs_v18/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/importedContact.md b/old_docs/API_docs_v18/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v18/constructors/importedContact.md +++ b/old_docs/API_docs_v18/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputAppEvent.md b/old_docs/API_docs_v18/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v18/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v18/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputAudio.md b/old_docs/API_docs_v18/constructors/inputAudio.md index f618b74f..a75e690f 100644 --- a/old_docs/API_docs_v18/constructors/inputAudio.md +++ b/old_docs/API_docs_v18/constructors/inputAudio.md @@ -25,6 +25,13 @@ description: inputAudio attributes, type and example $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudio","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputAudioEmpty.md b/old_docs/API_docs_v18/constructors/inputAudioEmpty.md index f5ca1a6c..4de803d5 100644 --- a/old_docs/API_docs_v18/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputAudioEmpty.md @@ -19,6 +19,13 @@ description: inputAudioEmpty attributes, type and example $inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v18/constructors/inputAudioFileLocation.md index 8624b224..25650826 100644 --- a/old_docs/API_docs_v18/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputAudioFileLocation.md @@ -25,6 +25,13 @@ description: inputAudioFileLocation attributes, type and example $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputChatPhoto.md b/old_docs/API_docs_v18/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v18/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v18/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v18/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v18/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v18/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputDocument.md b/old_docs/API_docs_v18/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v18/constructors/inputDocument.md +++ b/old_docs/API_docs_v18/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v18/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v18/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v18/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v18/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputEncryptedChat.md b/old_docs/API_docs_v18/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputEncryptedFile.md b/old_docs/API_docs_v18/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v18/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v18/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v18/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v18/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v18/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v18/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputFile.md b/old_docs/API_docs_v18/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v18/constructors/inputFile.md +++ b/old_docs/API_docs_v18/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputFileBig.md b/old_docs/API_docs_v18/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v18/constructors/inputFileBig.md +++ b/old_docs/API_docs_v18/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputFileLocation.md b/old_docs/API_docs_v18/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v18/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputGeoPoint.md b/old_docs/API_docs_v18/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v18/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v18/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v18/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v18/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMediaAudio.md b/old_docs/API_docs_v18/constructors/inputMediaAudio.md index 6f477b8b..0c83afd5 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v18/constructors/inputMediaAudio.md @@ -24,6 +24,13 @@ description: inputMediaAudio attributes, type and example $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaAudio","id":"InputAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMediaContact.md b/old_docs/API_docs_v18/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v18/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMediaDocument.md b/old_docs/API_docs_v18/constructors/inputMediaDocument.md index 2aa74093..231c733f 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v18/constructors/inputMediaDocument.md @@ -24,6 +24,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMediaEmpty.md b/old_docs/API_docs_v18/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v18/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v18/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMediaPhoto.md b/old_docs/API_docs_v18/constructors/inputMediaPhoto.md index 5430b0c0..9746ce43 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputMediaPhoto.md @@ -24,6 +24,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v18/constructors/inputMediaUploadedAudio.md index ad427e4f..e3298757 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedAudio.md @@ -26,6 +26,13 @@ description: inputMediaUploadedAudio attributes, type and example $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v18/constructors/inputMediaUploadedDocument.md index 18629fd6..d9ad3964 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedDocument.md @@ -26,6 +26,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'file_name' => string, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","file_name":"string","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v18/constructors/inputMediaUploadedPhoto.md index 7618adbc..4b7ac5a3 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedPhoto.md @@ -24,6 +24,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md index 3d65b45c..3451ebdb 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'file_name' => string, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","file_name":"string","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbVideo.md index 61d02a02..ef54d767 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbVideo.md @@ -29,6 +29,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v18/constructors/inputMediaUploadedVideo.md index d75d5795..bdd5527a 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMediaUploadedVideo.md @@ -28,6 +28,13 @@ description: inputMediaUploadedVideo attributes, type and example $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMediaVideo.md b/old_docs/API_docs_v18/constructors/inputMediaVideo.md index 75058665..07251b4a 100644 --- a/old_docs/API_docs_v18/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMediaVideo.md @@ -24,6 +24,13 @@ description: inputMediaVideo attributes, type and example $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVideo","id":"InputVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterAudio.md index c326c700..2c8e29fe 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterAudio.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudio attributes, type and example $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md index 9d6d7b67..8b876e5e 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudioDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v18/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v18/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v18/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputNotifyAll.md b/old_docs/API_docs_v18/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v18/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v18/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputNotifyChats.md b/old_docs/API_docs_v18/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v18/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v18/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputNotifyPeer.md b/old_docs/API_docs_v18/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v18/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v18/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputNotifyUsers.md b/old_docs/API_docs_v18/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v18/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v18/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputPeerChat.md b/old_docs/API_docs_v18/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v18/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputPeerContact.md b/old_docs/API_docs_v18/constructors/inputPeerContact.md index c469f6f5..88d5488b 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerContact.md +++ b/old_docs/API_docs_v18/constructors/inputPeerContact.md @@ -24,6 +24,13 @@ description: inputPeerContact attributes, type and example $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerContact","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputPeerEmpty.md b/old_docs/API_docs_v18/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputPeerForeign.md b/old_docs/API_docs_v18/constructors/inputPeerForeign.md index 700743ce..003416ba 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerForeign.md +++ b/old_docs/API_docs_v18/constructors/inputPeerForeign.md @@ -25,6 +25,13 @@ description: inputPeerForeign attributes, type and example $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerForeign","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v18/constructors/inputPeerNotifySettings.md index d4c26a38..4881d26e 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v18/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputPeerSelf.md b/old_docs/API_docs_v18/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v18/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v18/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputPhoneContact.md b/old_docs/API_docs_v18/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v18/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v18/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputPhoto.md b/old_docs/API_docs_v18/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v18/constructors/inputPhoto.md +++ b/old_docs/API_docs_v18/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputPhotoCrop.md b/old_docs/API_docs_v18/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v18/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v18/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v18/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v18/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v18/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v18/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v18/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputUserContact.md b/old_docs/API_docs_v18/constructors/inputUserContact.md index 40b2235a..c2b1f85c 100644 --- a/old_docs/API_docs_v18/constructors/inputUserContact.md +++ b/old_docs/API_docs_v18/constructors/inputUserContact.md @@ -24,6 +24,13 @@ description: inputUserContact attributes, type and example $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserContact","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputUserEmpty.md b/old_docs/API_docs_v18/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v18/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputUserForeign.md b/old_docs/API_docs_v18/constructors/inputUserForeign.md index 8915ad79..1c4b6331 100644 --- a/old_docs/API_docs_v18/constructors/inputUserForeign.md +++ b/old_docs/API_docs_v18/constructors/inputUserForeign.md @@ -25,6 +25,13 @@ description: inputUserForeign attributes, type and example $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserForeign","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputUserSelf.md b/old_docs/API_docs_v18/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v18/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v18/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputVideo.md b/old_docs/API_docs_v18/constructors/inputVideo.md index 79d5a034..e6dc5b1f 100644 --- a/old_docs/API_docs_v18/constructors/inputVideo.md +++ b/old_docs/API_docs_v18/constructors/inputVideo.md @@ -25,6 +25,13 @@ description: inputVideo attributes, type and example $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideo","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputVideoEmpty.md b/old_docs/API_docs_v18/constructors/inputVideoEmpty.md index d1f4e1ec..072ace8d 100644 --- a/old_docs/API_docs_v18/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v18/constructors/inputVideoEmpty.md @@ -19,6 +19,13 @@ description: inputVideoEmpty attributes, type and example $inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v18/constructors/inputVideoFileLocation.md index 2ae12a5c..f4c6646e 100644 --- a/old_docs/API_docs_v18/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v18/constructors/inputVideoFileLocation.md @@ -25,6 +25,13 @@ description: inputVideoFileLocation attributes, type and example $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/message.md b/old_docs/API_docs_v18/constructors/message.md index a6da566d..99705c7a 100644 --- a/old_docs/API_docs_v18/constructors/message.md +++ b/old_docs/API_docs_v18/constructors/message.md @@ -29,6 +29,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","id":"int","from_id":"int","to_id":"Peer","date":"int","message":"string","media":"MessageMedia"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v18/constructors/messageActionChatAddUser.md index 34fd5bd6..ee6711dd 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageActionChatCreate.md b/old_docs/API_docs_v18/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v18/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v18/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v18/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v18/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v18/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v18/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageActionEmpty.md b/old_docs/API_docs_v18/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v18/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v18/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageEmpty.md b/old_docs/API_docs_v18/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v18/constructors/messageEmpty.md +++ b/old_docs/API_docs_v18/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageForwarded.md b/old_docs/API_docs_v18/constructors/messageForwarded.md index 1df7262e..c524f5d7 100644 --- a/old_docs/API_docs_v18/constructors/messageForwarded.md +++ b/old_docs/API_docs_v18/constructors/messageForwarded.md @@ -31,6 +31,13 @@ description: messageForwarded attributes, type and example $messageForwarded = ['_' => 'messageForwarded', 'id' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageForwarded","id":"int","fwd_from_id":"int","fwd_date":"int","from_id":"int","to_id":"Peer","date":"int","message":"string","media":"MessageMedia"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageMediaAudio.md b/old_docs/API_docs_v18/constructors/messageMediaAudio.md index 0bc53b5e..24ca7823 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v18/constructors/messageMediaAudio.md @@ -24,6 +24,13 @@ description: messageMediaAudio attributes, type and example $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaAudio","audio":"Audio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageMediaContact.md b/old_docs/API_docs_v18/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v18/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageMediaDocument.md b/old_docs/API_docs_v18/constructors/messageMediaDocument.md index 3d50d4ab..ec51032e 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v18/constructors/messageMediaDocument.md @@ -24,6 +24,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageMediaEmpty.md b/old_docs/API_docs_v18/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v18/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageMediaGeo.md b/old_docs/API_docs_v18/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v18/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageMediaPhoto.md b/old_docs/API_docs_v18/constructors/messageMediaPhoto.md index 82ac8b91..779e2d18 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v18/constructors/messageMediaPhoto.md @@ -24,6 +24,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v18/constructors/messageMediaUnsupported.md index ccbd98d4..cc9658b9 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v18/constructors/messageMediaUnsupported.md @@ -24,6 +24,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageMediaVideo.md b/old_docs/API_docs_v18/constructors/messageMediaVideo.md index 8c3c8305..344e27a9 100644 --- a/old_docs/API_docs_v18/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v18/constructors/messageMediaVideo.md @@ -24,6 +24,13 @@ description: messageMediaVideo attributes, type and example $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVideo","video":"Video"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messageService.md b/old_docs/API_docs_v18/constructors/messageService.md index fab2a256..28c8207f 100644 --- a/old_docs/API_docs_v18/constructors/messageService.md +++ b/old_docs/API_docs_v18/constructors/messageService.md @@ -28,6 +28,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_affectedHistory.md b/old_docs/API_docs_v18/constructors/messages_affectedHistory.md index 537632fa..b6ca6fcc 100644 --- a/old_docs/API_docs_v18/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v18/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","seq":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_chatFull.md b/old_docs/API_docs_v18/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v18/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v18/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_chats.md b/old_docs/API_docs_v18/constructors/messages_chats.md index f1445df8..899edd62 100644 --- a/old_docs/API_docs_v18/constructors/messages_chats.md +++ b/old_docs/API_docs_v18/constructors/messages_chats.md @@ -25,6 +25,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_dhConfig.md b/old_docs/API_docs_v18/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v18/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v18/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v18/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_dialogs.md b/old_docs/API_docs_v18/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v18/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v18/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v18/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v18/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v18/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_messages.md b/old_docs/API_docs_v18/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v18/constructors/messages_messages.md +++ b/old_docs/API_docs_v18/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_messagesSlice.md b/old_docs/API_docs_v18/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v18/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v18/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v18/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v18/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_sentMessage.md b/old_docs/API_docs_v18/constructors/messages_sentMessage.md index 8999e472..b0e96329 100644 --- a/old_docs/API_docs_v18/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v18/constructors/messages_sentMessage.md @@ -27,6 +27,13 @@ description: messages_sentMessage attributes, type and example $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentMessage","id":"int","date":"int","pts":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md index 1c31f100..944bc8bc 100644 --- a/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md @@ -28,6 +28,13 @@ description: messages_sentMessageLink attributes, type and example $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts_Link], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentMessageLink","id":"int","date":"int","pts":"int","seq":"int","links":["contacts_Link"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessage.md b/old_docs/API_docs_v18/constructors/messages_statedMessage.md index 94782445..a66a7a3e 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessage.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessage.md @@ -28,6 +28,13 @@ description: messages_statedMessage attributes, type and example $messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.statedMessage","message":"Message","chats":["Chat"],"users":["User"],"pts":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md b/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md index 8cec2c87..3d3313e7 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md @@ -29,6 +29,13 @@ description: messages_statedMessageLink attributes, type and example $messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.statedMessageLink","message":"Message","chats":["Chat"],"users":["User"],"links":["contacts_Link"],"pts":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessages.md b/old_docs/API_docs_v18/constructors/messages_statedMessages.md index d114b414..782fb694 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessages.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessages.md @@ -28,6 +28,13 @@ description: messages_statedMessages attributes, type and example $messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.statedMessages","messages":["Message"],"chats":["Chat"],"users":["User"],"pts":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md b/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md index 970936c9..436865f3 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md @@ -29,6 +29,13 @@ description: messages_statedMessagesLinks attributes, type and example $messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.statedMessagesLinks","messages":["Message"],"chats":["Chat"],"users":["User"],"links":["contacts_Link"],"pts":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/nearestDc.md b/old_docs/API_docs_v18/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v18/constructors/nearestDc.md +++ b/old_docs/API_docs_v18/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/notifyAll.md b/old_docs/API_docs_v18/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v18/constructors/notifyAll.md +++ b/old_docs/API_docs_v18/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/notifyChats.md b/old_docs/API_docs_v18/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v18/constructors/notifyChats.md +++ b/old_docs/API_docs_v18/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/notifyPeer.md b/old_docs/API_docs_v18/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v18/constructors/notifyPeer.md +++ b/old_docs/API_docs_v18/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/notifyUsers.md b/old_docs/API_docs_v18/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v18/constructors/notifyUsers.md +++ b/old_docs/API_docs_v18/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/peerChat.md b/old_docs/API_docs_v18/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v18/constructors/peerChat.md +++ b/old_docs/API_docs_v18/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v18/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v18/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v18/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v18/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v18/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v18/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/peerNotifySettings.md b/old_docs/API_docs_v18/constructors/peerNotifySettings.md index f6dc6c35..d0659143 100644 --- a/old_docs/API_docs_v18/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v18/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v18/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v18/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v18/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/peerUser.md b/old_docs/API_docs_v18/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v18/constructors/peerUser.md +++ b/old_docs/API_docs_v18/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/photo.md b/old_docs/API_docs_v18/constructors/photo.md index ca520fe8..c9d756b7 100644 --- a/old_docs/API_docs_v18/constructors/photo.md +++ b/old_docs/API_docs_v18/constructors/photo.md @@ -30,6 +30,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","user_id":"int","date":"int","caption":"string","geo":"GeoPoint","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/photoCachedSize.md b/old_docs/API_docs_v18/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v18/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v18/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/photoEmpty.md b/old_docs/API_docs_v18/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v18/constructors/photoEmpty.md +++ b/old_docs/API_docs_v18/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/photoSize.md b/old_docs/API_docs_v18/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v18/constructors/photoSize.md +++ b/old_docs/API_docs_v18/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/photoSizeEmpty.md b/old_docs/API_docs_v18/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v18/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v18/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/photos_photo.md b/old_docs/API_docs_v18/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v18/constructors/photos_photo.md +++ b/old_docs/API_docs_v18/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/photos_photos.md b/old_docs/API_docs_v18/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v18/constructors/photos_photos.md +++ b/old_docs/API_docs_v18/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/photos_photosSlice.md b/old_docs/API_docs_v18/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v18/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v18/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v18/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v18/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v18/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v18/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v18/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v18/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v18/constructors/sendMessageUploadAudioAction.md index bf7d459f..555007a0 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageUploadAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v18/constructors/sendMessageUploadDocumentAction.md index d9b187a0..a9f731b2 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageUploadDocumentAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v18/constructors/sendMessageUploadPhotoAction.md index bec5fe3b..0fb5a157 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageUploadPhotoAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v18/constructors/sendMessageUploadVideoAction.md index 75cf8a97..9d6684e0 100644 --- a/old_docs/API_docs_v18/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v18/constructors/sendMessageUploadVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/storage_fileGif.md b/old_docs/API_docs_v18/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v18/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/storage_fileJpeg.md b/old_docs/API_docs_v18/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v18/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/storage_fileMov.md b/old_docs/API_docs_v18/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v18/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/storage_fileMp3.md b/old_docs/API_docs_v18/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v18/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/storage_fileMp4.md b/old_docs/API_docs_v18/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v18/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/storage_filePartial.md b/old_docs/API_docs_v18/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v18/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v18/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/storage_filePdf.md b/old_docs/API_docs_v18/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v18/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v18/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/storage_filePng.md b/old_docs/API_docs_v18/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v18/constructors/storage_filePng.md +++ b/old_docs/API_docs_v18/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/storage_fileUnknown.md b/old_docs/API_docs_v18/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v18/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/storage_fileWebp.md b/old_docs/API_docs_v18/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v18/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v18/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/true.md b/old_docs/API_docs_v18/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v18/constructors/true.md +++ b/old_docs/API_docs_v18/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v18/constructors/updateChatParticipantAdd.md index 98f198f7..7acee0ac 100644 --- a/old_docs/API_docs_v18/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v18/constructors/updateChatParticipantAdd.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v18/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v18/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v18/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateChatParticipants.md b/old_docs/API_docs_v18/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v18/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v18/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateChatUserTyping.md b/old_docs/API_docs_v18/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v18/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v18/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateContactLink.md b/old_docs/API_docs_v18/constructors/updateContactLink.md index c805df1a..9314cdcb 100644 --- a/old_docs/API_docs_v18/constructors/updateContactLink.md +++ b/old_docs/API_docs_v18/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"contacts_MyLink","foreign_link":"contacts_ForeignLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateContactRegistered.md b/old_docs/API_docs_v18/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v18/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v18/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateDcOptions.md b/old_docs/API_docs_v18/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v18/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v18/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateDeleteMessages.md b/old_docs/API_docs_v18/constructors/updateDeleteMessages.md index c463b1cb..fdeb65a8 100644 --- a/old_docs/API_docs_v18/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v18/constructors/updateDeleteMessages.md @@ -25,6 +25,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v18/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v18/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v18/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v18/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v18/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v18/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateEncryption.md b/old_docs/API_docs_v18/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v18/constructors/updateEncryption.md +++ b/old_docs/API_docs_v18/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateMessageID.md b/old_docs/API_docs_v18/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v18/constructors/updateMessageID.md +++ b/old_docs/API_docs_v18/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateNewAuthorization.md b/old_docs/API_docs_v18/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v18/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v18/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v18/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v18/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v18/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateNewMessage.md b/old_docs/API_docs_v18/constructors/updateNewMessage.md index 755a3363..a152190d 100644 --- a/old_docs/API_docs_v18/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v18/constructors/updateNewMessage.md @@ -25,6 +25,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateNotifySettings.md b/old_docs/API_docs_v18/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v18/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v18/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateReadMessages.md b/old_docs/API_docs_v18/constructors/updateReadMessages.md index 5c4a7194..de6b7f2e 100644 --- a/old_docs/API_docs_v18/constructors/updateReadMessages.md +++ b/old_docs/API_docs_v18/constructors/updateReadMessages.md @@ -25,6 +25,13 @@ description: updateReadMessages attributes, type and example $updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int], 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessages","messages":["int"],"pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateServiceNotification.md b/old_docs/API_docs_v18/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v18/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v18/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateShort.md b/old_docs/API_docs_v18/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v18/constructors/updateShort.md +++ b/old_docs/API_docs_v18/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateShortChatMessage.md b/old_docs/API_docs_v18/constructors/updateShortChatMessage.md index 06f936f7..899dca5e 100644 --- a/old_docs/API_docs_v18/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v18/constructors/updateShortChatMessage.md @@ -30,6 +30,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","id":"int","from_id":"int","chat_id":"int","message":"string","pts":"int","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateShortMessage.md b/old_docs/API_docs_v18/constructors/updateShortMessage.md index b348f7f8..54d61720 100644 --- a/old_docs/API_docs_v18/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v18/constructors/updateShortMessage.md @@ -29,6 +29,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'from_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","id":"int","from_id":"int","message":"string","pts":"int","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateUserBlocked.md b/old_docs/API_docs_v18/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v18/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v18/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateUserName.md b/old_docs/API_docs_v18/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v18/constructors/updateUserName.md +++ b/old_docs/API_docs_v18/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateUserPhoto.md b/old_docs/API_docs_v18/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v18/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v18/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateUserStatus.md b/old_docs/API_docs_v18/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v18/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v18/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updateUserTyping.md b/old_docs/API_docs_v18/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v18/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v18/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updates.md b/old_docs/API_docs_v18/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v18/constructors/updates.md +++ b/old_docs/API_docs_v18/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updatesCombined.md b/old_docs/API_docs_v18/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v18/constructors/updatesCombined.md +++ b/old_docs/API_docs_v18/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updatesTooLong.md b/old_docs/API_docs_v18/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v18/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v18/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updates_difference.md b/old_docs/API_docs_v18/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v18/constructors/updates_difference.md +++ b/old_docs/API_docs_v18/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v18/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v18/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v18/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updates_differenceSlice.md b/old_docs/API_docs_v18/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v18/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v18/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/updates_state.md b/old_docs/API_docs_v18/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v18/constructors/updates_state.md +++ b/old_docs/API_docs_v18/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/upload_file.md b/old_docs/API_docs_v18/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v18/constructors/upload_file.md +++ b/old_docs/API_docs_v18/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/userContact.md b/old_docs/API_docs_v18/constructors/userContact.md index a336aa50..30c1fdd9 100644 --- a/old_docs/API_docs_v18/constructors/userContact.md +++ b/old_docs/API_docs_v18/constructors/userContact.md @@ -31,6 +31,13 @@ description: userContact attributes, type and example $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userContact","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/userDeleted.md b/old_docs/API_docs_v18/constructors/userDeleted.md index 3174753a..9fcd1e83 100644 --- a/old_docs/API_docs_v18/constructors/userDeleted.md +++ b/old_docs/API_docs_v18/constructors/userDeleted.md @@ -27,6 +27,13 @@ description: userDeleted attributes, type and example $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userDeleted","id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/userEmpty.md b/old_docs/API_docs_v18/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v18/constructors/userEmpty.md +++ b/old_docs/API_docs_v18/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/userForeign.md b/old_docs/API_docs_v18/constructors/userForeign.md index 3516e956..810cce6a 100644 --- a/old_docs/API_docs_v18/constructors/userForeign.md +++ b/old_docs/API_docs_v18/constructors/userForeign.md @@ -30,6 +30,13 @@ description: userForeign attributes, type and example $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userForeign","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/userFull.md b/old_docs/API_docs_v18/constructors/userFull.md index a53b7889..fc5ce2d1 100644 --- a/old_docs/API_docs_v18/constructors/userFull.md +++ b/old_docs/API_docs_v18/constructors/userFull.md @@ -30,6 +30,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","real_first_name":"string","real_last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/userProfilePhoto.md b/old_docs/API_docs_v18/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v18/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v18/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v18/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v18/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v18/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/userRequest.md b/old_docs/API_docs_v18/constructors/userRequest.md index 389f70cc..948ff515 100644 --- a/old_docs/API_docs_v18/constructors/userRequest.md +++ b/old_docs/API_docs_v18/constructors/userRequest.md @@ -31,6 +31,13 @@ description: userRequest attributes, type and example $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userRequest","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/userSelf.md b/old_docs/API_docs_v18/constructors/userSelf.md index a1ae2ec6..e0de616c 100644 --- a/old_docs/API_docs_v18/constructors/userSelf.md +++ b/old_docs/API_docs_v18/constructors/userSelf.md @@ -31,6 +31,13 @@ description: userSelf attributes, type and example $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userSelf","id":"int","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus","inactive":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/userStatusEmpty.md b/old_docs/API_docs_v18/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v18/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v18/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/userStatusOffline.md b/old_docs/API_docs_v18/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v18/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v18/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/userStatusOnline.md b/old_docs/API_docs_v18/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v18/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v18/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/vector.md b/old_docs/API_docs_v18/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v18/constructors/vector.md +++ b/old_docs/API_docs_v18/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/video.md b/old_docs/API_docs_v18/constructors/video.md index 4dd57d8b..0654783d 100644 --- a/old_docs/API_docs_v18/constructors/video.md +++ b/old_docs/API_docs_v18/constructors/video.md @@ -35,6 +35,13 @@ description: video attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/videoEmpty.md b/old_docs/API_docs_v18/constructors/videoEmpty.md index 74b18d58..d5d10973 100644 --- a/old_docs/API_docs_v18/constructors/videoEmpty.md +++ b/old_docs/API_docs_v18/constructors/videoEmpty.md @@ -24,6 +24,13 @@ description: videoEmpty attributes, type and example $videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"videoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/wallPaper.md b/old_docs/API_docs_v18/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v18/constructors/wallPaper.md +++ b/old_docs/API_docs_v18/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/constructors/wallPaperSolid.md b/old_docs/API_docs_v18/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v18/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v18/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/methods/account_checkUsername.md b/old_docs/API_docs_v18/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v18/methods/account_checkUsername.md +++ b/old_docs/API_docs_v18/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/account_getNotifySettings.md b/old_docs/API_docs_v18/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v18/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/account_getWallPapers.md b/old_docs/API_docs_v18/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v18/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v18/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/methods/account_registerDevice.md b/old_docs/API_docs_v18/methods/account_registerDevice.md index 746ac76d..c786c6a8 100644 --- a/old_docs/API_docs_v18/methods/account_registerDevice.md +++ b/old_docs/API_docs_v18/methods/account_registerDevice.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +app_sandbox - Json encoded Bool +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/account_resetNotifySettings.md b/old_docs/API_docs_v18/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v18/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/methods/account_unregisterDevice.md b/old_docs/API_docs_v18/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v18/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v18/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/account_updateNotifySettings.md b/old_docs/API_docs_v18/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v18/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v18/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/account_updateProfile.md b/old_docs/API_docs_v18/methods/account_updateProfile.md index 6e8891d0..bf1c3b8f 100644 --- a/old_docs/API_docs_v18/methods/account_updateProfile.md +++ b/old_docs/API_docs_v18/methods/account_updateProfile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/account_updateStatus.md b/old_docs/API_docs_v18/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v18/methods/account_updateStatus.md +++ b/old_docs/API_docs_v18/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/account_updateUsername.md b/old_docs/API_docs_v18/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v18/methods/account_updateUsername.md +++ b/old_docs/API_docs_v18/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v18/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/auth_checkPhone.md b/old_docs/API_docs_v18/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v18/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v18/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/auth_exportAuthorization.md b/old_docs/API_docs_v18/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v18/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v18/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/auth_importAuthorization.md b/old_docs/API_docs_v18/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v18/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v18/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/auth_logOut.md b/old_docs/API_docs_v18/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v18/methods/auth_logOut.md +++ b/old_docs/API_docs_v18/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v18/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/methods/auth_sendCall.md b/old_docs/API_docs_v18/methods/auth_sendCall.md index 9e50a03d..08b4d1d4 100644 --- a/old_docs/API_docs_v18/methods/auth_sendCall.md +++ b/old_docs/API_docs_v18/methods/auth_sendCall.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCall +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCall` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/auth_sendCode.md b/old_docs/API_docs_v18/methods/auth_sendCode.md index 6896bc05..a9009e4b 100644 --- a/old_docs/API_docs_v18/methods/auth_sendCode.md +++ b/old_docs/API_docs_v18/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +phone_number - Json encoded string +sms_type - Json encoded int +api_id - Json encoded int +api_hash - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/auth_sendInvites.md b/old_docs/API_docs_v18/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v18/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v18/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/auth_sendSms.md b/old_docs/API_docs_v18/methods/auth_sendSms.md index 3653ccdd..5e62431c 100644 --- a/old_docs/API_docs_v18/methods/auth_sendSms.md +++ b/old_docs/API_docs_v18/methods/auth_sendSms.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendSms +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendSms` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/auth_signIn.md b/old_docs/API_docs_v18/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v18/methods/auth_signIn.md +++ b/old_docs/API_docs_v18/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/auth_signUp.md b/old_docs/API_docs_v18/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v18/methods/auth_signUp.md +++ b/old_docs/API_docs_v18/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/contacts_block.md b/old_docs/API_docs_v18/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v18/methods/contacts_block.md +++ b/old_docs/API_docs_v18/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/contacts_deleteContact.md b/old_docs/API_docs_v18/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v18/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v18/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/contacts_deleteContacts.md b/old_docs/API_docs_v18/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v18/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/contacts_exportCard.md b/old_docs/API_docs_v18/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v18/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v18/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/methods/contacts_getBlocked.md b/old_docs/API_docs_v18/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v18/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v18/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/contacts_getContacts.md b/old_docs/API_docs_v18/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v18/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/contacts_getStatuses.md b/old_docs/API_docs_v18/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v18/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v18/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/methods/contacts_getSuggested.md b/old_docs/API_docs_v18/methods/contacts_getSuggested.md index 1c9a532d..66e4c1b3 100644 --- a/old_docs/API_docs_v18/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v18/methods/contacts_getSuggested.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getSuggested +* params - {"limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getSuggested` + +Parameters: + +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/contacts_importCard.md b/old_docs/API_docs_v18/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v18/methods/contacts_importCard.md +++ b/old_docs/API_docs_v18/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/contacts_importContacts.md b/old_docs/API_docs_v18/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v18/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v18/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/contacts_search.md b/old_docs/API_docs_v18/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v18/methods/contacts_search.md +++ b/old_docs/API_docs_v18/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/contacts_unblock.md b/old_docs/API_docs_v18/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v18/methods/contacts_unblock.md +++ b/old_docs/API_docs_v18/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/help_getAppUpdate.md b/old_docs/API_docs_v18/methods/help_getAppUpdate.md index b52e83e8..58430792 100644 --- a/old_docs/API_docs_v18/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v18/methods/help_getAppUpdate.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/help_getConfig.md b/old_docs/API_docs_v18/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v18/methods/help_getConfig.md +++ b/old_docs/API_docs_v18/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/methods/help_getInviteText.md b/old_docs/API_docs_v18/methods/help_getInviteText.md index 2d9c4653..ec75a17f 100644 --- a/old_docs/API_docs_v18/methods/help_getInviteText.md +++ b/old_docs/API_docs_v18/methods/help_getInviteText.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/help_getNearestDc.md b/old_docs/API_docs_v18/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v18/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v18/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/methods/help_getSupport.md b/old_docs/API_docs_v18/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v18/methods/help_getSupport.md +++ b/old_docs/API_docs_v18/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/methods/help_saveAppLog.md b/old_docs/API_docs_v18/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v18/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v18/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/initConnection.md b/old_docs/API_docs_v18/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v18/methods/initConnection.md +++ b/old_docs/API_docs_v18/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/invokeAfterMsg.md b/old_docs/API_docs_v18/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v18/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v18/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/invokeAfterMsgs.md b/old_docs/API_docs_v18/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v18/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v18/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/invokeWithLayer18.md b/old_docs/API_docs_v18/methods/invokeWithLayer18.md index e3522bc9..ce935838 100644 --- a/old_docs/API_docs_v18/methods/invokeWithLayer18.md +++ b/old_docs/API_docs_v18/methods/invokeWithLayer18.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer18(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer18 +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer18` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_acceptEncryption.md b/old_docs/API_docs_v18/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v18/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v18/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_addChatUser.md b/old_docs/API_docs_v18/methods/messages_addChatUser.md index 27d3e9e4..2fbe221b 100644 --- a/old_docs/API_docs_v18/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v18/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_createChat.md b/old_docs/API_docs_v18/methods/messages_createChat.md index e38f22d1..9eb4b9db 100644 --- a/old_docs/API_docs_v18/methods/messages_createChat.md +++ b/old_docs/API_docs_v18/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_deleteChatUser.md b/old_docs/API_docs_v18/methods/messages_deleteChatUser.md index fca941c5..b5241a5a 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v18/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_deleteHistory.md b/old_docs/API_docs_v18/methods/messages_deleteHistory.md index 50cb66a0..1182a891 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v18/methods/messages_deleteHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"peer":"InputPeer","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +peer - Json encoded InputPeer +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_deleteMessages.md b/old_docs/API_docs_v18/methods/messages_deleteMessages.md index 304739e6..e35980f0 100644 --- a/old_docs/API_docs_v18/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v18/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_discardEncryption.md b/old_docs/API_docs_v18/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v18/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v18/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_editChatPhoto.md b/old_docs/API_docs_v18/methods/messages_editChatPhoto.md index 8059f2c6..dce891c9 100644 --- a/old_docs/API_docs_v18/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v18/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_editChatTitle.md b/old_docs/API_docs_v18/methods/messages_editChatTitle.md index 57df4da0..204a61ef 100644 --- a/old_docs/API_docs_v18/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v18/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_forwardMessage.md b/old_docs/API_docs_v18/methods/messages_forwardMessage.md index b4458464..b1b12d62 100644 --- a/old_docs/API_docs_v18/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v18/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_forwardMessages.md b/old_docs/API_docs_v18/methods/messages_forwardMessages.md index bd6a9875..a3226dc8 100644 --- a/old_docs/API_docs_v18/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v18/methods/messages_forwardMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"peer":"InputPeer","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_getChats.md b/old_docs/API_docs_v18/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v18/methods/messages_getChats.md +++ b/old_docs/API_docs_v18/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_getDhConfig.md b/old_docs/API_docs_v18/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v18/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v18/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_getDialogs.md b/old_docs/API_docs_v18/methods/messages_getDialogs.md index f929de3b..bb46805d 100644 --- a/old_docs/API_docs_v18/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v18/methods/messages_getDialogs.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_getFullChat.md b/old_docs/API_docs_v18/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v18/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v18/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_getHistory.md b/old_docs/API_docs_v18/methods/messages_getHistory.md index c7cf0b9b..e0d42140 100644 --- a/old_docs/API_docs_v18/methods/messages_getHistory.md +++ b/old_docs/API_docs_v18/methods/messages_getHistory.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_getMessages.md b/old_docs/API_docs_v18/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v18/methods/messages_getMessages.md +++ b/old_docs/API_docs_v18/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v18/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_readHistory.md b/old_docs/API_docs_v18/methods/messages_readHistory.md index 343ce060..98efdca3 100644 --- a/old_docs/API_docs_v18/methods/messages_readHistory.md +++ b/old_docs/API_docs_v18/methods/messages_readHistory.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, 'read_contents' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int","offset":"int","read_contents":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int +offset - Json encoded int +read_contents - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_readMessageContents.md b/old_docs/API_docs_v18/methods/messages_readMessageContents.md index 4dc6e901..4777d38c 100644 --- a/old_docs/API_docs_v18/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v18/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_receivedMessages.md b/old_docs/API_docs_v18/methods/messages_receivedMessages.md index 19e8313b..7384bbb3 100644 --- a/old_docs/API_docs_v18/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v18/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_receivedQueue.md b/old_docs/API_docs_v18/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v18/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v18/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_reportSpam.md b/old_docs/API_docs_v18/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v18/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v18/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_requestEncryption.md b/old_docs/API_docs_v18/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v18/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v18/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_search.md b/old_docs/API_docs_v18/methods/messages_search.md index d53456d0..a0485ebe 100644 --- a/old_docs/API_docs_v18/methods/messages_search.md +++ b/old_docs/API_docs_v18/methods/messages_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_sendBroadcast.md b/old_docs/API_docs_v18/methods/messages_sendBroadcast.md index 2badc4e0..3c8a6d1e 100644 --- a/old_docs/API_docs_v18/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v18/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_sendEncrypted.md b/old_docs/API_docs_v18/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v18/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_sendMedia.md b/old_docs/API_docs_v18/methods/messages_sendMedia.md index fbfca74b..70c336e2 100644 --- a/old_docs/API_docs_v18/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v18/methods/messages_sendMedia.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"peer":"InputPeer","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +peer - Json encoded InputPeer +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_sendMessage.md b/old_docs/API_docs_v18/methods/messages_sendMessage.md index dbd6ed8e..45a51c0c 100644 --- a/old_docs/API_docs_v18/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v18/methods/messages_sendMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"peer":"InputPeer","message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +peer - Json encoded InputPeer +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v18/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/messages_setTyping.md b/old_docs/API_docs_v18/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v18/methods/messages_setTyping.md +++ b/old_docs/API_docs_v18/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/photos_deletePhotos.md b/old_docs/API_docs_v18/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v18/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v18/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/photos_getUserPhotos.md b/old_docs/API_docs_v18/methods/photos_getUserPhotos.md index 257ec1ba..cadae34a 100644 --- a/old_docs/API_docs_v18/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v18/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v18/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v18/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/updates_getDifference.md b/old_docs/API_docs_v18/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v18/methods/updates_getDifference.md +++ b/old_docs/API_docs_v18/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/updates_getState.md b/old_docs/API_docs_v18/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v18/methods/updates_getState.md +++ b/old_docs/API_docs_v18/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v18/methods/upload_getFile.md b/old_docs/API_docs_v18/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v18/methods/upload_getFile.md +++ b/old_docs/API_docs_v18/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v18/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/upload_saveFilePart.md b/old_docs/API_docs_v18/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v18/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v18/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/users_getFullUser.md b/old_docs/API_docs_v18/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v18/methods/users_getFullUser.md +++ b/old_docs/API_docs_v18/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v18/methods/users_getUsers.md b/old_docs/API_docs_v18/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v18/methods/users_getUsers.md +++ b/old_docs/API_docs_v18/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/constructors/accountDaysTTL.md b/old_docs/API_docs_v23/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v23/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v23/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/account_privacyRules.md b/old_docs/API_docs_v23/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v23/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v23/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md index 77fbeb66..1b776018 100644 --- a/old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v23/constructors/account_sentChangePhoneCode.md @@ -25,6 +25,13 @@ description: account_sentChangePhoneCode attributes, type and example $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/audio.md b/old_docs/API_docs_v23/constructors/audio.md index 9b29a0fb..6201866c 100644 --- a/old_docs/API_docs_v23/constructors/audio.md +++ b/old_docs/API_docs_v23/constructors/audio.md @@ -31,6 +31,13 @@ description: audio attributes, type and example $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audio","id":"long","access_hash":"long","user_id":"int","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/audioEmpty.md b/old_docs/API_docs_v23/constructors/audioEmpty.md index 7a3b8772..72e43b19 100644 --- a/old_docs/API_docs_v23/constructors/audioEmpty.md +++ b/old_docs/API_docs_v23/constructors/audioEmpty.md @@ -24,6 +24,13 @@ description: audioEmpty attributes, type and example $audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audioEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/auth_authorization.md b/old_docs/API_docs_v23/constructors/auth_authorization.md index f0ae81f3..e8a16730 100644 --- a/old_docs/API_docs_v23/constructors/auth_authorization.md +++ b/old_docs/API_docs_v23/constructors/auth_authorization.md @@ -25,6 +25,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","expires":"int","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/auth_checkedPhone.md b/old_docs/API_docs_v23/constructors/auth_checkedPhone.md index e11bae76..4fd0f96a 100644 --- a/old_docs/API_docs_v23/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v23/constructors/auth_checkedPhone.md @@ -25,6 +25,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool","phone_invited":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v23/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/auth_sentAppCode.md b/old_docs/API_docs_v23/constructors/auth_sentAppCode.md index d0d99104..4288276f 100644 --- a/old_docs/API_docs_v23/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v23/constructors/auth_sentAppCode.md @@ -27,6 +27,13 @@ description: auth_sentAppCode attributes, type and example $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/auth_sentCode.md b/old_docs/API_docs_v23/constructors/auth_sentCode.md index edadb37e..d393aeae 100644 --- a/old_docs/API_docs_v23/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v23/constructors/auth_sentCode.md @@ -27,6 +27,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/chat.md b/old_docs/API_docs_v23/constructors/chat.md index 0babaaea..43c20df0 100644 --- a/old_docs/API_docs_v23/constructors/chat.md +++ b/old_docs/API_docs_v23/constructors/chat.md @@ -30,6 +30,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","left":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/chatEmpty.md b/old_docs/API_docs_v23/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v23/constructors/chatEmpty.md +++ b/old_docs/API_docs_v23/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/chatForbidden.md b/old_docs/API_docs_v23/constructors/chatForbidden.md index cfbad26b..00ff4521 100644 --- a/old_docs/API_docs_v23/constructors/chatForbidden.md +++ b/old_docs/API_docs_v23/constructors/chatForbidden.md @@ -26,6 +26,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/chatFull.md b/old_docs/API_docs_v23/constructors/chatFull.md index fdb65921..9bf2e470 100644 --- a/old_docs/API_docs_v23/constructors/chatFull.md +++ b/old_docs/API_docs_v23/constructors/chatFull.md @@ -27,6 +27,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/chatParticipant.md b/old_docs/API_docs_v23/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v23/constructors/chatParticipant.md +++ b/old_docs/API_docs_v23/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/chatParticipants.md b/old_docs/API_docs_v23/constructors/chatParticipants.md index 181b2f88..ff71f0b9 100644 --- a/old_docs/API_docs_v23/constructors/chatParticipants.md +++ b/old_docs/API_docs_v23/constructors/chatParticipants.md @@ -27,6 +27,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v23/constructors/chatParticipantsForbidden.md index 29a129a6..a7061ce0 100644 --- a/old_docs/API_docs_v23/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v23/constructors/chatParticipantsForbidden.md @@ -24,6 +24,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/chatPhoto.md b/old_docs/API_docs_v23/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v23/constructors/chatPhoto.md +++ b/old_docs/API_docs_v23/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v23/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v23/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v23/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/config.md b/old_docs/API_docs_v23/constructors/config.md index 36950151..6ebb1322 100644 --- a/old_docs/API_docs_v23/constructors/config.md +++ b/old_docs/API_docs_v23/constructors/config.md @@ -32,6 +32,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], 'chat_big_size' => int, 'chat_size_max' => int, 'broadcast_size_max' => int, 'disabled_features' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"chat_big_size":"int","chat_size_max":"int","broadcast_size_max":"int","disabled_features":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contact.md b/old_docs/API_docs_v23/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v23/constructors/contact.md +++ b/old_docs/API_docs_v23/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contactBlocked.md b/old_docs/API_docs_v23/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v23/constructors/contactBlocked.md +++ b/old_docs/API_docs_v23/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contactFound.md b/old_docs/API_docs_v23/constructors/contactFound.md index 0bc886b5..2b164dd9 100644 --- a/old_docs/API_docs_v23/constructors/contactFound.md +++ b/old_docs/API_docs_v23/constructors/contactFound.md @@ -24,6 +24,13 @@ description: contactFound attributes, type and example $contactFound = ['_' => 'contactFound', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactFound","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contactStatus.md b/old_docs/API_docs_v23/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v23/constructors/contactStatus.md +++ b/old_docs/API_docs_v23/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contactSuggested.md b/old_docs/API_docs_v23/constructors/contactSuggested.md index cf53fa55..0508f837 100644 --- a/old_docs/API_docs_v23/constructors/contactSuggested.md +++ b/old_docs/API_docs_v23/constructors/contactSuggested.md @@ -25,6 +25,13 @@ description: contactSuggested attributes, type and example $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_blocked.md b/old_docs/API_docs_v23/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v23/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v23/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v23/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v23/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v23/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_contacts.md b/old_docs/API_docs_v23/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v23/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v23/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v23/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md b/old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md index 11a108a7..3bb92e02 100644 --- a/old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md +++ b/old_docs/API_docs_v23/constructors/contacts_foreignLinkMutual.md @@ -19,6 +19,13 @@ description: contacts_foreignLinkMutual attributes, type and example $contacts_foreignLinkMutual = ['_' => 'contacts.foreignLinkMutual', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.foreignLinkMutual"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md b/old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md index 2bca6789..163db9af 100644 --- a/old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md +++ b/old_docs/API_docs_v23/constructors/contacts_foreignLinkRequested.md @@ -24,6 +24,13 @@ description: contacts_foreignLinkRequested attributes, type and example $contacts_foreignLinkRequested = ['_' => 'contacts.foreignLinkRequested', 'has_phone' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.foreignLinkRequested","has_phone":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md b/old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md index d7a20f4f..c8b8e195 100644 --- a/old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md +++ b/old_docs/API_docs_v23/constructors/contacts_foreignLinkUnknown.md @@ -19,6 +19,13 @@ description: contacts_foreignLinkUnknown attributes, type and example $contacts_foreignLinkUnknown = ['_' => 'contacts.foreignLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.foreignLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_found.md b/old_docs/API_docs_v23/constructors/contacts_found.md index fb0db932..98f22b0e 100644 --- a/old_docs/API_docs_v23/constructors/contacts_found.md +++ b/old_docs/API_docs_v23/constructors/contacts_found.md @@ -25,6 +25,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["ContactFound"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_importedContacts.md b/old_docs/API_docs_v23/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v23/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v23/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_link.md b/old_docs/API_docs_v23/constructors/contacts_link.md index b1246bd2..3c640e31 100644 --- a/old_docs/API_docs_v23/constructors/contacts_link.md +++ b/old_docs/API_docs_v23/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"contacts_MyLink","foreign_link":"contacts_ForeignLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_myLinkContact.md b/old_docs/API_docs_v23/constructors/contacts_myLinkContact.md index b3a0bde3..50553ccd 100644 --- a/old_docs/API_docs_v23/constructors/contacts_myLinkContact.md +++ b/old_docs/API_docs_v23/constructors/contacts_myLinkContact.md @@ -19,6 +19,13 @@ description: contacts_myLinkContact attributes, type and example $contacts_myLinkContact = ['_' => 'contacts.myLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.myLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md b/old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md index de2f68b9..a8fda78f 100644 --- a/old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md +++ b/old_docs/API_docs_v23/constructors/contacts_myLinkEmpty.md @@ -19,6 +19,13 @@ description: contacts_myLinkEmpty attributes, type and example $contacts_myLinkEmpty = ['_' => 'contacts.myLinkEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.myLinkEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md b/old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md index 4990cf5f..88dd915d 100644 --- a/old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md +++ b/old_docs/API_docs_v23/constructors/contacts_myLinkRequested.md @@ -24,6 +24,13 @@ description: contacts_myLinkRequested attributes, type and example $contacts_myLinkRequested = ['_' => 'contacts.myLinkRequested', 'contact' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.myLinkRequested","contact":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/contacts_suggested.md b/old_docs/API_docs_v23/constructors/contacts_suggested.md index 90ff7671..e4dd4100 100644 --- a/old_docs/API_docs_v23/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v23/constructors/contacts_suggested.md @@ -25,6 +25,13 @@ description: contacts_suggested attributes, type and example $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/dcOption.md b/old_docs/API_docs_v23/constructors/dcOption.md index ec71fae3..a6e9a02f 100644 --- a/old_docs/API_docs_v23/constructors/dcOption.md +++ b/old_docs/API_docs_v23/constructors/dcOption.md @@ -27,6 +27,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","id":"int","hostname":"string","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/dialog.md b/old_docs/API_docs_v23/constructors/dialog.md index 7075c9e5..3fc6d971 100644 --- a/old_docs/API_docs_v23/constructors/dialog.md +++ b/old_docs/API_docs_v23/constructors/dialog.md @@ -27,6 +27,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","peer":"Peer","top_message":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/disabledFeature.md b/old_docs/API_docs_v23/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v23/constructors/disabledFeature.md +++ b/old_docs/API_docs_v23/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/document.md b/old_docs/API_docs_v23/constructors/document.md index 7153e5a6..7e3482ad 100644 --- a/old_docs/API_docs_v23/constructors/document.md +++ b/old_docs/API_docs_v23/constructors/document.md @@ -31,6 +31,13 @@ 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, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v23/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/documentAttributeAudio.md b/old_docs/API_docs_v23/constructors/documentAttributeAudio.md index 90a8fc2f..6479c10b 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeAudio.md @@ -24,6 +24,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","duration":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/documentAttributeFilename.md b/old_docs/API_docs_v23/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v23/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/documentAttributeSticker.md b/old_docs/API_docs_v23/constructors/documentAttributeSticker.md index ff3deaac..413ca9fc 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeSticker.md @@ -19,6 +19,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/documentAttributeVideo.md b/old_docs/API_docs_v23/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v23/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v23/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/documentEmpty.md b/old_docs/API_docs_v23/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v23/constructors/documentEmpty.md +++ b/old_docs/API_docs_v23/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/encryptedChat.md b/old_docs/API_docs_v23/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChat.md +++ b/old_docs/API_docs_v23/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v23/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v23/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v23/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v23/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/encryptedChatRequested.md b/old_docs/API_docs_v23/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v23/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v23/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v23/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v23/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/encryptedFile.md b/old_docs/API_docs_v23/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v23/constructors/encryptedFile.md +++ b/old_docs/API_docs_v23/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v23/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v23/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v23/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/encryptedMessage.md b/old_docs/API_docs_v23/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v23/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v23/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/encryptedMessageService.md b/old_docs/API_docs_v23/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v23/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v23/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/error.md b/old_docs/API_docs_v23/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v23/constructors/error.md +++ b/old_docs/API_docs_v23/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/fileLocation.md b/old_docs/API_docs_v23/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v23/constructors/fileLocation.md +++ b/old_docs/API_docs_v23/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v23/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v23/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v23/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/geoPoint.md b/old_docs/API_docs_v23/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v23/constructors/geoPoint.md +++ b/old_docs/API_docs_v23/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/geoPointEmpty.md b/old_docs/API_docs_v23/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v23/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v23/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/help_appUpdate.md b/old_docs/API_docs_v23/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v23/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v23/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/help_inviteText.md b/old_docs/API_docs_v23/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v23/constructors/help_inviteText.md +++ b/old_docs/API_docs_v23/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/help_noAppUpdate.md b/old_docs/API_docs_v23/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v23/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v23/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/help_support.md b/old_docs/API_docs_v23/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v23/constructors/help_support.md +++ b/old_docs/API_docs_v23/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/importedContact.md b/old_docs/API_docs_v23/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v23/constructors/importedContact.md +++ b/old_docs/API_docs_v23/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputAppEvent.md b/old_docs/API_docs_v23/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v23/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v23/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputAudio.md b/old_docs/API_docs_v23/constructors/inputAudio.md index f618b74f..a75e690f 100644 --- a/old_docs/API_docs_v23/constructors/inputAudio.md +++ b/old_docs/API_docs_v23/constructors/inputAudio.md @@ -25,6 +25,13 @@ description: inputAudio attributes, type and example $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudio","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputAudioEmpty.md b/old_docs/API_docs_v23/constructors/inputAudioEmpty.md index f5ca1a6c..4de803d5 100644 --- a/old_docs/API_docs_v23/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputAudioEmpty.md @@ -19,6 +19,13 @@ description: inputAudioEmpty attributes, type and example $inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v23/constructors/inputAudioFileLocation.md index 8624b224..25650826 100644 --- a/old_docs/API_docs_v23/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputAudioFileLocation.md @@ -25,6 +25,13 @@ description: inputAudioFileLocation attributes, type and example $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputChatPhoto.md b/old_docs/API_docs_v23/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v23/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v23/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v23/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v23/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v23/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputDocument.md b/old_docs/API_docs_v23/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v23/constructors/inputDocument.md +++ b/old_docs/API_docs_v23/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v23/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v23/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v23/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v23/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputEncryptedChat.md b/old_docs/API_docs_v23/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputEncryptedFile.md b/old_docs/API_docs_v23/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v23/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v23/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v23/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v23/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v23/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v23/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputFile.md b/old_docs/API_docs_v23/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v23/constructors/inputFile.md +++ b/old_docs/API_docs_v23/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputFileBig.md b/old_docs/API_docs_v23/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v23/constructors/inputFileBig.md +++ b/old_docs/API_docs_v23/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputFileLocation.md b/old_docs/API_docs_v23/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v23/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputGeoPoint.md b/old_docs/API_docs_v23/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v23/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v23/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v23/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v23/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMediaAudio.md b/old_docs/API_docs_v23/constructors/inputMediaAudio.md index 6f477b8b..0c83afd5 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v23/constructors/inputMediaAudio.md @@ -24,6 +24,13 @@ description: inputMediaAudio attributes, type and example $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaAudio","id":"InputAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMediaContact.md b/old_docs/API_docs_v23/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v23/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMediaDocument.md b/old_docs/API_docs_v23/constructors/inputMediaDocument.md index 2aa74093..231c733f 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v23/constructors/inputMediaDocument.md @@ -24,6 +24,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMediaEmpty.md b/old_docs/API_docs_v23/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v23/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v23/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMediaPhoto.md b/old_docs/API_docs_v23/constructors/inputMediaPhoto.md index 5430b0c0..9746ce43 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputMediaPhoto.md @@ -24,6 +24,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v23/constructors/inputMediaUploadedAudio.md index ad427e4f..e3298757 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedAudio.md @@ -26,6 +26,13 @@ description: inputMediaUploadedAudio attributes, type and example $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v23/constructors/inputMediaUploadedDocument.md index 7afb9494..d36bed64 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedDocument.md @@ -26,6 +26,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v23/constructors/inputMediaUploadedPhoto.md index 7618adbc..4b7ac5a3 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedPhoto.md @@ -24,6 +24,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbDocument.md index 6711d93a..843b4415 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbVideo.md index 61d02a02..ef54d767 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedThumbVideo.md @@ -29,6 +29,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v23/constructors/inputMediaUploadedVideo.md index d75d5795..bdd5527a 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMediaUploadedVideo.md @@ -28,6 +28,13 @@ description: inputMediaUploadedVideo attributes, type and example $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMediaVideo.md b/old_docs/API_docs_v23/constructors/inputMediaVideo.md index 75058665..07251b4a 100644 --- a/old_docs/API_docs_v23/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMediaVideo.md @@ -24,6 +24,13 @@ description: inputMediaVideo attributes, type and example $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVideo","id":"InputVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterAudio.md index c326c700..2c8e29fe 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterAudio.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudio attributes, type and example $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md index 9d6d7b67..8b876e5e 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudioDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterGif.md index 02da8091..31be8767 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterGif.md @@ -19,6 +19,13 @@ description: inputMessagesFilterGif attributes, type and example $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v23/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v23/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v23/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputNotifyAll.md b/old_docs/API_docs_v23/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v23/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v23/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputNotifyChats.md b/old_docs/API_docs_v23/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v23/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v23/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputNotifyPeer.md b/old_docs/API_docs_v23/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v23/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v23/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputNotifyUsers.md b/old_docs/API_docs_v23/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v23/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v23/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPeerChat.md b/old_docs/API_docs_v23/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v23/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPeerContact.md b/old_docs/API_docs_v23/constructors/inputPeerContact.md index c469f6f5..88d5488b 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerContact.md +++ b/old_docs/API_docs_v23/constructors/inputPeerContact.md @@ -24,6 +24,13 @@ description: inputPeerContact attributes, type and example $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerContact","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPeerEmpty.md b/old_docs/API_docs_v23/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPeerForeign.md b/old_docs/API_docs_v23/constructors/inputPeerForeign.md index 700743ce..003416ba 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerForeign.md +++ b/old_docs/API_docs_v23/constructors/inputPeerForeign.md @@ -25,6 +25,13 @@ description: inputPeerForeign attributes, type and example $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerForeign","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v23/constructors/inputPeerNotifySettings.md index d4c26a38..4881d26e 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v23/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPeerSelf.md b/old_docs/API_docs_v23/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v23/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v23/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPhoneContact.md b/old_docs/API_docs_v23/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v23/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v23/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPhoto.md b/old_docs/API_docs_v23/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v23/constructors/inputPhoto.md +++ b/old_docs/API_docs_v23/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPhotoCrop.md b/old_docs/API_docs_v23/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v23/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v23/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v23/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v23/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v23/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v23/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v23/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputReportReasonOther.md b/old_docs/API_docs_v23/constructors/inputReportReasonOther.md index 547711c4..ffd351a0 100644 --- a/old_docs/API_docs_v23/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v23/constructors/inputReportReasonOther.md @@ -24,6 +24,13 @@ description: inputReportReasonOther attributes, type and example $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonOther","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v23/constructors/inputReportReasonPornography.md index f73c6f4d..866d691c 100644 --- a/old_docs/API_docs_v23/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v23/constructors/inputReportReasonPornography.md @@ -19,6 +19,13 @@ description: inputReportReasonPornography attributes, type and example $inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonPornography"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v23/constructors/inputReportReasonSpam.md index ea2a9257..4cf6f414 100644 --- a/old_docs/API_docs_v23/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v23/constructors/inputReportReasonSpam.md @@ -19,6 +19,13 @@ description: inputReportReasonSpam attributes, type and example $inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonSpam"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v23/constructors/inputReportReasonViolence.md index 18a2ba4c..f2046d6e 100644 --- a/old_docs/API_docs_v23/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v23/constructors/inputReportReasonViolence.md @@ -19,6 +19,13 @@ description: inputReportReasonViolence attributes, type and example $inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonViolence"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputUserContact.md b/old_docs/API_docs_v23/constructors/inputUserContact.md index 40b2235a..c2b1f85c 100644 --- a/old_docs/API_docs_v23/constructors/inputUserContact.md +++ b/old_docs/API_docs_v23/constructors/inputUserContact.md @@ -24,6 +24,13 @@ description: inputUserContact attributes, type and example $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserContact","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputUserEmpty.md b/old_docs/API_docs_v23/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v23/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputUserForeign.md b/old_docs/API_docs_v23/constructors/inputUserForeign.md index 8915ad79..1c4b6331 100644 --- a/old_docs/API_docs_v23/constructors/inputUserForeign.md +++ b/old_docs/API_docs_v23/constructors/inputUserForeign.md @@ -25,6 +25,13 @@ description: inputUserForeign attributes, type and example $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserForeign","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputUserSelf.md b/old_docs/API_docs_v23/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v23/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v23/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputVideo.md b/old_docs/API_docs_v23/constructors/inputVideo.md index 79d5a034..e6dc5b1f 100644 --- a/old_docs/API_docs_v23/constructors/inputVideo.md +++ b/old_docs/API_docs_v23/constructors/inputVideo.md @@ -25,6 +25,13 @@ description: inputVideo attributes, type and example $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideo","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputVideoEmpty.md b/old_docs/API_docs_v23/constructors/inputVideoEmpty.md index d1f4e1ec..072ace8d 100644 --- a/old_docs/API_docs_v23/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v23/constructors/inputVideoEmpty.md @@ -19,6 +19,13 @@ description: inputVideoEmpty attributes, type and example $inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v23/constructors/inputVideoFileLocation.md index 2ae12a5c..f4c6646e 100644 --- a/old_docs/API_docs_v23/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v23/constructors/inputVideoFileLocation.md @@ -25,6 +25,13 @@ description: inputVideoFileLocation attributes, type and example $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/message.md b/old_docs/API_docs_v23/constructors/message.md index a6da566d..99705c7a 100644 --- a/old_docs/API_docs_v23/constructors/message.md +++ b/old_docs/API_docs_v23/constructors/message.md @@ -29,6 +29,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","id":"int","from_id":"int","to_id":"Peer","date":"int","message":"string","media":"MessageMedia"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v23/constructors/messageActionChatAddUser.md index 34fd5bd6..ee6711dd 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageActionChatCreate.md b/old_docs/API_docs_v23/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v23/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v23/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v23/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v23/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v23/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v23/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageActionEmpty.md b/old_docs/API_docs_v23/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v23/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v23/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageEmpty.md b/old_docs/API_docs_v23/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v23/constructors/messageEmpty.md +++ b/old_docs/API_docs_v23/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageForwarded.md b/old_docs/API_docs_v23/constructors/messageForwarded.md index 1df7262e..c524f5d7 100644 --- a/old_docs/API_docs_v23/constructors/messageForwarded.md +++ b/old_docs/API_docs_v23/constructors/messageForwarded.md @@ -31,6 +31,13 @@ description: messageForwarded attributes, type and example $messageForwarded = ['_' => 'messageForwarded', 'id' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageForwarded","id":"int","fwd_from_id":"int","fwd_date":"int","from_id":"int","to_id":"Peer","date":"int","message":"string","media":"MessageMedia"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageMediaAudio.md b/old_docs/API_docs_v23/constructors/messageMediaAudio.md index 0bc53b5e..24ca7823 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v23/constructors/messageMediaAudio.md @@ -24,6 +24,13 @@ description: messageMediaAudio attributes, type and example $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaAudio","audio":"Audio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageMediaContact.md b/old_docs/API_docs_v23/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v23/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageMediaDocument.md b/old_docs/API_docs_v23/constructors/messageMediaDocument.md index 3d50d4ab..ec51032e 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v23/constructors/messageMediaDocument.md @@ -24,6 +24,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageMediaEmpty.md b/old_docs/API_docs_v23/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v23/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageMediaGeo.md b/old_docs/API_docs_v23/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v23/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageMediaPhoto.md b/old_docs/API_docs_v23/constructors/messageMediaPhoto.md index 82ac8b91..779e2d18 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v23/constructors/messageMediaPhoto.md @@ -24,6 +24,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v23/constructors/messageMediaUnsupported.md index ccbd98d4..cc9658b9 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v23/constructors/messageMediaUnsupported.md @@ -24,6 +24,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageMediaVideo.md b/old_docs/API_docs_v23/constructors/messageMediaVideo.md index 8c3c8305..344e27a9 100644 --- a/old_docs/API_docs_v23/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v23/constructors/messageMediaVideo.md @@ -24,6 +24,13 @@ description: messageMediaVideo attributes, type and example $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVideo","video":"Video"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messageService.md b/old_docs/API_docs_v23/constructors/messageService.md index fab2a256..28c8207f 100644 --- a/old_docs/API_docs_v23/constructors/messageService.md +++ b/old_docs/API_docs_v23/constructors/messageService.md @@ -28,6 +28,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_affectedHistory.md b/old_docs/API_docs_v23/constructors/messages_affectedHistory.md index 537632fa..b6ca6fcc 100644 --- a/old_docs/API_docs_v23/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v23/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","seq":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_allStickers.md b/old_docs/API_docs_v23/constructors/messages_allStickers.md index bc9ee93f..7fc711c1 100644 --- a/old_docs/API_docs_v23/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v23/constructors/messages_allStickers.md @@ -26,6 +26,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"string","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v23/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_chatFull.md b/old_docs/API_docs_v23/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v23/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v23/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_chats.md b/old_docs/API_docs_v23/constructors/messages_chats.md index f1445df8..899edd62 100644 --- a/old_docs/API_docs_v23/constructors/messages_chats.md +++ b/old_docs/API_docs_v23/constructors/messages_chats.md @@ -25,6 +25,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_dhConfig.md b/old_docs/API_docs_v23/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v23/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v23/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v23/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_dialogs.md b/old_docs/API_docs_v23/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v23/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v23/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v23/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v23/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v23/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_messages.md b/old_docs/API_docs_v23/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v23/constructors/messages_messages.md +++ b/old_docs/API_docs_v23/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_messagesSlice.md b/old_docs/API_docs_v23/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v23/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v23/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v23/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v23/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_sentMessage.md b/old_docs/API_docs_v23/constructors/messages_sentMessage.md index 8999e472..b0e96329 100644 --- a/old_docs/API_docs_v23/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v23/constructors/messages_sentMessage.md @@ -27,6 +27,13 @@ description: messages_sentMessage attributes, type and example $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentMessage","id":"int","date":"int","pts":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md index 1c31f100..944bc8bc 100644 --- a/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md @@ -28,6 +28,13 @@ description: messages_sentMessageLink attributes, type and example $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts_Link], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentMessageLink","id":"int","date":"int","pts":"int","seq":"int","links":["contacts_Link"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessage.md b/old_docs/API_docs_v23/constructors/messages_statedMessage.md index 94782445..a66a7a3e 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessage.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessage.md @@ -28,6 +28,13 @@ description: messages_statedMessage attributes, type and example $messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.statedMessage","message":"Message","chats":["Chat"],"users":["User"],"pts":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md b/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md index 8cec2c87..3d3313e7 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md @@ -29,6 +29,13 @@ description: messages_statedMessageLink attributes, type and example $messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.statedMessageLink","message":"Message","chats":["Chat"],"users":["User"],"links":["contacts_Link"],"pts":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessages.md b/old_docs/API_docs_v23/constructors/messages_statedMessages.md index d114b414..782fb694 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessages.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessages.md @@ -28,6 +28,13 @@ description: messages_statedMessages attributes, type and example $messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.statedMessages","messages":["Message"],"chats":["Chat"],"users":["User"],"pts":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md b/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md index 970936c9..436865f3 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md @@ -29,6 +29,13 @@ description: messages_statedMessagesLinks attributes, type and example $messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.statedMessagesLinks","messages":["Message"],"chats":["Chat"],"users":["User"],"links":["contacts_Link"],"pts":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_stickers.md b/old_docs/API_docs_v23/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v23/constructors/messages_stickers.md +++ b/old_docs/API_docs_v23/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v23/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v23/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v23/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/nearestDc.md b/old_docs/API_docs_v23/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v23/constructors/nearestDc.md +++ b/old_docs/API_docs_v23/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/notifyAll.md b/old_docs/API_docs_v23/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v23/constructors/notifyAll.md +++ b/old_docs/API_docs_v23/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/notifyChats.md b/old_docs/API_docs_v23/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v23/constructors/notifyChats.md +++ b/old_docs/API_docs_v23/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/notifyPeer.md b/old_docs/API_docs_v23/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v23/constructors/notifyPeer.md +++ b/old_docs/API_docs_v23/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/notifyUsers.md b/old_docs/API_docs_v23/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v23/constructors/notifyUsers.md +++ b/old_docs/API_docs_v23/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/peerChat.md b/old_docs/API_docs_v23/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v23/constructors/peerChat.md +++ b/old_docs/API_docs_v23/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v23/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v23/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v23/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v23/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v23/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v23/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/peerNotifySettings.md b/old_docs/API_docs_v23/constructors/peerNotifySettings.md index f6dc6c35..d0659143 100644 --- a/old_docs/API_docs_v23/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v23/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v23/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v23/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v23/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/peerUser.md b/old_docs/API_docs_v23/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v23/constructors/peerUser.md +++ b/old_docs/API_docs_v23/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/photo.md b/old_docs/API_docs_v23/constructors/photo.md index ca520fe8..c9d756b7 100644 --- a/old_docs/API_docs_v23/constructors/photo.md +++ b/old_docs/API_docs_v23/constructors/photo.md @@ -30,6 +30,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","user_id":"int","date":"int","caption":"string","geo":"GeoPoint","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/photoCachedSize.md b/old_docs/API_docs_v23/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v23/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v23/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/photoEmpty.md b/old_docs/API_docs_v23/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v23/constructors/photoEmpty.md +++ b/old_docs/API_docs_v23/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/photoSize.md b/old_docs/API_docs_v23/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v23/constructors/photoSize.md +++ b/old_docs/API_docs_v23/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/photoSizeEmpty.md b/old_docs/API_docs_v23/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v23/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v23/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/photos_photo.md b/old_docs/API_docs_v23/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v23/constructors/photos_photo.md +++ b/old_docs/API_docs_v23/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/photos_photos.md b/old_docs/API_docs_v23/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v23/constructors/photos_photos.md +++ b/old_docs/API_docs_v23/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/photos_photosSlice.md b/old_docs/API_docs_v23/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v23/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v23/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v23/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v23/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v23/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v23/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v23/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v23/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v23/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v23/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v23/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v23/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v23/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v23/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v23/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v23/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v23/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v23/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v23/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v23/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v23/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v23/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v23/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v23/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v23/constructors/sendMessageUploadAudioAction.md index bf7d459f..555007a0 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageUploadAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v23/constructors/sendMessageUploadDocumentAction.md index d9b187a0..a9f731b2 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageUploadDocumentAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v23/constructors/sendMessageUploadPhotoAction.md index bec5fe3b..0fb5a157 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageUploadPhotoAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v23/constructors/sendMessageUploadVideoAction.md index 75cf8a97..9d6684e0 100644 --- a/old_docs/API_docs_v23/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v23/constructors/sendMessageUploadVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/stickerPack.md b/old_docs/API_docs_v23/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v23/constructors/stickerPack.md +++ b/old_docs/API_docs_v23/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/storage_fileGif.md b/old_docs/API_docs_v23/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v23/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/storage_fileJpeg.md b/old_docs/API_docs_v23/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v23/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/storage_fileMov.md b/old_docs/API_docs_v23/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v23/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/storage_fileMp3.md b/old_docs/API_docs_v23/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v23/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/storage_fileMp4.md b/old_docs/API_docs_v23/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v23/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/storage_filePartial.md b/old_docs/API_docs_v23/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v23/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v23/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/storage_filePdf.md b/old_docs/API_docs_v23/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v23/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v23/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/storage_filePng.md b/old_docs/API_docs_v23/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v23/constructors/storage_filePng.md +++ b/old_docs/API_docs_v23/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/storage_fileUnknown.md b/old_docs/API_docs_v23/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v23/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/storage_fileWebp.md b/old_docs/API_docs_v23/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v23/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v23/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/true.md b/old_docs/API_docs_v23/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v23/constructors/true.md +++ b/old_docs/API_docs_v23/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v23/constructors/updateChatParticipantAdd.md index 98f198f7..7acee0ac 100644 --- a/old_docs/API_docs_v23/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v23/constructors/updateChatParticipantAdd.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v23/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v23/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v23/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateChatParticipants.md b/old_docs/API_docs_v23/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v23/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v23/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateChatUserTyping.md b/old_docs/API_docs_v23/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v23/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v23/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateContactLink.md b/old_docs/API_docs_v23/constructors/updateContactLink.md index c805df1a..9314cdcb 100644 --- a/old_docs/API_docs_v23/constructors/updateContactLink.md +++ b/old_docs/API_docs_v23/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"contacts_MyLink","foreign_link":"contacts_ForeignLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateContactRegistered.md b/old_docs/API_docs_v23/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v23/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v23/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateDcOptions.md b/old_docs/API_docs_v23/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v23/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v23/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateDeleteMessages.md b/old_docs/API_docs_v23/constructors/updateDeleteMessages.md index c463b1cb..fdeb65a8 100644 --- a/old_docs/API_docs_v23/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v23/constructors/updateDeleteMessages.md @@ -25,6 +25,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v23/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v23/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v23/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v23/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v23/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v23/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateEncryption.md b/old_docs/API_docs_v23/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v23/constructors/updateEncryption.md +++ b/old_docs/API_docs_v23/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateMessageID.md b/old_docs/API_docs_v23/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v23/constructors/updateMessageID.md +++ b/old_docs/API_docs_v23/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateNewAuthorization.md b/old_docs/API_docs_v23/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v23/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v23/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v23/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v23/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v23/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateNewMessage.md b/old_docs/API_docs_v23/constructors/updateNewMessage.md index 755a3363..a152190d 100644 --- a/old_docs/API_docs_v23/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v23/constructors/updateNewMessage.md @@ -25,6 +25,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateNotifySettings.md b/old_docs/API_docs_v23/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v23/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v23/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updatePrivacy.md b/old_docs/API_docs_v23/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v23/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v23/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateReadMessages.md b/old_docs/API_docs_v23/constructors/updateReadMessages.md index 5c4a7194..de6b7f2e 100644 --- a/old_docs/API_docs_v23/constructors/updateReadMessages.md +++ b/old_docs/API_docs_v23/constructors/updateReadMessages.md @@ -25,6 +25,13 @@ description: updateReadMessages attributes, type and example $updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int], 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessages","messages":["int"],"pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateServiceNotification.md b/old_docs/API_docs_v23/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v23/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v23/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateShort.md b/old_docs/API_docs_v23/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v23/constructors/updateShort.md +++ b/old_docs/API_docs_v23/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateShortChatMessage.md b/old_docs/API_docs_v23/constructors/updateShortChatMessage.md index 06f936f7..899dca5e 100644 --- a/old_docs/API_docs_v23/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v23/constructors/updateShortChatMessage.md @@ -30,6 +30,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","id":"int","from_id":"int","chat_id":"int","message":"string","pts":"int","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateShortMessage.md b/old_docs/API_docs_v23/constructors/updateShortMessage.md index b348f7f8..54d61720 100644 --- a/old_docs/API_docs_v23/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v23/constructors/updateShortMessage.md @@ -29,6 +29,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'from_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","id":"int","from_id":"int","message":"string","pts":"int","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateUserBlocked.md b/old_docs/API_docs_v23/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v23/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v23/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateUserName.md b/old_docs/API_docs_v23/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v23/constructors/updateUserName.md +++ b/old_docs/API_docs_v23/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateUserPhone.md b/old_docs/API_docs_v23/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v23/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v23/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateUserPhoto.md b/old_docs/API_docs_v23/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v23/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v23/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateUserStatus.md b/old_docs/API_docs_v23/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v23/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v23/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updateUserTyping.md b/old_docs/API_docs_v23/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v23/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v23/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updates.md b/old_docs/API_docs_v23/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v23/constructors/updates.md +++ b/old_docs/API_docs_v23/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updatesCombined.md b/old_docs/API_docs_v23/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v23/constructors/updatesCombined.md +++ b/old_docs/API_docs_v23/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updatesTooLong.md b/old_docs/API_docs_v23/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v23/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v23/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updates_difference.md b/old_docs/API_docs_v23/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v23/constructors/updates_difference.md +++ b/old_docs/API_docs_v23/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v23/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v23/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v23/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updates_differenceSlice.md b/old_docs/API_docs_v23/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v23/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v23/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/updates_state.md b/old_docs/API_docs_v23/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v23/constructors/updates_state.md +++ b/old_docs/API_docs_v23/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/upload_file.md b/old_docs/API_docs_v23/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v23/constructors/upload_file.md +++ b/old_docs/API_docs_v23/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userContact.md b/old_docs/API_docs_v23/constructors/userContact.md index a336aa50..30c1fdd9 100644 --- a/old_docs/API_docs_v23/constructors/userContact.md +++ b/old_docs/API_docs_v23/constructors/userContact.md @@ -31,6 +31,13 @@ description: userContact attributes, type and example $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userContact","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userDeleted.md b/old_docs/API_docs_v23/constructors/userDeleted.md index 3174753a..9fcd1e83 100644 --- a/old_docs/API_docs_v23/constructors/userDeleted.md +++ b/old_docs/API_docs_v23/constructors/userDeleted.md @@ -27,6 +27,13 @@ description: userDeleted attributes, type and example $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userDeleted","id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userEmpty.md b/old_docs/API_docs_v23/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v23/constructors/userEmpty.md +++ b/old_docs/API_docs_v23/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userForeign.md b/old_docs/API_docs_v23/constructors/userForeign.md index 3516e956..810cce6a 100644 --- a/old_docs/API_docs_v23/constructors/userForeign.md +++ b/old_docs/API_docs_v23/constructors/userForeign.md @@ -30,6 +30,13 @@ description: userForeign attributes, type and example $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userForeign","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userFull.md b/old_docs/API_docs_v23/constructors/userFull.md index a53b7889..fc5ce2d1 100644 --- a/old_docs/API_docs_v23/constructors/userFull.md +++ b/old_docs/API_docs_v23/constructors/userFull.md @@ -30,6 +30,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","real_first_name":"string","real_last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userProfilePhoto.md b/old_docs/API_docs_v23/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v23/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v23/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v23/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v23/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v23/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userRequest.md b/old_docs/API_docs_v23/constructors/userRequest.md index 389f70cc..948ff515 100644 --- a/old_docs/API_docs_v23/constructors/userRequest.md +++ b/old_docs/API_docs_v23/constructors/userRequest.md @@ -31,6 +31,13 @@ description: userRequest attributes, type and example $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userRequest","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userSelf.md b/old_docs/API_docs_v23/constructors/userSelf.md index a1ae2ec6..e0de616c 100644 --- a/old_docs/API_docs_v23/constructors/userSelf.md +++ b/old_docs/API_docs_v23/constructors/userSelf.md @@ -31,6 +31,13 @@ description: userSelf attributes, type and example $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userSelf","id":"int","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus","inactive":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userStatusEmpty.md b/old_docs/API_docs_v23/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v23/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v23/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userStatusLastMonth.md b/old_docs/API_docs_v23/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v23/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v23/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userStatusLastWeek.md b/old_docs/API_docs_v23/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v23/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v23/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userStatusOffline.md b/old_docs/API_docs_v23/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v23/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v23/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userStatusOnline.md b/old_docs/API_docs_v23/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v23/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v23/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/userStatusRecently.md b/old_docs/API_docs_v23/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v23/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v23/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/vector.md b/old_docs/API_docs_v23/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v23/constructors/vector.md +++ b/old_docs/API_docs_v23/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/video.md b/old_docs/API_docs_v23/constructors/video.md index 4dd57d8b..0654783d 100644 --- a/old_docs/API_docs_v23/constructors/video.md +++ b/old_docs/API_docs_v23/constructors/video.md @@ -35,6 +35,13 @@ description: video attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/videoEmpty.md b/old_docs/API_docs_v23/constructors/videoEmpty.md index 74b18d58..d5d10973 100644 --- a/old_docs/API_docs_v23/constructors/videoEmpty.md +++ b/old_docs/API_docs_v23/constructors/videoEmpty.md @@ -24,6 +24,13 @@ description: videoEmpty attributes, type and example $videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"videoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/wallPaper.md b/old_docs/API_docs_v23/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v23/constructors/wallPaper.md +++ b/old_docs/API_docs_v23/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/constructors/wallPaperSolid.md b/old_docs/API_docs_v23/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v23/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v23/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/methods/account_changePhone.md b/old_docs/API_docs_v23/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v23/methods/account_changePhone.md +++ b/old_docs/API_docs_v23/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_checkUsername.md b/old_docs/API_docs_v23/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v23/methods/account_checkUsername.md +++ b/old_docs/API_docs_v23/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_deleteAccount.md b/old_docs/API_docs_v23/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v23/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v23/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_getAccountTTL.md b/old_docs/API_docs_v23/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v23/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v23/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/methods/account_getNotifySettings.md b/old_docs/API_docs_v23/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v23/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_getPrivacy.md b/old_docs/API_docs_v23/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v23/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v23/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_getWallPapers.md b/old_docs/API_docs_v23/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v23/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v23/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/methods/account_registerDevice.md b/old_docs/API_docs_v23/methods/account_registerDevice.md index 746ac76d..c786c6a8 100644 --- a/old_docs/API_docs_v23/methods/account_registerDevice.md +++ b/old_docs/API_docs_v23/methods/account_registerDevice.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +app_sandbox - Json encoded Bool +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_reportPeer.md b/old_docs/API_docs_v23/methods/account_reportPeer.md index 019e88a5..08c8d0d5 100644 --- a/old_docs/API_docs_v23/methods/account_reportPeer.md +++ b/old_docs/API_docs_v23/methods/account_reportPeer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.reportPeer +* params - {"peer":"InputPeer","reason":"ReportReason"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.reportPeer` + +Parameters: + +peer - Json encoded InputPeer +reason - Json encoded ReportReason + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_resetNotifySettings.md b/old_docs/API_docs_v23/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v23/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md index 002dc1ab..605bcaa3 100644 --- a/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v23/methods/account_sendChangePhoneCode.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_setAccountTTL.md b/old_docs/API_docs_v23/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v23/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v23/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_setPrivacy.md b/old_docs/API_docs_v23/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v23/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v23/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_unregisterDevice.md b/old_docs/API_docs_v23/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v23/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v23/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v23/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_updateNotifySettings.md b/old_docs/API_docs_v23/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v23/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v23/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_updateProfile.md b/old_docs/API_docs_v23/methods/account_updateProfile.md index 6e8891d0..bf1c3b8f 100644 --- a/old_docs/API_docs_v23/methods/account_updateProfile.md +++ b/old_docs/API_docs_v23/methods/account_updateProfile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_updateStatus.md b/old_docs/API_docs_v23/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v23/methods/account_updateStatus.md +++ b/old_docs/API_docs_v23/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/account_updateUsername.md b/old_docs/API_docs_v23/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v23/methods/account_updateUsername.md +++ b/old_docs/API_docs_v23/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v23/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/auth_checkPhone.md b/old_docs/API_docs_v23/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v23/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v23/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/auth_exportAuthorization.md b/old_docs/API_docs_v23/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v23/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v23/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/auth_importAuthorization.md b/old_docs/API_docs_v23/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v23/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v23/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/auth_logOut.md b/old_docs/API_docs_v23/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v23/methods/auth_logOut.md +++ b/old_docs/API_docs_v23/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v23/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/methods/auth_sendCall.md b/old_docs/API_docs_v23/methods/auth_sendCall.md index 9e50a03d..08b4d1d4 100644 --- a/old_docs/API_docs_v23/methods/auth_sendCall.md +++ b/old_docs/API_docs_v23/methods/auth_sendCall.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCall +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCall` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/auth_sendCode.md b/old_docs/API_docs_v23/methods/auth_sendCode.md index 6896bc05..a9009e4b 100644 --- a/old_docs/API_docs_v23/methods/auth_sendCode.md +++ b/old_docs/API_docs_v23/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +phone_number - Json encoded string +sms_type - Json encoded int +api_id - Json encoded int +api_hash - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/auth_sendInvites.md b/old_docs/API_docs_v23/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v23/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v23/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/auth_sendSms.md b/old_docs/API_docs_v23/methods/auth_sendSms.md index 3653ccdd..5e62431c 100644 --- a/old_docs/API_docs_v23/methods/auth_sendSms.md +++ b/old_docs/API_docs_v23/methods/auth_sendSms.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendSms +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendSms` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/auth_signIn.md b/old_docs/API_docs_v23/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v23/methods/auth_signIn.md +++ b/old_docs/API_docs_v23/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/auth_signUp.md b/old_docs/API_docs_v23/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v23/methods/auth_signUp.md +++ b/old_docs/API_docs_v23/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/contacts_block.md b/old_docs/API_docs_v23/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v23/methods/contacts_block.md +++ b/old_docs/API_docs_v23/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/contacts_deleteContact.md b/old_docs/API_docs_v23/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v23/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v23/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/contacts_deleteContacts.md b/old_docs/API_docs_v23/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v23/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/contacts_exportCard.md b/old_docs/API_docs_v23/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v23/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v23/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/methods/contacts_getBlocked.md b/old_docs/API_docs_v23/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v23/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v23/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/contacts_getContacts.md b/old_docs/API_docs_v23/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v23/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/contacts_getStatuses.md b/old_docs/API_docs_v23/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v23/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v23/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/methods/contacts_getSuggested.md b/old_docs/API_docs_v23/methods/contacts_getSuggested.md index 1c9a532d..66e4c1b3 100644 --- a/old_docs/API_docs_v23/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v23/methods/contacts_getSuggested.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getSuggested +* params - {"limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getSuggested` + +Parameters: + +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/contacts_importCard.md b/old_docs/API_docs_v23/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v23/methods/contacts_importCard.md +++ b/old_docs/API_docs_v23/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/contacts_importContacts.md b/old_docs/API_docs_v23/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v23/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v23/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/contacts_resolveUsername.md b/old_docs/API_docs_v23/methods/contacts_resolveUsername.md index b9880602..06cce35c 100644 --- a/old_docs/API_docs_v23/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v23/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/contacts_search.md b/old_docs/API_docs_v23/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v23/methods/contacts_search.md +++ b/old_docs/API_docs_v23/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/contacts_unblock.md b/old_docs/API_docs_v23/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v23/methods/contacts_unblock.md +++ b/old_docs/API_docs_v23/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/help_getAppUpdate.md b/old_docs/API_docs_v23/methods/help_getAppUpdate.md index b52e83e8..58430792 100644 --- a/old_docs/API_docs_v23/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v23/methods/help_getAppUpdate.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/help_getConfig.md b/old_docs/API_docs_v23/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v23/methods/help_getConfig.md +++ b/old_docs/API_docs_v23/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/methods/help_getInviteText.md b/old_docs/API_docs_v23/methods/help_getInviteText.md index 2d9c4653..ec75a17f 100644 --- a/old_docs/API_docs_v23/methods/help_getInviteText.md +++ b/old_docs/API_docs_v23/methods/help_getInviteText.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/help_getNearestDc.md b/old_docs/API_docs_v23/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v23/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v23/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/methods/help_getSupport.md b/old_docs/API_docs_v23/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v23/methods/help_getSupport.md +++ b/old_docs/API_docs_v23/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/methods/help_saveAppLog.md b/old_docs/API_docs_v23/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v23/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v23/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/initConnection.md b/old_docs/API_docs_v23/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v23/methods/initConnection.md +++ b/old_docs/API_docs_v23/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/invokeAfterMsg.md b/old_docs/API_docs_v23/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v23/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v23/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/invokeAfterMsgs.md b/old_docs/API_docs_v23/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v23/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v23/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/invokeWithLayer.md b/old_docs/API_docs_v23/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v23/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v23/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_acceptEncryption.md b/old_docs/API_docs_v23/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v23/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v23/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_addChatUser.md b/old_docs/API_docs_v23/methods/messages_addChatUser.md index 27d3e9e4..2fbe221b 100644 --- a/old_docs/API_docs_v23/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v23/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_createChat.md b/old_docs/API_docs_v23/methods/messages_createChat.md index e38f22d1..9eb4b9db 100644 --- a/old_docs/API_docs_v23/methods/messages_createChat.md +++ b/old_docs/API_docs_v23/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_deleteChatUser.md b/old_docs/API_docs_v23/methods/messages_deleteChatUser.md index fca941c5..b5241a5a 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v23/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_deleteHistory.md b/old_docs/API_docs_v23/methods/messages_deleteHistory.md index 50cb66a0..1182a891 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v23/methods/messages_deleteHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"peer":"InputPeer","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +peer - Json encoded InputPeer +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_deleteMessages.md b/old_docs/API_docs_v23/methods/messages_deleteMessages.md index 304739e6..e35980f0 100644 --- a/old_docs/API_docs_v23/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v23/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_discardEncryption.md b/old_docs/API_docs_v23/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v23/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v23/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_editChatPhoto.md b/old_docs/API_docs_v23/methods/messages_editChatPhoto.md index 8059f2c6..dce891c9 100644 --- a/old_docs/API_docs_v23/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v23/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_editChatTitle.md b/old_docs/API_docs_v23/methods/messages_editChatTitle.md index 57df4da0..204a61ef 100644 --- a/old_docs/API_docs_v23/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v23/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_forwardMessage.md b/old_docs/API_docs_v23/methods/messages_forwardMessage.md index b4458464..b1b12d62 100644 --- a/old_docs/API_docs_v23/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v23/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_forwardMessages.md b/old_docs/API_docs_v23/methods/messages_forwardMessages.md index bd6a9875..a3226dc8 100644 --- a/old_docs/API_docs_v23/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v23/methods/messages_forwardMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"peer":"InputPeer","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_getAllStickers.md b/old_docs/API_docs_v23/methods/messages_getAllStickers.md index 91961b0e..35ba6f74 100644 --- a/old_docs/API_docs_v23/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v23/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_getChats.md b/old_docs/API_docs_v23/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v23/methods/messages_getChats.md +++ b/old_docs/API_docs_v23/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_getDhConfig.md b/old_docs/API_docs_v23/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v23/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v23/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_getDialogs.md b/old_docs/API_docs_v23/methods/messages_getDialogs.md index f929de3b..bb46805d 100644 --- a/old_docs/API_docs_v23/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v23/methods/messages_getDialogs.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_getFullChat.md b/old_docs/API_docs_v23/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v23/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v23/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_getHistory.md b/old_docs/API_docs_v23/methods/messages_getHistory.md index c7cf0b9b..e0d42140 100644 --- a/old_docs/API_docs_v23/methods/messages_getHistory.md +++ b/old_docs/API_docs_v23/methods/messages_getHistory.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_getMessages.md b/old_docs/API_docs_v23/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v23/methods/messages_getMessages.md +++ b/old_docs/API_docs_v23/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_getStickers.md b/old_docs/API_docs_v23/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v23/methods/messages_getStickers.md +++ b/old_docs/API_docs_v23/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v23/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_readHistory.md b/old_docs/API_docs_v23/methods/messages_readHistory.md index 343ce060..98efdca3 100644 --- a/old_docs/API_docs_v23/methods/messages_readHistory.md +++ b/old_docs/API_docs_v23/methods/messages_readHistory.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, 'read_contents' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int","offset":"int","read_contents":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int +offset - Json encoded int +read_contents - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_readMessageContents.md b/old_docs/API_docs_v23/methods/messages_readMessageContents.md index 4dc6e901..4777d38c 100644 --- a/old_docs/API_docs_v23/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v23/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_receivedMessages.md b/old_docs/API_docs_v23/methods/messages_receivedMessages.md index 19e8313b..7384bbb3 100644 --- a/old_docs/API_docs_v23/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v23/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_receivedQueue.md b/old_docs/API_docs_v23/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v23/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v23/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_reportSpam.md b/old_docs/API_docs_v23/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v23/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v23/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_requestEncryption.md b/old_docs/API_docs_v23/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v23/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v23/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_search.md b/old_docs/API_docs_v23/methods/messages_search.md index d53456d0..a0485ebe 100644 --- a/old_docs/API_docs_v23/methods/messages_search.md +++ b/old_docs/API_docs_v23/methods/messages_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_sendBroadcast.md b/old_docs/API_docs_v23/methods/messages_sendBroadcast.md index 2badc4e0..3c8a6d1e 100644 --- a/old_docs/API_docs_v23/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v23/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_sendEncrypted.md b/old_docs/API_docs_v23/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v23/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_sendMedia.md b/old_docs/API_docs_v23/methods/messages_sendMedia.md index fbfca74b..70c336e2 100644 --- a/old_docs/API_docs_v23/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v23/methods/messages_sendMedia.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"peer":"InputPeer","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +peer - Json encoded InputPeer +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_sendMessage.md b/old_docs/API_docs_v23/methods/messages_sendMessage.md index dbd6ed8e..45a51c0c 100644 --- a/old_docs/API_docs_v23/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v23/methods/messages_sendMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"peer":"InputPeer","message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +peer - Json encoded InputPeer +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v23/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/messages_setTyping.md b/old_docs/API_docs_v23/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v23/methods/messages_setTyping.md +++ b/old_docs/API_docs_v23/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/photos_deletePhotos.md b/old_docs/API_docs_v23/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v23/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v23/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/photos_getUserPhotos.md b/old_docs/API_docs_v23/methods/photos_getUserPhotos.md index 257ec1ba..cadae34a 100644 --- a/old_docs/API_docs_v23/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v23/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v23/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v23/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/updates_getDifference.md b/old_docs/API_docs_v23/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v23/methods/updates_getDifference.md +++ b/old_docs/API_docs_v23/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/updates_getState.md b/old_docs/API_docs_v23/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v23/methods/updates_getState.md +++ b/old_docs/API_docs_v23/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v23/methods/upload_getFile.md b/old_docs/API_docs_v23/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v23/methods/upload_getFile.md +++ b/old_docs/API_docs_v23/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v23/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/upload_saveFilePart.md b/old_docs/API_docs_v23/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v23/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v23/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/users_getFullUser.md b/old_docs/API_docs_v23/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v23/methods/users_getFullUser.md +++ b/old_docs/API_docs_v23/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v23/methods/users_getUsers.md b/old_docs/API_docs_v23/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v23/methods/users_getUsers.md +++ b/old_docs/API_docs_v23/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/constructors/accountDaysTTL.md b/old_docs/API_docs_v25/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v25/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v25/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/account_noPassword.md b/old_docs/API_docs_v25/constructors/account_noPassword.md index 4aec7a6a..1b9391b0 100644 --- a/old_docs/API_docs_v25/constructors/account_noPassword.md +++ b/old_docs/API_docs_v25/constructors/account_noPassword.md @@ -24,6 +24,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/account_password.md b/old_docs/API_docs_v25/constructors/account_password.md index ac2cb78b..d6359658 100644 --- a/old_docs/API_docs_v25/constructors/account_password.md +++ b/old_docs/API_docs_v25/constructors/account_password.md @@ -26,6 +26,13 @@ description: account_password attributes, type and example $account_password = ['_' => 'account.password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/account_privacyRules.md b/old_docs/API_docs_v25/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v25/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v25/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md index 77fbeb66..1b776018 100644 --- a/old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v25/constructors/account_sentChangePhoneCode.md @@ -25,6 +25,13 @@ description: account_sentChangePhoneCode attributes, type and example $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/audio.md b/old_docs/API_docs_v25/constructors/audio.md index 9b29a0fb..6201866c 100644 --- a/old_docs/API_docs_v25/constructors/audio.md +++ b/old_docs/API_docs_v25/constructors/audio.md @@ -31,6 +31,13 @@ description: audio attributes, type and example $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audio","id":"long","access_hash":"long","user_id":"int","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/audioEmpty.md b/old_docs/API_docs_v25/constructors/audioEmpty.md index 7a3b8772..72e43b19 100644 --- a/old_docs/API_docs_v25/constructors/audioEmpty.md +++ b/old_docs/API_docs_v25/constructors/audioEmpty.md @@ -24,6 +24,13 @@ description: audioEmpty attributes, type and example $audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audioEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/auth_authorization.md b/old_docs/API_docs_v25/constructors/auth_authorization.md index f0ae81f3..e8a16730 100644 --- a/old_docs/API_docs_v25/constructors/auth_authorization.md +++ b/old_docs/API_docs_v25/constructors/auth_authorization.md @@ -25,6 +25,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","expires":"int","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/auth_checkedPhone.md b/old_docs/API_docs_v25/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v25/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v25/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v25/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/auth_sentAppCode.md b/old_docs/API_docs_v25/constructors/auth_sentAppCode.md index d0d99104..4288276f 100644 --- a/old_docs/API_docs_v25/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v25/constructors/auth_sentAppCode.md @@ -27,6 +27,13 @@ description: auth_sentAppCode attributes, type and example $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/auth_sentCode.md b/old_docs/API_docs_v25/constructors/auth_sentCode.md index edadb37e..d393aeae 100644 --- a/old_docs/API_docs_v25/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v25/constructors/auth_sentCode.md @@ -27,6 +27,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/chat.md b/old_docs/API_docs_v25/constructors/chat.md index 0babaaea..43c20df0 100644 --- a/old_docs/API_docs_v25/constructors/chat.md +++ b/old_docs/API_docs_v25/constructors/chat.md @@ -30,6 +30,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","left":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/chatEmpty.md b/old_docs/API_docs_v25/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v25/constructors/chatEmpty.md +++ b/old_docs/API_docs_v25/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/chatForbidden.md b/old_docs/API_docs_v25/constructors/chatForbidden.md index cfbad26b..00ff4521 100644 --- a/old_docs/API_docs_v25/constructors/chatForbidden.md +++ b/old_docs/API_docs_v25/constructors/chatForbidden.md @@ -26,6 +26,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/chatFull.md b/old_docs/API_docs_v25/constructors/chatFull.md index fdb65921..9bf2e470 100644 --- a/old_docs/API_docs_v25/constructors/chatFull.md +++ b/old_docs/API_docs_v25/constructors/chatFull.md @@ -27,6 +27,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/chatLocated.md b/old_docs/API_docs_v25/constructors/chatLocated.md index d8c9f41c..75537f7a 100644 --- a/old_docs/API_docs_v25/constructors/chatLocated.md +++ b/old_docs/API_docs_v25/constructors/chatLocated.md @@ -25,6 +25,13 @@ description: chatLocated attributes, type and example $chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatLocated","chat_id":"int","distance":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/chatParticipant.md b/old_docs/API_docs_v25/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v25/constructors/chatParticipant.md +++ b/old_docs/API_docs_v25/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/chatParticipants.md b/old_docs/API_docs_v25/constructors/chatParticipants.md index 181b2f88..ff71f0b9 100644 --- a/old_docs/API_docs_v25/constructors/chatParticipants.md +++ b/old_docs/API_docs_v25/constructors/chatParticipants.md @@ -27,6 +27,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v25/constructors/chatParticipantsForbidden.md index 29a129a6..a7061ce0 100644 --- a/old_docs/API_docs_v25/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v25/constructors/chatParticipantsForbidden.md @@ -24,6 +24,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/chatPhoto.md b/old_docs/API_docs_v25/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v25/constructors/chatPhoto.md +++ b/old_docs/API_docs_v25/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v25/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v25/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v25/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/config.md b/old_docs/API_docs_v25/constructors/config.md index de7967da..11eb377a 100644 --- a/old_docs/API_docs_v25/constructors/config.md +++ b/old_docs/API_docs_v25/constructors/config.md @@ -38,6 +38,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contact.md b/old_docs/API_docs_v25/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v25/constructors/contact.md +++ b/old_docs/API_docs_v25/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contactBlocked.md b/old_docs/API_docs_v25/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v25/constructors/contactBlocked.md +++ b/old_docs/API_docs_v25/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contactFound.md b/old_docs/API_docs_v25/constructors/contactFound.md index 0bc886b5..2b164dd9 100644 --- a/old_docs/API_docs_v25/constructors/contactFound.md +++ b/old_docs/API_docs_v25/constructors/contactFound.md @@ -24,6 +24,13 @@ description: contactFound attributes, type and example $contactFound = ['_' => 'contactFound', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactFound","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contactLinkContact.md b/old_docs/API_docs_v25/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v25/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v25/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v25/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v25/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v25/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contactLinkNone.md b/old_docs/API_docs_v25/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v25/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v25/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contactLinkUnknown.md b/old_docs/API_docs_v25/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v25/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v25/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contactStatus.md b/old_docs/API_docs_v25/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v25/constructors/contactStatus.md +++ b/old_docs/API_docs_v25/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contactSuggested.md b/old_docs/API_docs_v25/constructors/contactSuggested.md index cf53fa55..0508f837 100644 --- a/old_docs/API_docs_v25/constructors/contactSuggested.md +++ b/old_docs/API_docs_v25/constructors/contactSuggested.md @@ -25,6 +25,13 @@ description: contactSuggested attributes, type and example $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contacts_blocked.md b/old_docs/API_docs_v25/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v25/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v25/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v25/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v25/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v25/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contacts_contacts.md b/old_docs/API_docs_v25/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v25/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v25/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v25/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contacts_found.md b/old_docs/API_docs_v25/constructors/contacts_found.md index fb0db932..98f22b0e 100644 --- a/old_docs/API_docs_v25/constructors/contacts_found.md +++ b/old_docs/API_docs_v25/constructors/contacts_found.md @@ -25,6 +25,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["ContactFound"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contacts_importedContacts.md b/old_docs/API_docs_v25/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v25/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v25/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contacts_link.md b/old_docs/API_docs_v25/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v25/constructors/contacts_link.md +++ b/old_docs/API_docs_v25/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/contacts_suggested.md b/old_docs/API_docs_v25/constructors/contacts_suggested.md index 90ff7671..e4dd4100 100644 --- a/old_docs/API_docs_v25/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v25/constructors/contacts_suggested.md @@ -25,6 +25,13 @@ description: contacts_suggested attributes, type and example $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/dcOption.md b/old_docs/API_docs_v25/constructors/dcOption.md index ec71fae3..a6e9a02f 100644 --- a/old_docs/API_docs_v25/constructors/dcOption.md +++ b/old_docs/API_docs_v25/constructors/dcOption.md @@ -27,6 +27,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","id":"int","hostname":"string","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/dialog.md b/old_docs/API_docs_v25/constructors/dialog.md index 9c6f4d43..d706225d 100644 --- a/old_docs/API_docs_v25/constructors/dialog.md +++ b/old_docs/API_docs_v25/constructors/dialog.md @@ -28,6 +28,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/disabledFeature.md b/old_docs/API_docs_v25/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v25/constructors/disabledFeature.md +++ b/old_docs/API_docs_v25/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/document.md b/old_docs/API_docs_v25/constructors/document.md index 7153e5a6..7e3482ad 100644 --- a/old_docs/API_docs_v25/constructors/document.md +++ b/old_docs/API_docs_v25/constructors/document.md @@ -31,6 +31,13 @@ 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, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v25/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/documentAttributeAudio.md b/old_docs/API_docs_v25/constructors/documentAttributeAudio.md index 90a8fc2f..6479c10b 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeAudio.md @@ -24,6 +24,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","duration":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/documentAttributeFilename.md b/old_docs/API_docs_v25/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v25/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/documentAttributeSticker.md b/old_docs/API_docs_v25/constructors/documentAttributeSticker.md index b2ac43b2..43f36feb 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeSticker.md @@ -24,6 +24,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/documentAttributeVideo.md b/old_docs/API_docs_v25/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v25/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v25/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/documentEmpty.md b/old_docs/API_docs_v25/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v25/constructors/documentEmpty.md +++ b/old_docs/API_docs_v25/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/encryptedChat.md b/old_docs/API_docs_v25/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChat.md +++ b/old_docs/API_docs_v25/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v25/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v25/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v25/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v25/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/encryptedChatRequested.md b/old_docs/API_docs_v25/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v25/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v25/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v25/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v25/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/encryptedFile.md b/old_docs/API_docs_v25/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v25/constructors/encryptedFile.md +++ b/old_docs/API_docs_v25/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v25/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v25/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v25/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/encryptedMessage.md b/old_docs/API_docs_v25/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v25/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v25/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/encryptedMessageService.md b/old_docs/API_docs_v25/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v25/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v25/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/error.md b/old_docs/API_docs_v25/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v25/constructors/error.md +++ b/old_docs/API_docs_v25/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/fileLocation.md b/old_docs/API_docs_v25/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v25/constructors/fileLocation.md +++ b/old_docs/API_docs_v25/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v25/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v25/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v25/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/geoChat.md b/old_docs/API_docs_v25/constructors/geoChat.md index 6b90cca6..26d7c67b 100644 --- a/old_docs/API_docs_v25/constructors/geoChat.md +++ b/old_docs/API_docs_v25/constructors/geoChat.md @@ -34,6 +34,13 @@ description: geoChat attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/geoChatMessage.md b/old_docs/API_docs_v25/constructors/geoChatMessage.md index 7686f218..278791f0 100644 --- a/old_docs/API_docs_v25/constructors/geoChatMessage.md +++ b/old_docs/API_docs_v25/constructors/geoChatMessage.md @@ -29,6 +29,13 @@ description: geoChatMessage attributes, type and example $geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoChatMessage","chat_id":"int","id":"int","from_id":"int","date":"int","message":"string","media":"MessageMedia"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/geoChatMessageEmpty.md b/old_docs/API_docs_v25/constructors/geoChatMessageEmpty.md index 847f81dc..403d5713 100644 --- a/old_docs/API_docs_v25/constructors/geoChatMessageEmpty.md +++ b/old_docs/API_docs_v25/constructors/geoChatMessageEmpty.md @@ -25,6 +25,13 @@ description: geoChatMessageEmpty attributes, type and example $geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoChatMessageEmpty","chat_id":"int","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/geoChatMessageService.md b/old_docs/API_docs_v25/constructors/geoChatMessageService.md index 87643056..b17d00d2 100644 --- a/old_docs/API_docs_v25/constructors/geoChatMessageService.md +++ b/old_docs/API_docs_v25/constructors/geoChatMessageService.md @@ -28,6 +28,13 @@ description: geoChatMessageService attributes, type and example $geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoChatMessageService","chat_id":"int","id":"int","from_id":"int","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/geoPoint.md b/old_docs/API_docs_v25/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v25/constructors/geoPoint.md +++ b/old_docs/API_docs_v25/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/geoPointEmpty.md b/old_docs/API_docs_v25/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v25/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v25/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/geochats_located.md b/old_docs/API_docs_v25/constructors/geochats_located.md index 80fb126e..f5f47dd1 100644 --- a/old_docs/API_docs_v25/constructors/geochats_located.md +++ b/old_docs/API_docs_v25/constructors/geochats_located.md @@ -27,6 +27,13 @@ description: geochats_located attributes, type and example $geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated], 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geochats.located","results":["ChatLocated"],"messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/geochats_messages.md b/old_docs/API_docs_v25/constructors/geochats_messages.md index 9a3db02d..03667532 100644 --- a/old_docs/API_docs_v25/constructors/geochats_messages.md +++ b/old_docs/API_docs_v25/constructors/geochats_messages.md @@ -26,6 +26,13 @@ description: geochats_messages attributes, type and example $geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geochats.messages","messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/geochats_messagesSlice.md b/old_docs/API_docs_v25/constructors/geochats_messagesSlice.md index 0d68cc8d..5e9babba 100644 --- a/old_docs/API_docs_v25/constructors/geochats_messagesSlice.md +++ b/old_docs/API_docs_v25/constructors/geochats_messagesSlice.md @@ -27,6 +27,13 @@ description: geochats_messagesSlice attributes, type and example $geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geochats.messagesSlice","count":"int","messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/geochats_statedMessage.md b/old_docs/API_docs_v25/constructors/geochats_statedMessage.md index b8a9bacd..2adc55a4 100644 --- a/old_docs/API_docs_v25/constructors/geochats_statedMessage.md +++ b/old_docs/API_docs_v25/constructors/geochats_statedMessage.md @@ -27,6 +27,13 @@ description: geochats_statedMessage attributes, type and example $geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat], 'users' => [User], 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geochats.statedMessage","message":"GeoChatMessage","chats":["Chat"],"users":["User"],"seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/help_appUpdate.md b/old_docs/API_docs_v25/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v25/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v25/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/help_inviteText.md b/old_docs/API_docs_v25/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v25/constructors/help_inviteText.md +++ b/old_docs/API_docs_v25/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/help_noAppUpdate.md b/old_docs/API_docs_v25/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v25/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v25/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/help_support.md b/old_docs/API_docs_v25/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v25/constructors/help_support.md +++ b/old_docs/API_docs_v25/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/importedContact.md b/old_docs/API_docs_v25/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v25/constructors/importedContact.md +++ b/old_docs/API_docs_v25/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputAppEvent.md b/old_docs/API_docs_v25/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v25/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v25/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputAudio.md b/old_docs/API_docs_v25/constructors/inputAudio.md index f618b74f..a75e690f 100644 --- a/old_docs/API_docs_v25/constructors/inputAudio.md +++ b/old_docs/API_docs_v25/constructors/inputAudio.md @@ -25,6 +25,13 @@ description: inputAudio attributes, type and example $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudio","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputAudioEmpty.md b/old_docs/API_docs_v25/constructors/inputAudioEmpty.md index f5ca1a6c..4de803d5 100644 --- a/old_docs/API_docs_v25/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputAudioEmpty.md @@ -19,6 +19,13 @@ description: inputAudioEmpty attributes, type and example $inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v25/constructors/inputAudioFileLocation.md index 8624b224..25650826 100644 --- a/old_docs/API_docs_v25/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputAudioFileLocation.md @@ -25,6 +25,13 @@ description: inputAudioFileLocation attributes, type and example $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputChatPhoto.md b/old_docs/API_docs_v25/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v25/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v25/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v25/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v25/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v25/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputDocument.md b/old_docs/API_docs_v25/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v25/constructors/inputDocument.md +++ b/old_docs/API_docs_v25/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v25/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v25/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v25/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v25/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputEncryptedChat.md b/old_docs/API_docs_v25/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputEncryptedFile.md b/old_docs/API_docs_v25/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v25/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v25/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v25/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v25/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v25/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v25/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputFile.md b/old_docs/API_docs_v25/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v25/constructors/inputFile.md +++ b/old_docs/API_docs_v25/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputFileBig.md b/old_docs/API_docs_v25/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v25/constructors/inputFileBig.md +++ b/old_docs/API_docs_v25/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputFileLocation.md b/old_docs/API_docs_v25/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v25/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputGeoChat.md b/old_docs/API_docs_v25/constructors/inputGeoChat.md index 6403757a..4841c285 100644 --- a/old_docs/API_docs_v25/constructors/inputGeoChat.md +++ b/old_docs/API_docs_v25/constructors/inputGeoChat.md @@ -25,6 +25,13 @@ description: inputGeoChat attributes, type and example $inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputGeoPoint.md b/old_docs/API_docs_v25/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v25/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v25/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v25/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v25/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMediaAudio.md b/old_docs/API_docs_v25/constructors/inputMediaAudio.md index 6f477b8b..0c83afd5 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v25/constructors/inputMediaAudio.md @@ -24,6 +24,13 @@ description: inputMediaAudio attributes, type and example $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaAudio","id":"InputAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMediaContact.md b/old_docs/API_docs_v25/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v25/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMediaDocument.md b/old_docs/API_docs_v25/constructors/inputMediaDocument.md index 2aa74093..231c733f 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v25/constructors/inputMediaDocument.md @@ -24,6 +24,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMediaEmpty.md b/old_docs/API_docs_v25/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v25/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v25/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMediaPhoto.md b/old_docs/API_docs_v25/constructors/inputMediaPhoto.md index 5430b0c0..9746ce43 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputMediaPhoto.md @@ -24,6 +24,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v25/constructors/inputMediaUploadedAudio.md index ad427e4f..e3298757 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedAudio.md @@ -26,6 +26,13 @@ description: inputMediaUploadedAudio attributes, type and example $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v25/constructors/inputMediaUploadedDocument.md index 7afb9494..d36bed64 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedDocument.md @@ -26,6 +26,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v25/constructors/inputMediaUploadedPhoto.md index 7618adbc..4b7ac5a3 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedPhoto.md @@ -24,6 +24,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbDocument.md index 6711d93a..843b4415 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbVideo.md index 61d02a02..ef54d767 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedThumbVideo.md @@ -29,6 +29,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v25/constructors/inputMediaUploadedVideo.md index d75d5795..bdd5527a 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMediaUploadedVideo.md @@ -28,6 +28,13 @@ description: inputMediaUploadedVideo attributes, type and example $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMediaVideo.md b/old_docs/API_docs_v25/constructors/inputMediaVideo.md index 75058665..07251b4a 100644 --- a/old_docs/API_docs_v25/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMediaVideo.md @@ -24,6 +24,13 @@ description: inputMediaVideo attributes, type and example $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVideo","id":"InputVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterAudio.md index c326c700..2c8e29fe 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterAudio.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudio attributes, type and example $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v25/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v25/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v25/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputNotifyAll.md b/old_docs/API_docs_v25/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputNotifyChats.md b/old_docs/API_docs_v25/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputNotifyGeoChatPeer.md b/old_docs/API_docs_v25/constructors/inputNotifyGeoChatPeer.md index 11b52da3..82927289 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyGeoChatPeer.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyGeoChatPeer.md @@ -24,6 +24,13 @@ description: inputNotifyGeoChatPeer attributes, type and example $inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyGeoChatPeer","peer":"InputGeoChat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputNotifyPeer.md b/old_docs/API_docs_v25/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputNotifyUsers.md b/old_docs/API_docs_v25/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v25/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v25/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPeerChat.md b/old_docs/API_docs_v25/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v25/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPeerContact.md b/old_docs/API_docs_v25/constructors/inputPeerContact.md index c469f6f5..88d5488b 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerContact.md +++ b/old_docs/API_docs_v25/constructors/inputPeerContact.md @@ -24,6 +24,13 @@ description: inputPeerContact attributes, type and example $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerContact","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPeerEmpty.md b/old_docs/API_docs_v25/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPeerForeign.md b/old_docs/API_docs_v25/constructors/inputPeerForeign.md index 700743ce..003416ba 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerForeign.md +++ b/old_docs/API_docs_v25/constructors/inputPeerForeign.md @@ -25,6 +25,13 @@ description: inputPeerForeign attributes, type and example $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerForeign","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v25/constructors/inputPeerNotifySettings.md index d4c26a38..4881d26e 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v25/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPeerSelf.md b/old_docs/API_docs_v25/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v25/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v25/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPhoneContact.md b/old_docs/API_docs_v25/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v25/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v25/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPhoto.md b/old_docs/API_docs_v25/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v25/constructors/inputPhoto.md +++ b/old_docs/API_docs_v25/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPhotoCrop.md b/old_docs/API_docs_v25/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v25/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v25/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v25/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v25/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v25/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v25/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v25/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputUserContact.md b/old_docs/API_docs_v25/constructors/inputUserContact.md index 40b2235a..c2b1f85c 100644 --- a/old_docs/API_docs_v25/constructors/inputUserContact.md +++ b/old_docs/API_docs_v25/constructors/inputUserContact.md @@ -24,6 +24,13 @@ description: inputUserContact attributes, type and example $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserContact","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputUserEmpty.md b/old_docs/API_docs_v25/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v25/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputUserForeign.md b/old_docs/API_docs_v25/constructors/inputUserForeign.md index 8915ad79..1c4b6331 100644 --- a/old_docs/API_docs_v25/constructors/inputUserForeign.md +++ b/old_docs/API_docs_v25/constructors/inputUserForeign.md @@ -25,6 +25,13 @@ description: inputUserForeign attributes, type and example $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserForeign","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputUserSelf.md b/old_docs/API_docs_v25/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v25/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v25/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputVideo.md b/old_docs/API_docs_v25/constructors/inputVideo.md index 79d5a034..e6dc5b1f 100644 --- a/old_docs/API_docs_v25/constructors/inputVideo.md +++ b/old_docs/API_docs_v25/constructors/inputVideo.md @@ -25,6 +25,13 @@ description: inputVideo attributes, type and example $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideo","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputVideoEmpty.md b/old_docs/API_docs_v25/constructors/inputVideoEmpty.md index d1f4e1ec..072ace8d 100644 --- a/old_docs/API_docs_v25/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v25/constructors/inputVideoEmpty.md @@ -19,6 +19,13 @@ description: inputVideoEmpty attributes, type and example $inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v25/constructors/inputVideoFileLocation.md index 2ae12a5c..f4c6646e 100644 --- a/old_docs/API_docs_v25/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v25/constructors/inputVideoFileLocation.md @@ -25,6 +25,13 @@ description: inputVideoFileLocation attributes, type and example $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/message.md b/old_docs/API_docs_v25/constructors/message.md index c0d84a45..92933229 100644 --- a/old_docs/API_docs_v25/constructors/message.md +++ b/old_docs/API_docs_v25/constructors/message.md @@ -32,6 +32,13 @@ description: message attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v25/constructors/messageActionChatAddUser.md index 34fd5bd6..ee6711dd 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageActionChatCreate.md b/old_docs/API_docs_v25/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v25/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v25/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v25/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v25/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v25/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v25/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageActionEmpty.md b/old_docs/API_docs_v25/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v25/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v25/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageActionGeoChatCheckin.md b/old_docs/API_docs_v25/constructors/messageActionGeoChatCheckin.md index 8a54b807..2ba609cc 100644 --- a/old_docs/API_docs_v25/constructors/messageActionGeoChatCheckin.md +++ b/old_docs/API_docs_v25/constructors/messageActionGeoChatCheckin.md @@ -19,6 +19,13 @@ description: messageActionGeoChatCheckin attributes, type and example $messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionGeoChatCheckin"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageActionGeoChatCreate.md b/old_docs/API_docs_v25/constructors/messageActionGeoChatCreate.md index dcfdc805..4cdcab63 100644 --- a/old_docs/API_docs_v25/constructors/messageActionGeoChatCreate.md +++ b/old_docs/API_docs_v25/constructors/messageActionGeoChatCreate.md @@ -25,6 +25,13 @@ description: messageActionGeoChatCreate attributes, type and example $messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => string, 'address' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionGeoChatCreate","title":"string","address":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageEmpty.md b/old_docs/API_docs_v25/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v25/constructors/messageEmpty.md +++ b/old_docs/API_docs_v25/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageMediaAudio.md b/old_docs/API_docs_v25/constructors/messageMediaAudio.md index 0bc53b5e..24ca7823 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v25/constructors/messageMediaAudio.md @@ -24,6 +24,13 @@ description: messageMediaAudio attributes, type and example $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaAudio","audio":"Audio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageMediaContact.md b/old_docs/API_docs_v25/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v25/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageMediaDocument.md b/old_docs/API_docs_v25/constructors/messageMediaDocument.md index 3d50d4ab..ec51032e 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v25/constructors/messageMediaDocument.md @@ -24,6 +24,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageMediaEmpty.md b/old_docs/API_docs_v25/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v25/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageMediaGeo.md b/old_docs/API_docs_v25/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v25/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageMediaPhoto.md b/old_docs/API_docs_v25/constructors/messageMediaPhoto.md index 82ac8b91..779e2d18 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v25/constructors/messageMediaPhoto.md @@ -24,6 +24,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v25/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v25/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageMediaVideo.md b/old_docs/API_docs_v25/constructors/messageMediaVideo.md index 8c3c8305..344e27a9 100644 --- a/old_docs/API_docs_v25/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v25/constructors/messageMediaVideo.md @@ -24,6 +24,13 @@ description: messageMediaVideo attributes, type and example $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVideo","video":"Video"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messageService.md b/old_docs/API_docs_v25/constructors/messageService.md index fab2a256..28c8207f 100644 --- a/old_docs/API_docs_v25/constructors/messageService.md +++ b/old_docs/API_docs_v25/constructors/messageService.md @@ -28,6 +28,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_affectedHistory.md b/old_docs/API_docs_v25/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v25/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v25/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_affectedMessages.md b/old_docs/API_docs_v25/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v25/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v25/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_allStickers.md b/old_docs/API_docs_v25/constructors/messages_allStickers.md index bc9ee93f..7fc711c1 100644 --- a/old_docs/API_docs_v25/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v25/constructors/messages_allStickers.md @@ -26,6 +26,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"string","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v25/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_chatFull.md b/old_docs/API_docs_v25/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v25/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v25/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_chats.md b/old_docs/API_docs_v25/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v25/constructors/messages_chats.md +++ b/old_docs/API_docs_v25/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_dhConfig.md b/old_docs/API_docs_v25/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v25/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v25/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v25/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_dialogs.md b/old_docs/API_docs_v25/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v25/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v25/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v25/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v25/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v25/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_messageEmpty.md b/old_docs/API_docs_v25/constructors/messages_messageEmpty.md index eb38f870..2d89fe6d 100644 --- a/old_docs/API_docs_v25/constructors/messages_messageEmpty.md +++ b/old_docs/API_docs_v25/constructors/messages_messageEmpty.md @@ -19,6 +19,13 @@ description: messages_messageEmpty attributes, type and example $messages_messageEmpty = ['_' => 'messages.messageEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messageEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_messages.md b/old_docs/API_docs_v25/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v25/constructors/messages_messages.md +++ b/old_docs/API_docs_v25/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_messagesSlice.md b/old_docs/API_docs_v25/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v25/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v25/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v25/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v25/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_sentMessage.md b/old_docs/API_docs_v25/constructors/messages_sentMessage.md index 52d35cb5..4cf12766 100644 --- a/old_docs/API_docs_v25/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v25/constructors/messages_sentMessage.md @@ -27,6 +27,13 @@ description: messages_sentMessage attributes, type and example $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentMessage","id":"int","date":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md index 0b90a3aa..ef9a4f52 100644 --- a/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md @@ -29,6 +29,13 @@ description: messages_sentMessageLink attributes, type and example $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentMessageLink","id":"int","date":"int","pts":"int","pts_count":"int","links":["contacts_Link"],"seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessage.md b/old_docs/API_docs_v25/constructors/messages_statedMessage.md index 1e023a4b..9a627bd5 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessage.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessage.md @@ -28,6 +28,13 @@ description: messages_statedMessage attributes, type and example $messages_statedMessage = ['_' => 'messages.statedMessage', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.statedMessage","message":"Message","chats":["Chat"],"users":["User"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md b/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md index f7e159d4..a9a709c5 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md @@ -30,6 +30,13 @@ description: messages_statedMessageLink attributes, type and example $messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.statedMessageLink","message":"Message","chats":["Chat"],"users":["User"],"pts":"int","pts_count":"int","links":["contacts_Link"],"seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessages.md b/old_docs/API_docs_v25/constructors/messages_statedMessages.md index 372ac224..1b2be507 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessages.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessages.md @@ -28,6 +28,13 @@ description: messages_statedMessages attributes, type and example $messages_statedMessages = ['_' => 'messages.statedMessages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.statedMessages","messages":["Message"],"chats":["Chat"],"users":["User"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md b/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md index bba2e03a..20ac9a7f 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md @@ -30,6 +30,13 @@ description: messages_statedMessagesLinks attributes, type and example $messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.statedMessagesLinks","messages":["Message"],"chats":["Chat"],"users":["User"],"pts":"int","pts_count":"int","links":["contacts_Link"],"seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_stickers.md b/old_docs/API_docs_v25/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v25/constructors/messages_stickers.md +++ b/old_docs/API_docs_v25/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v25/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v25/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v25/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/nearestDc.md b/old_docs/API_docs_v25/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v25/constructors/nearestDc.md +++ b/old_docs/API_docs_v25/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/notifyAll.md b/old_docs/API_docs_v25/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v25/constructors/notifyAll.md +++ b/old_docs/API_docs_v25/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/notifyChats.md b/old_docs/API_docs_v25/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v25/constructors/notifyChats.md +++ b/old_docs/API_docs_v25/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/notifyPeer.md b/old_docs/API_docs_v25/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v25/constructors/notifyPeer.md +++ b/old_docs/API_docs_v25/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/notifyUsers.md b/old_docs/API_docs_v25/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v25/constructors/notifyUsers.md +++ b/old_docs/API_docs_v25/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/peerChat.md b/old_docs/API_docs_v25/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v25/constructors/peerChat.md +++ b/old_docs/API_docs_v25/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v25/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v25/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v25/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v25/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v25/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v25/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/peerNotifySettings.md b/old_docs/API_docs_v25/constructors/peerNotifySettings.md index f6dc6c35..d0659143 100644 --- a/old_docs/API_docs_v25/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v25/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v25/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v25/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v25/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/peerUser.md b/old_docs/API_docs_v25/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v25/constructors/peerUser.md +++ b/old_docs/API_docs_v25/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/photo.md b/old_docs/API_docs_v25/constructors/photo.md index ca520fe8..c9d756b7 100644 --- a/old_docs/API_docs_v25/constructors/photo.md +++ b/old_docs/API_docs_v25/constructors/photo.md @@ -30,6 +30,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","user_id":"int","date":"int","caption":"string","geo":"GeoPoint","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/photoCachedSize.md b/old_docs/API_docs_v25/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v25/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v25/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/photoEmpty.md b/old_docs/API_docs_v25/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v25/constructors/photoEmpty.md +++ b/old_docs/API_docs_v25/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/photoSize.md b/old_docs/API_docs_v25/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v25/constructors/photoSize.md +++ b/old_docs/API_docs_v25/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/photoSizeEmpty.md b/old_docs/API_docs_v25/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v25/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v25/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/photos_photo.md b/old_docs/API_docs_v25/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v25/constructors/photos_photo.md +++ b/old_docs/API_docs_v25/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/photos_photos.md b/old_docs/API_docs_v25/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v25/constructors/photos_photos.md +++ b/old_docs/API_docs_v25/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/photos_photosSlice.md b/old_docs/API_docs_v25/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v25/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v25/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v25/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v25/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v25/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v25/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v25/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v25/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v25/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v25/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v25/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v25/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v25/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v25/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v25/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v25/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v25/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v25/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v25/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v25/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v25/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v25/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v25/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v25/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v25/constructors/sendMessageUploadAudioAction.md index bf7d459f..555007a0 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageUploadAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v25/constructors/sendMessageUploadDocumentAction.md index d9b187a0..a9f731b2 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageUploadDocumentAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v25/constructors/sendMessageUploadPhotoAction.md index bec5fe3b..0fb5a157 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageUploadPhotoAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v25/constructors/sendMessageUploadVideoAction.md index 75cf8a97..9d6684e0 100644 --- a/old_docs/API_docs_v25/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v25/constructors/sendMessageUploadVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/stickerPack.md b/old_docs/API_docs_v25/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v25/constructors/stickerPack.md +++ b/old_docs/API_docs_v25/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/storage_fileGif.md b/old_docs/API_docs_v25/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v25/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/storage_fileJpeg.md b/old_docs/API_docs_v25/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v25/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/storage_fileMov.md b/old_docs/API_docs_v25/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v25/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/storage_fileMp3.md b/old_docs/API_docs_v25/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v25/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/storage_fileMp4.md b/old_docs/API_docs_v25/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v25/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/storage_filePartial.md b/old_docs/API_docs_v25/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v25/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v25/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/storage_filePdf.md b/old_docs/API_docs_v25/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v25/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v25/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/storage_filePng.md b/old_docs/API_docs_v25/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v25/constructors/storage_filePng.md +++ b/old_docs/API_docs_v25/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/storage_fileUnknown.md b/old_docs/API_docs_v25/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v25/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/storage_fileWebp.md b/old_docs/API_docs_v25/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v25/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v25/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v25/constructors/updateChatParticipantAdd.md index 98f198f7..7acee0ac 100644 --- a/old_docs/API_docs_v25/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v25/constructors/updateChatParticipantAdd.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v25/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v25/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v25/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateChatParticipants.md b/old_docs/API_docs_v25/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v25/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v25/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateChatUserTyping.md b/old_docs/API_docs_v25/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v25/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v25/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateContactLink.md b/old_docs/API_docs_v25/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v25/constructors/updateContactLink.md +++ b/old_docs/API_docs_v25/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateContactRegistered.md b/old_docs/API_docs_v25/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v25/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v25/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateDcOptions.md b/old_docs/API_docs_v25/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v25/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v25/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateDeleteMessages.md b/old_docs/API_docs_v25/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v25/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v25/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v25/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v25/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v25/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v25/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v25/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v25/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateEncryption.md b/old_docs/API_docs_v25/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v25/constructors/updateEncryption.md +++ b/old_docs/API_docs_v25/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateMessageID.md b/old_docs/API_docs_v25/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v25/constructors/updateMessageID.md +++ b/old_docs/API_docs_v25/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateNewAuthorization.md b/old_docs/API_docs_v25/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v25/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v25/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v25/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v25/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v25/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateNewGeoChatMessage.md b/old_docs/API_docs_v25/constructors/updateNewGeoChatMessage.md index bf7902a0..e58cfe12 100644 --- a/old_docs/API_docs_v25/constructors/updateNewGeoChatMessage.md +++ b/old_docs/API_docs_v25/constructors/updateNewGeoChatMessage.md @@ -24,6 +24,13 @@ description: updateNewGeoChatMessage attributes, type and example $updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewGeoChatMessage","message":"GeoChatMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateNewMessage.md b/old_docs/API_docs_v25/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v25/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v25/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateNotifySettings.md b/old_docs/API_docs_v25/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v25/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v25/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updatePrivacy.md b/old_docs/API_docs_v25/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v25/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v25/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v25/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v25/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v25/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v25/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v25/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v25/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateReadMessages.md b/old_docs/API_docs_v25/constructors/updateReadMessages.md index 0cd0db19..df1e73c6 100644 --- a/old_docs/API_docs_v25/constructors/updateReadMessages.md +++ b/old_docs/API_docs_v25/constructors/updateReadMessages.md @@ -26,6 +26,13 @@ description: updateReadMessages attributes, type and example $updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateServiceNotification.md b/old_docs/API_docs_v25/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v25/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v25/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateShort.md b/old_docs/API_docs_v25/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v25/constructors/updateShort.md +++ b/old_docs/API_docs_v25/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateShortChatMessage.md b/old_docs/API_docs_v25/constructors/updateShortChatMessage.md index 75e7655c..c0246df1 100644 --- a/old_docs/API_docs_v25/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v25/constructors/updateShortChatMessage.md @@ -33,6 +33,13 @@ description: updateShortChatMessage attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateShortMessage.md b/old_docs/API_docs_v25/constructors/updateShortMessage.md index 48de7094..3911679c 100644 --- a/old_docs/API_docs_v25/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v25/constructors/updateShortMessage.md @@ -32,6 +32,13 @@ description: updateShortMessage attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateUserBlocked.md b/old_docs/API_docs_v25/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v25/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v25/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateUserName.md b/old_docs/API_docs_v25/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v25/constructors/updateUserName.md +++ b/old_docs/API_docs_v25/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateUserPhone.md b/old_docs/API_docs_v25/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v25/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v25/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateUserPhoto.md b/old_docs/API_docs_v25/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v25/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v25/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateUserStatus.md b/old_docs/API_docs_v25/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v25/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v25/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updateUserTyping.md b/old_docs/API_docs_v25/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v25/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v25/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updates.md b/old_docs/API_docs_v25/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v25/constructors/updates.md +++ b/old_docs/API_docs_v25/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updatesCombined.md b/old_docs/API_docs_v25/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v25/constructors/updatesCombined.md +++ b/old_docs/API_docs_v25/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updatesTooLong.md b/old_docs/API_docs_v25/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v25/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v25/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updates_difference.md b/old_docs/API_docs_v25/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v25/constructors/updates_difference.md +++ b/old_docs/API_docs_v25/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v25/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v25/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v25/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updates_differenceSlice.md b/old_docs/API_docs_v25/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v25/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v25/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/updates_state.md b/old_docs/API_docs_v25/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v25/constructors/updates_state.md +++ b/old_docs/API_docs_v25/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/upload_file.md b/old_docs/API_docs_v25/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v25/constructors/upload_file.md +++ b/old_docs/API_docs_v25/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userContact.md b/old_docs/API_docs_v25/constructors/userContact.md index a336aa50..30c1fdd9 100644 --- a/old_docs/API_docs_v25/constructors/userContact.md +++ b/old_docs/API_docs_v25/constructors/userContact.md @@ -31,6 +31,13 @@ description: userContact attributes, type and example $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userContact","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userDeleted.md b/old_docs/API_docs_v25/constructors/userDeleted.md index 3174753a..9fcd1e83 100644 --- a/old_docs/API_docs_v25/constructors/userDeleted.md +++ b/old_docs/API_docs_v25/constructors/userDeleted.md @@ -27,6 +27,13 @@ description: userDeleted attributes, type and example $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userDeleted","id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userEmpty.md b/old_docs/API_docs_v25/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v25/constructors/userEmpty.md +++ b/old_docs/API_docs_v25/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userForeign.md b/old_docs/API_docs_v25/constructors/userForeign.md index 3516e956..810cce6a 100644 --- a/old_docs/API_docs_v25/constructors/userForeign.md +++ b/old_docs/API_docs_v25/constructors/userForeign.md @@ -30,6 +30,13 @@ description: userForeign attributes, type and example $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userForeign","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userFull.md b/old_docs/API_docs_v25/constructors/userFull.md index a53b7889..fc5ce2d1 100644 --- a/old_docs/API_docs_v25/constructors/userFull.md +++ b/old_docs/API_docs_v25/constructors/userFull.md @@ -30,6 +30,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","real_first_name":"string","real_last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userProfilePhoto.md b/old_docs/API_docs_v25/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v25/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v25/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v25/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v25/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v25/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userRequest.md b/old_docs/API_docs_v25/constructors/userRequest.md index 389f70cc..948ff515 100644 --- a/old_docs/API_docs_v25/constructors/userRequest.md +++ b/old_docs/API_docs_v25/constructors/userRequest.md @@ -31,6 +31,13 @@ description: userRequest attributes, type and example $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userRequest","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userSelf.md b/old_docs/API_docs_v25/constructors/userSelf.md index b409922f..844bd976 100644 --- a/old_docs/API_docs_v25/constructors/userSelf.md +++ b/old_docs/API_docs_v25/constructors/userSelf.md @@ -30,6 +30,13 @@ description: userSelf attributes, type and example $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userSelf","id":"int","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userStatusEmpty.md b/old_docs/API_docs_v25/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v25/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v25/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userStatusLastMonth.md b/old_docs/API_docs_v25/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v25/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v25/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userStatusLastWeek.md b/old_docs/API_docs_v25/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v25/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v25/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userStatusOffline.md b/old_docs/API_docs_v25/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v25/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v25/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userStatusOnline.md b/old_docs/API_docs_v25/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v25/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v25/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/userStatusRecently.md b/old_docs/API_docs_v25/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v25/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v25/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/vector.md b/old_docs/API_docs_v25/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v25/constructors/vector.md +++ b/old_docs/API_docs_v25/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/video.md b/old_docs/API_docs_v25/constructors/video.md index 4dd57d8b..0654783d 100644 --- a/old_docs/API_docs_v25/constructors/video.md +++ b/old_docs/API_docs_v25/constructors/video.md @@ -35,6 +35,13 @@ description: video attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/videoEmpty.md b/old_docs/API_docs_v25/constructors/videoEmpty.md index 74b18d58..d5d10973 100644 --- a/old_docs/API_docs_v25/constructors/videoEmpty.md +++ b/old_docs/API_docs_v25/constructors/videoEmpty.md @@ -24,6 +24,13 @@ description: videoEmpty attributes, type and example $videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"videoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/wallPaper.md b/old_docs/API_docs_v25/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v25/constructors/wallPaper.md +++ b/old_docs/API_docs_v25/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/constructors/wallPaperSolid.md b/old_docs/API_docs_v25/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v25/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v25/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/methods/account_changePhone.md b/old_docs/API_docs_v25/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v25/methods/account_changePhone.md +++ b/old_docs/API_docs_v25/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_checkUsername.md b/old_docs/API_docs_v25/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v25/methods/account_checkUsername.md +++ b/old_docs/API_docs_v25/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_deleteAccount.md b/old_docs/API_docs_v25/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v25/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v25/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_getAccountTTL.md b/old_docs/API_docs_v25/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v25/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v25/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/methods/account_getNotifySettings.md b/old_docs/API_docs_v25/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v25/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_getPassword.md b/old_docs/API_docs_v25/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v25/methods/account_getPassword.md +++ b/old_docs/API_docs_v25/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/methods/account_getPrivacy.md b/old_docs/API_docs_v25/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v25/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v25/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_getWallPapers.md b/old_docs/API_docs_v25/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v25/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v25/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/methods/account_registerDevice.md b/old_docs/API_docs_v25/methods/account_registerDevice.md index 746ac76d..c786c6a8 100644 --- a/old_docs/API_docs_v25/methods/account_registerDevice.md +++ b/old_docs/API_docs_v25/methods/account_registerDevice.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +app_sandbox - Json encoded Bool +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_resetNotifySettings.md b/old_docs/API_docs_v25/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v25/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md index 002dc1ab..605bcaa3 100644 --- a/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v25/methods/account_sendChangePhoneCode.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_setAccountTTL.md b/old_docs/API_docs_v25/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v25/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v25/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_setPassword.md b/old_docs/API_docs_v25/methods/account_setPassword.md index 0c81a43f..c8877bbe 100644 --- a/old_docs/API_docs_v25/methods/account_setPassword.md +++ b/old_docs/API_docs_v25/methods/account_setPassword.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setPassword(['current_password_hash' => bytes, 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPassword +* params - {"current_password_hash":"bytes","new_salt":"bytes","new_password_hash":"bytes","hint":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPassword` + +Parameters: + +current_password_hash - Json encoded bytes +new_salt - Json encoded bytes +new_password_hash - Json encoded bytes +hint - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_setPrivacy.md b/old_docs/API_docs_v25/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v25/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v25/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_unregisterDevice.md b/old_docs/API_docs_v25/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v25/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v25/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v25/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_updateNotifySettings.md b/old_docs/API_docs_v25/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v25/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v25/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_updateProfile.md b/old_docs/API_docs_v25/methods/account_updateProfile.md index 6e8891d0..bf1c3b8f 100644 --- a/old_docs/API_docs_v25/methods/account_updateProfile.md +++ b/old_docs/API_docs_v25/methods/account_updateProfile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_updateStatus.md b/old_docs/API_docs_v25/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v25/methods/account_updateStatus.md +++ b/old_docs/API_docs_v25/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/account_updateUsername.md b/old_docs/API_docs_v25/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v25/methods/account_updateUsername.md +++ b/old_docs/API_docs_v25/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v25/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/auth_checkPassword.md b/old_docs/API_docs_v25/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v25/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v25/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/auth_checkPhone.md b/old_docs/API_docs_v25/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v25/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v25/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/auth_exportAuthorization.md b/old_docs/API_docs_v25/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v25/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v25/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/auth_importAuthorization.md b/old_docs/API_docs_v25/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v25/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v25/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/auth_logOut.md b/old_docs/API_docs_v25/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v25/methods/auth_logOut.md +++ b/old_docs/API_docs_v25/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v25/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/methods/auth_sendCall.md b/old_docs/API_docs_v25/methods/auth_sendCall.md index 9e50a03d..08b4d1d4 100644 --- a/old_docs/API_docs_v25/methods/auth_sendCall.md +++ b/old_docs/API_docs_v25/methods/auth_sendCall.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCall +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCall` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/auth_sendCode.md b/old_docs/API_docs_v25/methods/auth_sendCode.md index 6896bc05..a9009e4b 100644 --- a/old_docs/API_docs_v25/methods/auth_sendCode.md +++ b/old_docs/API_docs_v25/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +phone_number - Json encoded string +sms_type - Json encoded int +api_id - Json encoded int +api_hash - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/auth_sendInvites.md b/old_docs/API_docs_v25/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v25/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v25/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/auth_sendSms.md b/old_docs/API_docs_v25/methods/auth_sendSms.md index 3653ccdd..5e62431c 100644 --- a/old_docs/API_docs_v25/methods/auth_sendSms.md +++ b/old_docs/API_docs_v25/methods/auth_sendSms.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendSms +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendSms` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/auth_signIn.md b/old_docs/API_docs_v25/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v25/methods/auth_signIn.md +++ b/old_docs/API_docs_v25/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/auth_signUp.md b/old_docs/API_docs_v25/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v25/methods/auth_signUp.md +++ b/old_docs/API_docs_v25/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/contacts_block.md b/old_docs/API_docs_v25/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v25/methods/contacts_block.md +++ b/old_docs/API_docs_v25/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/contacts_deleteContact.md b/old_docs/API_docs_v25/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v25/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v25/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/contacts_deleteContacts.md b/old_docs/API_docs_v25/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v25/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/contacts_exportCard.md b/old_docs/API_docs_v25/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v25/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v25/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/methods/contacts_getBlocked.md b/old_docs/API_docs_v25/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v25/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v25/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/contacts_getContacts.md b/old_docs/API_docs_v25/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v25/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/contacts_getStatuses.md b/old_docs/API_docs_v25/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v25/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v25/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/methods/contacts_getSuggested.md b/old_docs/API_docs_v25/methods/contacts_getSuggested.md index 1c9a532d..66e4c1b3 100644 --- a/old_docs/API_docs_v25/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v25/methods/contacts_getSuggested.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getSuggested +* params - {"limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getSuggested` + +Parameters: + +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/contacts_importCard.md b/old_docs/API_docs_v25/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v25/methods/contacts_importCard.md +++ b/old_docs/API_docs_v25/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/contacts_importContacts.md b/old_docs/API_docs_v25/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v25/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v25/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/contacts_resolveUsername.md b/old_docs/API_docs_v25/methods/contacts_resolveUsername.md index b9880602..06cce35c 100644 --- a/old_docs/API_docs_v25/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v25/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/contacts_search.md b/old_docs/API_docs_v25/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v25/methods/contacts_search.md +++ b/old_docs/API_docs_v25/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/contacts_unblock.md b/old_docs/API_docs_v25/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v25/methods/contacts_unblock.md +++ b/old_docs/API_docs_v25/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/geochats_checkin.md b/old_docs/API_docs_v25/methods/geochats_checkin.md index df1295d3..7a94d009 100644 --- a/old_docs/API_docs_v25/methods/geochats_checkin.md +++ b/old_docs/API_docs_v25/methods/geochats_checkin.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.checkin +* params - {"peer":"InputGeoChat"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.checkin` + +Parameters: + +peer - Json encoded InputGeoChat + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/geochats_createGeoChat.md b/old_docs/API_docs_v25/methods/geochats_createGeoChat.md index dfc710c7..231b5c06 100644 --- a/old_docs/API_docs_v25/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v25/methods/geochats_createGeoChat.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => string, 'geo_point' => InputGeoPoint, 'address' => string, 'venue' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.createGeoChat +* params - {"title":"string","geo_point":"InputGeoPoint","address":"string","venue":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.createGeoChat` + +Parameters: + +title - Json encoded string +geo_point - Json encoded InputGeoPoint +address - Json encoded string +venue - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md index 698a41be..e6f1522c 100644 --- a/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/geochats_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.editChatPhoto +* params - {"peer":"InputGeoChat","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.editChatPhoto` + +Parameters: + +peer - Json encoded InputGeoChat +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/geochats_editChatTitle.md b/old_docs/API_docs_v25/methods/geochats_editChatTitle.md index 7587cbab..0c542231 100644 --- a/old_docs/API_docs_v25/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v25/methods/geochats_editChatTitle.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => string, 'address' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.editChatTitle +* params - {"peer":"InputGeoChat","title":"string","address":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.editChatTitle` + +Parameters: + +peer - Json encoded InputGeoChat +title - Json encoded string +address - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/geochats_getFullChat.md b/old_docs/API_docs_v25/methods/geochats_getFullChat.md index ba291e0c..0f021e0e 100644 --- a/old_docs/API_docs_v25/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v25/methods/geochats_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.getFullChat +* params - {"peer":"InputGeoChat"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.getFullChat` + +Parameters: + +peer - Json encoded InputGeoChat + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/geochats_getHistory.md b/old_docs/API_docs_v25/methods/geochats_getHistory.md index 86aadefe..b671011f 100644 --- a/old_docs/API_docs_v25/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v25/methods/geochats_getHistory.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $geochats_Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.getHistory +* params - {"peer":"InputGeoChat","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.getHistory` + +Parameters: + +peer - Json encoded InputGeoChat +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/geochats_getLocated.md b/old_docs/API_docs_v25/methods/geochats_getLocated.md index 592490cd..3beab19e 100644 --- a/old_docs/API_docs_v25/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v25/methods/geochats_getLocated.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $geochats_Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.getLocated +* params - {"geo_point":"InputGeoPoint","radius":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.getLocated` + +Parameters: + +geo_point - Json encoded InputGeoPoint +radius - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/geochats_getRecents.md b/old_docs/API_docs_v25/methods/geochats_getRecents.md index 294152ba..b8c7a2f2 100644 --- a/old_docs/API_docs_v25/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v25/methods/geochats_getRecents.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $geochats_Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.getRecents +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.getRecents` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/geochats_search.md b/old_docs/API_docs_v25/methods/geochats_search.md index b5607464..33512fb1 100644 --- a/old_docs/API_docs_v25/methods/geochats_search.md +++ b/old_docs/API_docs_v25/methods/geochats_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.search +* params - {"peer":"InputGeoChat","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.search` + +Parameters: + +peer - Json encoded InputGeoChat +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/geochats_sendMedia.md b/old_docs/API_docs_v25/methods/geochats_sendMedia.md index 56c2098f..77ac28f7 100644 --- a/old_docs/API_docs_v25/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v25/methods/geochats_sendMedia.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.sendMedia +* params - {"peer":"InputGeoChat","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.sendMedia` + +Parameters: + +peer - Json encoded InputGeoChat +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/geochats_sendMessage.md b/old_docs/API_docs_v25/methods/geochats_sendMessage.md index bfcff1a2..95f36b1a 100644 --- a/old_docs/API_docs_v25/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v25/methods/geochats_sendMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.sendMessage +* params - {"peer":"InputGeoChat","message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.sendMessage` + +Parameters: + +peer - Json encoded InputGeoChat +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/geochats_setTyping.md b/old_docs/API_docs_v25/methods/geochats_setTyping.md index 3ca86a0a..b4483f71 100644 --- a/old_docs/API_docs_v25/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v25/methods/geochats_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->geochats->setTyping(['peer' => InputGeoChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.setTyping +* params - {"peer":"InputGeoChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.setTyping` + +Parameters: + +peer - Json encoded InputGeoChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/help_getAppUpdate.md b/old_docs/API_docs_v25/methods/help_getAppUpdate.md index b52e83e8..58430792 100644 --- a/old_docs/API_docs_v25/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v25/methods/help_getAppUpdate.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/help_getConfig.md b/old_docs/API_docs_v25/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v25/methods/help_getConfig.md +++ b/old_docs/API_docs_v25/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/methods/help_getInviteText.md b/old_docs/API_docs_v25/methods/help_getInviteText.md index 2d9c4653..ec75a17f 100644 --- a/old_docs/API_docs_v25/methods/help_getInviteText.md +++ b/old_docs/API_docs_v25/methods/help_getInviteText.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/help_getNearestDc.md b/old_docs/API_docs_v25/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v25/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v25/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/methods/help_getSupport.md b/old_docs/API_docs_v25/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v25/methods/help_getSupport.md +++ b/old_docs/API_docs_v25/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/methods/help_saveAppLog.md b/old_docs/API_docs_v25/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v25/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v25/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/initConnection.md b/old_docs/API_docs_v25/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v25/methods/initConnection.md +++ b/old_docs/API_docs_v25/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/invokeAfterMsg.md b/old_docs/API_docs_v25/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v25/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v25/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/invokeAfterMsgs.md b/old_docs/API_docs_v25/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v25/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v25/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/invokeWithLayer.md b/old_docs/API_docs_v25/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v25/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v25/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_acceptEncryption.md b/old_docs/API_docs_v25/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v25/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v25/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_addChatUser.md b/old_docs/API_docs_v25/methods/messages_addChatUser.md index 27d3e9e4..2fbe221b 100644 --- a/old_docs/API_docs_v25/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v25/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_createChat.md b/old_docs/API_docs_v25/methods/messages_createChat.md index e38f22d1..9eb4b9db 100644 --- a/old_docs/API_docs_v25/methods/messages_createChat.md +++ b/old_docs/API_docs_v25/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_deleteChatUser.md b/old_docs/API_docs_v25/methods/messages_deleteChatUser.md index fca941c5..b5241a5a 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v25/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_deleteHistory.md b/old_docs/API_docs_v25/methods/messages_deleteHistory.md index 50cb66a0..1182a891 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v25/methods/messages_deleteHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"peer":"InputPeer","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +peer - Json encoded InputPeer +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_deleteMessages.md b/old_docs/API_docs_v25/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v25/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v25/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_discardEncryption.md b/old_docs/API_docs_v25/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v25/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v25/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_editChatPhoto.md b/old_docs/API_docs_v25/methods/messages_editChatPhoto.md index 8059f2c6..dce891c9 100644 --- a/old_docs/API_docs_v25/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v25/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_editChatTitle.md b/old_docs/API_docs_v25/methods/messages_editChatTitle.md index 57df4da0..204a61ef 100644 --- a/old_docs/API_docs_v25/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v25/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_forwardMessage.md b/old_docs/API_docs_v25/methods/messages_forwardMessage.md index b4458464..b1b12d62 100644 --- a/old_docs/API_docs_v25/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v25/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_forwardMessages.md b/old_docs/API_docs_v25/methods/messages_forwardMessages.md index bd6a9875..a3226dc8 100644 --- a/old_docs/API_docs_v25/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v25/methods/messages_forwardMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"peer":"InputPeer","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_getAllStickers.md b/old_docs/API_docs_v25/methods/messages_getAllStickers.md index 91961b0e..35ba6f74 100644 --- a/old_docs/API_docs_v25/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v25/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_getChats.md b/old_docs/API_docs_v25/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v25/methods/messages_getChats.md +++ b/old_docs/API_docs_v25/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_getDhConfig.md b/old_docs/API_docs_v25/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v25/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v25/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_getDialogs.md b/old_docs/API_docs_v25/methods/messages_getDialogs.md index f929de3b..bb46805d 100644 --- a/old_docs/API_docs_v25/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v25/methods/messages_getDialogs.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_getFullChat.md b/old_docs/API_docs_v25/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v25/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v25/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_getHistory.md b/old_docs/API_docs_v25/methods/messages_getHistory.md index c7cf0b9b..e0d42140 100644 --- a/old_docs/API_docs_v25/methods/messages_getHistory.md +++ b/old_docs/API_docs_v25/methods/messages_getHistory.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_getMessages.md b/old_docs/API_docs_v25/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v25/methods/messages_getMessages.md +++ b/old_docs/API_docs_v25/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_getStickers.md b/old_docs/API_docs_v25/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v25/methods/messages_getStickers.md +++ b/old_docs/API_docs_v25/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v25/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_readHistory.md b/old_docs/API_docs_v25/methods/messages_readHistory.md index dc13f6f6..e07ef5a3 100644 --- a/old_docs/API_docs_v25/methods/messages_readHistory.md +++ b/old_docs/API_docs_v25/methods/messages_readHistory.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_readMessageContents.md b/old_docs/API_docs_v25/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v25/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v25/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_receivedMessages.md b/old_docs/API_docs_v25/methods/messages_receivedMessages.md index 19e8313b..7384bbb3 100644 --- a/old_docs/API_docs_v25/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v25/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_receivedQueue.md b/old_docs/API_docs_v25/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v25/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v25/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_requestEncryption.md b/old_docs/API_docs_v25/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v25/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v25/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_search.md b/old_docs/API_docs_v25/methods/messages_search.md index d53456d0..a0485ebe 100644 --- a/old_docs/API_docs_v25/methods/messages_search.md +++ b/old_docs/API_docs_v25/methods/messages_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_sendBroadcast.md b/old_docs/API_docs_v25/methods/messages_sendBroadcast.md index 2badc4e0..3c8a6d1e 100644 --- a/old_docs/API_docs_v25/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v25/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_sendEncrypted.md b/old_docs/API_docs_v25/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v25/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_sendMedia.md b/old_docs/API_docs_v25/methods/messages_sendMedia.md index ac0163a3..51ae49d8 100644 --- a/old_docs/API_docs_v25/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v25/methods/messages_sendMedia.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_sendMessage.md b/old_docs/API_docs_v25/methods/messages_sendMessage.md index 0bceedab..175bdc58 100644 --- a/old_docs/API_docs_v25/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v25/methods/messages_sendMessage.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"peer":"InputPeer","reply_to_msg_id":"int","message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v25/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/messages_setTyping.md b/old_docs/API_docs_v25/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v25/methods/messages_setTyping.md +++ b/old_docs/API_docs_v25/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/photos_deletePhotos.md b/old_docs/API_docs_v25/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v25/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v25/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/photos_getUserPhotos.md b/old_docs/API_docs_v25/methods/photos_getUserPhotos.md index 257ec1ba..cadae34a 100644 --- a/old_docs/API_docs_v25/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v25/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v25/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v25/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/updates_getDifference.md b/old_docs/API_docs_v25/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v25/methods/updates_getDifference.md +++ b/old_docs/API_docs_v25/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/updates_getState.md b/old_docs/API_docs_v25/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v25/methods/updates_getState.md +++ b/old_docs/API_docs_v25/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v25/methods/upload_getFile.md b/old_docs/API_docs_v25/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v25/methods/upload_getFile.md +++ b/old_docs/API_docs_v25/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v25/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/upload_saveFilePart.md b/old_docs/API_docs_v25/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v25/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v25/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/users_getFullUser.md b/old_docs/API_docs_v25/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v25/methods/users_getFullUser.md +++ b/old_docs/API_docs_v25/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v25/methods/users_getUsers.md b/old_docs/API_docs_v25/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v25/methods/users_getUsers.md +++ b/old_docs/API_docs_v25/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/constructors/accountDaysTTL.md b/old_docs/API_docs_v27/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v27/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v27/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/account_authorizations.md b/old_docs/API_docs_v27/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v27/constructors/account_authorizations.md +++ b/old_docs/API_docs_v27/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/account_noPassword.md b/old_docs/API_docs_v27/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v27/constructors/account_noPassword.md +++ b/old_docs/API_docs_v27/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/account_password.md b/old_docs/API_docs_v27/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v27/constructors/account_password.md +++ b/old_docs/API_docs_v27/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v27/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v27/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v27/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/account_passwordSettings.md b/old_docs/API_docs_v27/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v27/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v27/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/account_privacyRules.md b/old_docs/API_docs_v27/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v27/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v27/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md index 77fbeb66..1b776018 100644 --- a/old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v27/constructors/account_sentChangePhoneCode.md @@ -25,6 +25,13 @@ description: account_sentChangePhoneCode attributes, type and example $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/audio.md b/old_docs/API_docs_v27/constructors/audio.md index 9b29a0fb..6201866c 100644 --- a/old_docs/API_docs_v27/constructors/audio.md +++ b/old_docs/API_docs_v27/constructors/audio.md @@ -31,6 +31,13 @@ description: audio attributes, type and example $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audio","id":"long","access_hash":"long","user_id":"int","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/audioEmpty.md b/old_docs/API_docs_v27/constructors/audioEmpty.md index 7a3b8772..72e43b19 100644 --- a/old_docs/API_docs_v27/constructors/audioEmpty.md +++ b/old_docs/API_docs_v27/constructors/audioEmpty.md @@ -24,6 +24,13 @@ description: audioEmpty attributes, type and example $audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audioEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/auth_authorization.md b/old_docs/API_docs_v27/constructors/auth_authorization.md index f0ae81f3..e8a16730 100644 --- a/old_docs/API_docs_v27/constructors/auth_authorization.md +++ b/old_docs/API_docs_v27/constructors/auth_authorization.md @@ -25,6 +25,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'expires' => int, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","expires":"int","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/auth_checkedPhone.md b/old_docs/API_docs_v27/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v27/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v27/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v27/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v27/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v27/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v27/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/auth_sentAppCode.md b/old_docs/API_docs_v27/constructors/auth_sentAppCode.md index d0d99104..4288276f 100644 --- a/old_docs/API_docs_v27/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v27/constructors/auth_sentAppCode.md @@ -27,6 +27,13 @@ description: auth_sentAppCode attributes, type and example $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/auth_sentCode.md b/old_docs/API_docs_v27/constructors/auth_sentCode.md index edadb37e..d393aeae 100644 --- a/old_docs/API_docs_v27/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v27/constructors/auth_sentCode.md @@ -27,6 +27,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/authorization.md b/old_docs/API_docs_v27/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v27/constructors/authorization.md +++ b/old_docs/API_docs_v27/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/chat.md b/old_docs/API_docs_v27/constructors/chat.md index 0babaaea..43c20df0 100644 --- a/old_docs/API_docs_v27/constructors/chat.md +++ b/old_docs/API_docs_v27/constructors/chat.md @@ -30,6 +30,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","left":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/chatEmpty.md b/old_docs/API_docs_v27/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v27/constructors/chatEmpty.md +++ b/old_docs/API_docs_v27/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/chatForbidden.md b/old_docs/API_docs_v27/constructors/chatForbidden.md index cfbad26b..00ff4521 100644 --- a/old_docs/API_docs_v27/constructors/chatForbidden.md +++ b/old_docs/API_docs_v27/constructors/chatForbidden.md @@ -26,6 +26,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/chatFull.md b/old_docs/API_docs_v27/constructors/chatFull.md index fdb65921..9bf2e470 100644 --- a/old_docs/API_docs_v27/constructors/chatFull.md +++ b/old_docs/API_docs_v27/constructors/chatFull.md @@ -27,6 +27,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/chatLocated.md b/old_docs/API_docs_v27/constructors/chatLocated.md index d8c9f41c..75537f7a 100644 --- a/old_docs/API_docs_v27/constructors/chatLocated.md +++ b/old_docs/API_docs_v27/constructors/chatLocated.md @@ -25,6 +25,13 @@ description: chatLocated attributes, type and example $chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatLocated","chat_id":"int","distance":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/chatParticipant.md b/old_docs/API_docs_v27/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v27/constructors/chatParticipant.md +++ b/old_docs/API_docs_v27/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/chatParticipants.md b/old_docs/API_docs_v27/constructors/chatParticipants.md index 181b2f88..ff71f0b9 100644 --- a/old_docs/API_docs_v27/constructors/chatParticipants.md +++ b/old_docs/API_docs_v27/constructors/chatParticipants.md @@ -27,6 +27,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v27/constructors/chatParticipantsForbidden.md index 29a129a6..a7061ce0 100644 --- a/old_docs/API_docs_v27/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v27/constructors/chatParticipantsForbidden.md @@ -24,6 +24,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/chatPhoto.md b/old_docs/API_docs_v27/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v27/constructors/chatPhoto.md +++ b/old_docs/API_docs_v27/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v27/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v27/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v27/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/config.md b/old_docs/API_docs_v27/constructors/config.md index 4795f2ed..6eb0aaea 100644 --- a/old_docs/API_docs_v27/constructors/config.md +++ b/old_docs/API_docs_v27/constructors/config.md @@ -39,6 +39,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contact.md b/old_docs/API_docs_v27/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v27/constructors/contact.md +++ b/old_docs/API_docs_v27/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contactBlocked.md b/old_docs/API_docs_v27/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v27/constructors/contactBlocked.md +++ b/old_docs/API_docs_v27/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contactFound.md b/old_docs/API_docs_v27/constructors/contactFound.md index 0bc886b5..2b164dd9 100644 --- a/old_docs/API_docs_v27/constructors/contactFound.md +++ b/old_docs/API_docs_v27/constructors/contactFound.md @@ -24,6 +24,13 @@ description: contactFound attributes, type and example $contactFound = ['_' => 'contactFound', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactFound","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contactLinkContact.md b/old_docs/API_docs_v27/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v27/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v27/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v27/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v27/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v27/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contactLinkNone.md b/old_docs/API_docs_v27/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v27/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v27/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contactLinkUnknown.md b/old_docs/API_docs_v27/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v27/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v27/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contactStatus.md b/old_docs/API_docs_v27/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v27/constructors/contactStatus.md +++ b/old_docs/API_docs_v27/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contactSuggested.md b/old_docs/API_docs_v27/constructors/contactSuggested.md index cf53fa55..0508f837 100644 --- a/old_docs/API_docs_v27/constructors/contactSuggested.md +++ b/old_docs/API_docs_v27/constructors/contactSuggested.md @@ -25,6 +25,13 @@ description: contactSuggested attributes, type and example $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contacts_blocked.md b/old_docs/API_docs_v27/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v27/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v27/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v27/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v27/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v27/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contacts_contacts.md b/old_docs/API_docs_v27/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v27/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v27/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v27/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contacts_found.md b/old_docs/API_docs_v27/constructors/contacts_found.md index fb0db932..98f22b0e 100644 --- a/old_docs/API_docs_v27/constructors/contacts_found.md +++ b/old_docs/API_docs_v27/constructors/contacts_found.md @@ -25,6 +25,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["ContactFound"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contacts_importedContacts.md b/old_docs/API_docs_v27/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v27/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v27/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contacts_link.md b/old_docs/API_docs_v27/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v27/constructors/contacts_link.md +++ b/old_docs/API_docs_v27/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/contacts_suggested.md b/old_docs/API_docs_v27/constructors/contacts_suggested.md index 90ff7671..e4dd4100 100644 --- a/old_docs/API_docs_v27/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v27/constructors/contacts_suggested.md @@ -25,6 +25,13 @@ description: contacts_suggested attributes, type and example $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/dcOption.md b/old_docs/API_docs_v27/constructors/dcOption.md index ec71fae3..a6e9a02f 100644 --- a/old_docs/API_docs_v27/constructors/dcOption.md +++ b/old_docs/API_docs_v27/constructors/dcOption.md @@ -27,6 +27,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","id":"int","hostname":"string","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/dialog.md b/old_docs/API_docs_v27/constructors/dialog.md index 9c6f4d43..d706225d 100644 --- a/old_docs/API_docs_v27/constructors/dialog.md +++ b/old_docs/API_docs_v27/constructors/dialog.md @@ -28,6 +28,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/disabledFeature.md b/old_docs/API_docs_v27/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v27/constructors/disabledFeature.md +++ b/old_docs/API_docs_v27/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/document.md b/old_docs/API_docs_v27/constructors/document.md index 7153e5a6..7e3482ad 100644 --- a/old_docs/API_docs_v27/constructors/document.md +++ b/old_docs/API_docs_v27/constructors/document.md @@ -31,6 +31,13 @@ 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, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v27/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/documentAttributeAudio.md b/old_docs/API_docs_v27/constructors/documentAttributeAudio.md index 90a8fc2f..6479c10b 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeAudio.md @@ -24,6 +24,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","duration":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/documentAttributeFilename.md b/old_docs/API_docs_v27/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v27/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/documentAttributeSticker.md b/old_docs/API_docs_v27/constructors/documentAttributeSticker.md index b2ac43b2..43f36feb 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeSticker.md @@ -24,6 +24,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/documentAttributeVideo.md b/old_docs/API_docs_v27/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v27/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v27/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/documentEmpty.md b/old_docs/API_docs_v27/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v27/constructors/documentEmpty.md +++ b/old_docs/API_docs_v27/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/encryptedChat.md b/old_docs/API_docs_v27/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChat.md +++ b/old_docs/API_docs_v27/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v27/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v27/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v27/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v27/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/encryptedChatRequested.md b/old_docs/API_docs_v27/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v27/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v27/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v27/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v27/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/encryptedFile.md b/old_docs/API_docs_v27/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v27/constructors/encryptedFile.md +++ b/old_docs/API_docs_v27/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v27/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v27/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v27/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/encryptedMessage.md b/old_docs/API_docs_v27/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v27/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v27/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/encryptedMessageService.md b/old_docs/API_docs_v27/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v27/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v27/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/error.md b/old_docs/API_docs_v27/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v27/constructors/error.md +++ b/old_docs/API_docs_v27/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/fileLocation.md b/old_docs/API_docs_v27/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v27/constructors/fileLocation.md +++ b/old_docs/API_docs_v27/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v27/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v27/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v27/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/geoChat.md b/old_docs/API_docs_v27/constructors/geoChat.md index 6b90cca6..26d7c67b 100644 --- a/old_docs/API_docs_v27/constructors/geoChat.md +++ b/old_docs/API_docs_v27/constructors/geoChat.md @@ -34,6 +34,13 @@ description: geoChat attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/geoChatMessage.md b/old_docs/API_docs_v27/constructors/geoChatMessage.md index 7686f218..278791f0 100644 --- a/old_docs/API_docs_v27/constructors/geoChatMessage.md +++ b/old_docs/API_docs_v27/constructors/geoChatMessage.md @@ -29,6 +29,13 @@ description: geoChatMessage attributes, type and example $geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoChatMessage","chat_id":"int","id":"int","from_id":"int","date":"int","message":"string","media":"MessageMedia"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/geoChatMessageEmpty.md b/old_docs/API_docs_v27/constructors/geoChatMessageEmpty.md index 847f81dc..403d5713 100644 --- a/old_docs/API_docs_v27/constructors/geoChatMessageEmpty.md +++ b/old_docs/API_docs_v27/constructors/geoChatMessageEmpty.md @@ -25,6 +25,13 @@ description: geoChatMessageEmpty attributes, type and example $geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoChatMessageEmpty","chat_id":"int","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/geoChatMessageService.md b/old_docs/API_docs_v27/constructors/geoChatMessageService.md index 87643056..b17d00d2 100644 --- a/old_docs/API_docs_v27/constructors/geoChatMessageService.md +++ b/old_docs/API_docs_v27/constructors/geoChatMessageService.md @@ -28,6 +28,13 @@ description: geoChatMessageService attributes, type and example $geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoChatMessageService","chat_id":"int","id":"int","from_id":"int","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/geoPoint.md b/old_docs/API_docs_v27/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v27/constructors/geoPoint.md +++ b/old_docs/API_docs_v27/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/geoPointEmpty.md b/old_docs/API_docs_v27/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v27/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v27/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/geochats_located.md b/old_docs/API_docs_v27/constructors/geochats_located.md index 80fb126e..f5f47dd1 100644 --- a/old_docs/API_docs_v27/constructors/geochats_located.md +++ b/old_docs/API_docs_v27/constructors/geochats_located.md @@ -27,6 +27,13 @@ description: geochats_located attributes, type and example $geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated], 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geochats.located","results":["ChatLocated"],"messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/geochats_messages.md b/old_docs/API_docs_v27/constructors/geochats_messages.md index 9a3db02d..03667532 100644 --- a/old_docs/API_docs_v27/constructors/geochats_messages.md +++ b/old_docs/API_docs_v27/constructors/geochats_messages.md @@ -26,6 +26,13 @@ description: geochats_messages attributes, type and example $geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geochats.messages","messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/geochats_messagesSlice.md b/old_docs/API_docs_v27/constructors/geochats_messagesSlice.md index 0d68cc8d..5e9babba 100644 --- a/old_docs/API_docs_v27/constructors/geochats_messagesSlice.md +++ b/old_docs/API_docs_v27/constructors/geochats_messagesSlice.md @@ -27,6 +27,13 @@ description: geochats_messagesSlice attributes, type and example $geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geochats.messagesSlice","count":"int","messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/geochats_statedMessage.md b/old_docs/API_docs_v27/constructors/geochats_statedMessage.md index b8a9bacd..2adc55a4 100644 --- a/old_docs/API_docs_v27/constructors/geochats_statedMessage.md +++ b/old_docs/API_docs_v27/constructors/geochats_statedMessage.md @@ -27,6 +27,13 @@ description: geochats_statedMessage attributes, type and example $geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat], 'users' => [User], 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geochats.statedMessage","message":"GeoChatMessage","chats":["Chat"],"users":["User"],"seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/help_appUpdate.md b/old_docs/API_docs_v27/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v27/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v27/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/help_inviteText.md b/old_docs/API_docs_v27/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v27/constructors/help_inviteText.md +++ b/old_docs/API_docs_v27/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/help_noAppUpdate.md b/old_docs/API_docs_v27/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v27/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v27/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/help_support.md b/old_docs/API_docs_v27/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v27/constructors/help_support.md +++ b/old_docs/API_docs_v27/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/importedContact.md b/old_docs/API_docs_v27/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v27/constructors/importedContact.md +++ b/old_docs/API_docs_v27/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputAppEvent.md b/old_docs/API_docs_v27/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v27/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v27/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputAudio.md b/old_docs/API_docs_v27/constructors/inputAudio.md index f618b74f..a75e690f 100644 --- a/old_docs/API_docs_v27/constructors/inputAudio.md +++ b/old_docs/API_docs_v27/constructors/inputAudio.md @@ -25,6 +25,13 @@ description: inputAudio attributes, type and example $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudio","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputAudioEmpty.md b/old_docs/API_docs_v27/constructors/inputAudioEmpty.md index f5ca1a6c..4de803d5 100644 --- a/old_docs/API_docs_v27/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputAudioEmpty.md @@ -19,6 +19,13 @@ description: inputAudioEmpty attributes, type and example $inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v27/constructors/inputAudioFileLocation.md index 8624b224..25650826 100644 --- a/old_docs/API_docs_v27/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputAudioFileLocation.md @@ -25,6 +25,13 @@ description: inputAudioFileLocation attributes, type and example $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputChatPhoto.md b/old_docs/API_docs_v27/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v27/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v27/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v27/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v27/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v27/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputDocument.md b/old_docs/API_docs_v27/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v27/constructors/inputDocument.md +++ b/old_docs/API_docs_v27/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v27/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v27/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v27/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v27/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputEncryptedChat.md b/old_docs/API_docs_v27/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputEncryptedFile.md b/old_docs/API_docs_v27/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v27/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v27/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v27/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v27/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v27/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v27/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputFile.md b/old_docs/API_docs_v27/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v27/constructors/inputFile.md +++ b/old_docs/API_docs_v27/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputFileBig.md b/old_docs/API_docs_v27/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v27/constructors/inputFileBig.md +++ b/old_docs/API_docs_v27/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputFileLocation.md b/old_docs/API_docs_v27/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v27/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputGeoChat.md b/old_docs/API_docs_v27/constructors/inputGeoChat.md index 6403757a..4841c285 100644 --- a/old_docs/API_docs_v27/constructors/inputGeoChat.md +++ b/old_docs/API_docs_v27/constructors/inputGeoChat.md @@ -25,6 +25,13 @@ description: inputGeoChat attributes, type and example $inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputGeoPoint.md b/old_docs/API_docs_v27/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v27/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v27/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v27/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v27/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMediaAudio.md b/old_docs/API_docs_v27/constructors/inputMediaAudio.md index 6f477b8b..0c83afd5 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v27/constructors/inputMediaAudio.md @@ -24,6 +24,13 @@ description: inputMediaAudio attributes, type and example $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaAudio","id":"InputAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMediaContact.md b/old_docs/API_docs_v27/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v27/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMediaDocument.md b/old_docs/API_docs_v27/constructors/inputMediaDocument.md index 2aa74093..231c733f 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v27/constructors/inputMediaDocument.md @@ -24,6 +24,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMediaEmpty.md b/old_docs/API_docs_v27/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v27/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v27/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMediaPhoto.md b/old_docs/API_docs_v27/constructors/inputMediaPhoto.md index 5430b0c0..9746ce43 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputMediaPhoto.md @@ -24,6 +24,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v27/constructors/inputMediaUploadedAudio.md index ad427e4f..e3298757 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedAudio.md @@ -26,6 +26,13 @@ description: inputMediaUploadedAudio attributes, type and example $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v27/constructors/inputMediaUploadedDocument.md index 7afb9494..d36bed64 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedDocument.md @@ -26,6 +26,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v27/constructors/inputMediaUploadedPhoto.md index 7618adbc..4b7ac5a3 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedPhoto.md @@ -24,6 +24,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbDocument.md index 6711d93a..843b4415 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbVideo.md index 61d02a02..ef54d767 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedThumbVideo.md @@ -29,6 +29,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v27/constructors/inputMediaUploadedVideo.md index d75d5795..bdd5527a 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMediaUploadedVideo.md @@ -28,6 +28,13 @@ description: inputMediaUploadedVideo attributes, type and example $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMediaVideo.md b/old_docs/API_docs_v27/constructors/inputMediaVideo.md index 75058665..07251b4a 100644 --- a/old_docs/API_docs_v27/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMediaVideo.md @@ -24,6 +24,13 @@ description: inputMediaVideo attributes, type and example $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVideo","id":"InputVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterAudio.md index c326c700..2c8e29fe 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterAudio.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudio attributes, type and example $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v27/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v27/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v27/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputNotifyAll.md b/old_docs/API_docs_v27/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputNotifyChats.md b/old_docs/API_docs_v27/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputNotifyGeoChatPeer.md b/old_docs/API_docs_v27/constructors/inputNotifyGeoChatPeer.md index 11b52da3..82927289 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyGeoChatPeer.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyGeoChatPeer.md @@ -24,6 +24,13 @@ description: inputNotifyGeoChatPeer attributes, type and example $inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyGeoChatPeer","peer":"InputGeoChat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputNotifyPeer.md b/old_docs/API_docs_v27/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputNotifyUsers.md b/old_docs/API_docs_v27/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v27/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v27/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPeerChat.md b/old_docs/API_docs_v27/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v27/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPeerContact.md b/old_docs/API_docs_v27/constructors/inputPeerContact.md index c469f6f5..88d5488b 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerContact.md +++ b/old_docs/API_docs_v27/constructors/inputPeerContact.md @@ -24,6 +24,13 @@ description: inputPeerContact attributes, type and example $inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerContact","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPeerEmpty.md b/old_docs/API_docs_v27/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPeerForeign.md b/old_docs/API_docs_v27/constructors/inputPeerForeign.md index 700743ce..003416ba 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerForeign.md +++ b/old_docs/API_docs_v27/constructors/inputPeerForeign.md @@ -25,6 +25,13 @@ description: inputPeerForeign attributes, type and example $inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerForeign","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v27/constructors/inputPeerNotifySettings.md index d4c26a38..4881d26e 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v27/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPeerSelf.md b/old_docs/API_docs_v27/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v27/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v27/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPhoneContact.md b/old_docs/API_docs_v27/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v27/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v27/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPhoto.md b/old_docs/API_docs_v27/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v27/constructors/inputPhoto.md +++ b/old_docs/API_docs_v27/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPhotoCrop.md b/old_docs/API_docs_v27/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v27/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v27/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v27/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v27/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v27/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v27/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v27/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputUserContact.md b/old_docs/API_docs_v27/constructors/inputUserContact.md index 40b2235a..c2b1f85c 100644 --- a/old_docs/API_docs_v27/constructors/inputUserContact.md +++ b/old_docs/API_docs_v27/constructors/inputUserContact.md @@ -24,6 +24,13 @@ description: inputUserContact attributes, type and example $inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserContact","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputUserEmpty.md b/old_docs/API_docs_v27/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v27/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputUserForeign.md b/old_docs/API_docs_v27/constructors/inputUserForeign.md index 8915ad79..1c4b6331 100644 --- a/old_docs/API_docs_v27/constructors/inputUserForeign.md +++ b/old_docs/API_docs_v27/constructors/inputUserForeign.md @@ -25,6 +25,13 @@ description: inputUserForeign attributes, type and example $inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserForeign","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputUserSelf.md b/old_docs/API_docs_v27/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v27/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v27/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputVideo.md b/old_docs/API_docs_v27/constructors/inputVideo.md index 79d5a034..e6dc5b1f 100644 --- a/old_docs/API_docs_v27/constructors/inputVideo.md +++ b/old_docs/API_docs_v27/constructors/inputVideo.md @@ -25,6 +25,13 @@ description: inputVideo attributes, type and example $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideo","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputVideoEmpty.md b/old_docs/API_docs_v27/constructors/inputVideoEmpty.md index d1f4e1ec..072ace8d 100644 --- a/old_docs/API_docs_v27/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v27/constructors/inputVideoEmpty.md @@ -19,6 +19,13 @@ description: inputVideoEmpty attributes, type and example $inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v27/constructors/inputVideoFileLocation.md index 2ae12a5c..f4c6646e 100644 --- a/old_docs/API_docs_v27/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v27/constructors/inputVideoFileLocation.md @@ -25,6 +25,13 @@ description: inputVideoFileLocation attributes, type and example $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/message.md b/old_docs/API_docs_v27/constructors/message.md index c0d84a45..92933229 100644 --- a/old_docs/API_docs_v27/constructors/message.md +++ b/old_docs/API_docs_v27/constructors/message.md @@ -32,6 +32,13 @@ description: message attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v27/constructors/messageActionChatAddUser.md index 34fd5bd6..ee6711dd 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageActionChatCreate.md b/old_docs/API_docs_v27/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v27/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v27/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v27/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v27/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v27/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v27/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageActionEmpty.md b/old_docs/API_docs_v27/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v27/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v27/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageActionGeoChatCheckin.md b/old_docs/API_docs_v27/constructors/messageActionGeoChatCheckin.md index 8a54b807..2ba609cc 100644 --- a/old_docs/API_docs_v27/constructors/messageActionGeoChatCheckin.md +++ b/old_docs/API_docs_v27/constructors/messageActionGeoChatCheckin.md @@ -19,6 +19,13 @@ description: messageActionGeoChatCheckin attributes, type and example $messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionGeoChatCheckin"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageActionGeoChatCreate.md b/old_docs/API_docs_v27/constructors/messageActionGeoChatCreate.md index dcfdc805..4cdcab63 100644 --- a/old_docs/API_docs_v27/constructors/messageActionGeoChatCreate.md +++ b/old_docs/API_docs_v27/constructors/messageActionGeoChatCreate.md @@ -25,6 +25,13 @@ description: messageActionGeoChatCreate attributes, type and example $messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => string, 'address' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionGeoChatCreate","title":"string","address":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageEmpty.md b/old_docs/API_docs_v27/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v27/constructors/messageEmpty.md +++ b/old_docs/API_docs_v27/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageMediaAudio.md b/old_docs/API_docs_v27/constructors/messageMediaAudio.md index 0bc53b5e..24ca7823 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v27/constructors/messageMediaAudio.md @@ -24,6 +24,13 @@ description: messageMediaAudio attributes, type and example $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaAudio","audio":"Audio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageMediaContact.md b/old_docs/API_docs_v27/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v27/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageMediaDocument.md b/old_docs/API_docs_v27/constructors/messageMediaDocument.md index 3d50d4ab..ec51032e 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v27/constructors/messageMediaDocument.md @@ -24,6 +24,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageMediaEmpty.md b/old_docs/API_docs_v27/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v27/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageMediaGeo.md b/old_docs/API_docs_v27/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v27/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageMediaPhoto.md b/old_docs/API_docs_v27/constructors/messageMediaPhoto.md index 82ac8b91..779e2d18 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v27/constructors/messageMediaPhoto.md @@ -24,6 +24,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v27/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v27/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageMediaVideo.md b/old_docs/API_docs_v27/constructors/messageMediaVideo.md index 8c3c8305..344e27a9 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v27/constructors/messageMediaVideo.md @@ -24,6 +24,13 @@ description: messageMediaVideo attributes, type and example $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVideo","video":"Video"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageMediaWebPage.md b/old_docs/API_docs_v27/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v27/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v27/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messageService.md b/old_docs/API_docs_v27/constructors/messageService.md index fab2a256..28c8207f 100644 --- a/old_docs/API_docs_v27/constructors/messageService.md +++ b/old_docs/API_docs_v27/constructors/messageService.md @@ -28,6 +28,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_affectedHistory.md b/old_docs/API_docs_v27/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v27/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v27/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_affectedMessages.md b/old_docs/API_docs_v27/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v27/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v27/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_allStickers.md b/old_docs/API_docs_v27/constructors/messages_allStickers.md index bc9ee93f..7fc711c1 100644 --- a/old_docs/API_docs_v27/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v27/constructors/messages_allStickers.md @@ -26,6 +26,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"string","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v27/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_chatFull.md b/old_docs/API_docs_v27/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v27/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v27/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_chats.md b/old_docs/API_docs_v27/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v27/constructors/messages_chats.md +++ b/old_docs/API_docs_v27/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_dhConfig.md b/old_docs/API_docs_v27/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v27/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v27/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v27/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_dialogs.md b/old_docs/API_docs_v27/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v27/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v27/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v27/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v27/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v27/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_messageEmpty.md b/old_docs/API_docs_v27/constructors/messages_messageEmpty.md index eb38f870..2d89fe6d 100644 --- a/old_docs/API_docs_v27/constructors/messages_messageEmpty.md +++ b/old_docs/API_docs_v27/constructors/messages_messageEmpty.md @@ -19,6 +19,13 @@ description: messages_messageEmpty attributes, type and example $messages_messageEmpty = ['_' => 'messages.messageEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messageEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_messages.md b/old_docs/API_docs_v27/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v27/constructors/messages_messages.md +++ b/old_docs/API_docs_v27/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_messagesSlice.md b/old_docs/API_docs_v27/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v27/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v27/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v27/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v27/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_sentMessage.md b/old_docs/API_docs_v27/constructors/messages_sentMessage.md index 69e8a20e..ac29f0ab 100644 --- a/old_docs/API_docs_v27/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v27/constructors/messages_sentMessage.md @@ -28,6 +28,13 @@ description: messages_sentMessage attributes, type and example $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentMessage","id":"int","date":"int","media":"MessageMedia","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md index 5733c580..dac61f4e 100644 --- a/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md @@ -30,6 +30,13 @@ description: messages_sentMessageLink attributes, type and example $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentMessageLink","id":"int","date":"int","media":"MessageMedia","pts":"int","pts_count":"int","links":["contacts_Link"],"seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_stickers.md b/old_docs/API_docs_v27/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v27/constructors/messages_stickers.md +++ b/old_docs/API_docs_v27/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v27/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v27/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v27/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/nearestDc.md b/old_docs/API_docs_v27/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v27/constructors/nearestDc.md +++ b/old_docs/API_docs_v27/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/notifyAll.md b/old_docs/API_docs_v27/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v27/constructors/notifyAll.md +++ b/old_docs/API_docs_v27/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/notifyChats.md b/old_docs/API_docs_v27/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v27/constructors/notifyChats.md +++ b/old_docs/API_docs_v27/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/notifyPeer.md b/old_docs/API_docs_v27/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v27/constructors/notifyPeer.md +++ b/old_docs/API_docs_v27/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/notifyUsers.md b/old_docs/API_docs_v27/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v27/constructors/notifyUsers.md +++ b/old_docs/API_docs_v27/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/peerChat.md b/old_docs/API_docs_v27/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v27/constructors/peerChat.md +++ b/old_docs/API_docs_v27/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v27/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v27/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v27/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v27/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v27/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v27/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/peerNotifySettings.md b/old_docs/API_docs_v27/constructors/peerNotifySettings.md index f6dc6c35..d0659143 100644 --- a/old_docs/API_docs_v27/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v27/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v27/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v27/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v27/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/peerUser.md b/old_docs/API_docs_v27/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v27/constructors/peerUser.md +++ b/old_docs/API_docs_v27/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/photo.md b/old_docs/API_docs_v27/constructors/photo.md index ca520fe8..c9d756b7 100644 --- a/old_docs/API_docs_v27/constructors/photo.md +++ b/old_docs/API_docs_v27/constructors/photo.md @@ -30,6 +30,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","user_id":"int","date":"int","caption":"string","geo":"GeoPoint","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/photoCachedSize.md b/old_docs/API_docs_v27/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v27/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v27/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/photoEmpty.md b/old_docs/API_docs_v27/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v27/constructors/photoEmpty.md +++ b/old_docs/API_docs_v27/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/photoSize.md b/old_docs/API_docs_v27/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v27/constructors/photoSize.md +++ b/old_docs/API_docs_v27/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/photoSizeEmpty.md b/old_docs/API_docs_v27/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v27/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v27/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/photos_photo.md b/old_docs/API_docs_v27/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v27/constructors/photos_photo.md +++ b/old_docs/API_docs_v27/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/photos_photos.md b/old_docs/API_docs_v27/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v27/constructors/photos_photos.md +++ b/old_docs/API_docs_v27/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/photos_photosSlice.md b/old_docs/API_docs_v27/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v27/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v27/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v27/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v27/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v27/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v27/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v27/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v27/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v27/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v27/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v27/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v27/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v27/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v27/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v27/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v27/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v27/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v27/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v27/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v27/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v27/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v27/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v27/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v27/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v27/constructors/sendMessageUploadAudioAction.md index bf7d459f..555007a0 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageUploadAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v27/constructors/sendMessageUploadDocumentAction.md index d9b187a0..a9f731b2 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageUploadDocumentAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v27/constructors/sendMessageUploadPhotoAction.md index bec5fe3b..0fb5a157 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageUploadPhotoAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v27/constructors/sendMessageUploadVideoAction.md index 75cf8a97..9d6684e0 100644 --- a/old_docs/API_docs_v27/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v27/constructors/sendMessageUploadVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/stickerPack.md b/old_docs/API_docs_v27/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v27/constructors/stickerPack.md +++ b/old_docs/API_docs_v27/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/storage_fileGif.md b/old_docs/API_docs_v27/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v27/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/storage_fileJpeg.md b/old_docs/API_docs_v27/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v27/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/storage_fileMov.md b/old_docs/API_docs_v27/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v27/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/storage_fileMp3.md b/old_docs/API_docs_v27/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v27/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/storage_fileMp4.md b/old_docs/API_docs_v27/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v27/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/storage_filePartial.md b/old_docs/API_docs_v27/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v27/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v27/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/storage_filePdf.md b/old_docs/API_docs_v27/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v27/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v27/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/storage_filePng.md b/old_docs/API_docs_v27/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v27/constructors/storage_filePng.md +++ b/old_docs/API_docs_v27/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/storage_fileUnknown.md b/old_docs/API_docs_v27/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v27/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/storage_fileWebp.md b/old_docs/API_docs_v27/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v27/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v27/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v27/constructors/updateChatParticipantAdd.md index 98f198f7..7acee0ac 100644 --- a/old_docs/API_docs_v27/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v27/constructors/updateChatParticipantAdd.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v27/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v27/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v27/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateChatParticipants.md b/old_docs/API_docs_v27/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v27/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v27/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateChatUserTyping.md b/old_docs/API_docs_v27/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v27/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v27/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateContactLink.md b/old_docs/API_docs_v27/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v27/constructors/updateContactLink.md +++ b/old_docs/API_docs_v27/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateContactRegistered.md b/old_docs/API_docs_v27/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v27/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v27/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateDcOptions.md b/old_docs/API_docs_v27/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v27/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v27/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateDeleteMessages.md b/old_docs/API_docs_v27/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v27/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v27/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v27/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v27/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v27/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v27/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v27/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v27/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateEncryption.md b/old_docs/API_docs_v27/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v27/constructors/updateEncryption.md +++ b/old_docs/API_docs_v27/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateMessageID.md b/old_docs/API_docs_v27/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v27/constructors/updateMessageID.md +++ b/old_docs/API_docs_v27/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateNewAuthorization.md b/old_docs/API_docs_v27/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v27/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v27/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v27/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v27/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v27/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateNewGeoChatMessage.md b/old_docs/API_docs_v27/constructors/updateNewGeoChatMessage.md index bf7902a0..e58cfe12 100644 --- a/old_docs/API_docs_v27/constructors/updateNewGeoChatMessage.md +++ b/old_docs/API_docs_v27/constructors/updateNewGeoChatMessage.md @@ -24,6 +24,13 @@ description: updateNewGeoChatMessage attributes, type and example $updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewGeoChatMessage","message":"GeoChatMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateNewMessage.md b/old_docs/API_docs_v27/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v27/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v27/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateNotifySettings.md b/old_docs/API_docs_v27/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v27/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v27/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updatePrivacy.md b/old_docs/API_docs_v27/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v27/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v27/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v27/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v27/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v27/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v27/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v27/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v27/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateReadMessages.md b/old_docs/API_docs_v27/constructors/updateReadMessages.md index 0cd0db19..df1e73c6 100644 --- a/old_docs/API_docs_v27/constructors/updateReadMessages.md +++ b/old_docs/API_docs_v27/constructors/updateReadMessages.md @@ -26,6 +26,13 @@ description: updateReadMessages attributes, type and example $updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateServiceNotification.md b/old_docs/API_docs_v27/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v27/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v27/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateShort.md b/old_docs/API_docs_v27/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v27/constructors/updateShort.md +++ b/old_docs/API_docs_v27/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateShortChatMessage.md b/old_docs/API_docs_v27/constructors/updateShortChatMessage.md index 75e7655c..c0246df1 100644 --- a/old_docs/API_docs_v27/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v27/constructors/updateShortChatMessage.md @@ -33,6 +33,13 @@ description: updateShortChatMessage attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateShortMessage.md b/old_docs/API_docs_v27/constructors/updateShortMessage.md index 48de7094..3911679c 100644 --- a/old_docs/API_docs_v27/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v27/constructors/updateShortMessage.md @@ -32,6 +32,13 @@ description: updateShortMessage attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateUserBlocked.md b/old_docs/API_docs_v27/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v27/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v27/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateUserName.md b/old_docs/API_docs_v27/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v27/constructors/updateUserName.md +++ b/old_docs/API_docs_v27/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateUserPhone.md b/old_docs/API_docs_v27/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v27/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v27/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateUserPhoto.md b/old_docs/API_docs_v27/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v27/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v27/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateUserStatus.md b/old_docs/API_docs_v27/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v27/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v27/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateUserTyping.md b/old_docs/API_docs_v27/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v27/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v27/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updateWebPage.md b/old_docs/API_docs_v27/constructors/updateWebPage.md index 6de5c71e..e074db1d 100644 --- a/old_docs/API_docs_v27/constructors/updateWebPage.md +++ b/old_docs/API_docs_v27/constructors/updateWebPage.md @@ -24,6 +24,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updates.md b/old_docs/API_docs_v27/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v27/constructors/updates.md +++ b/old_docs/API_docs_v27/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updatesCombined.md b/old_docs/API_docs_v27/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v27/constructors/updatesCombined.md +++ b/old_docs/API_docs_v27/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updatesTooLong.md b/old_docs/API_docs_v27/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v27/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v27/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updates_difference.md b/old_docs/API_docs_v27/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v27/constructors/updates_difference.md +++ b/old_docs/API_docs_v27/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v27/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v27/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v27/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updates_differenceSlice.md b/old_docs/API_docs_v27/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v27/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v27/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/updates_state.md b/old_docs/API_docs_v27/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v27/constructors/updates_state.md +++ b/old_docs/API_docs_v27/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/upload_file.md b/old_docs/API_docs_v27/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v27/constructors/upload_file.md +++ b/old_docs/API_docs_v27/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userContact.md b/old_docs/API_docs_v27/constructors/userContact.md index a336aa50..30c1fdd9 100644 --- a/old_docs/API_docs_v27/constructors/userContact.md +++ b/old_docs/API_docs_v27/constructors/userContact.md @@ -31,6 +31,13 @@ description: userContact attributes, type and example $userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userContact","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userDeleted.md b/old_docs/API_docs_v27/constructors/userDeleted.md index 3174753a..9fcd1e83 100644 --- a/old_docs/API_docs_v27/constructors/userDeleted.md +++ b/old_docs/API_docs_v27/constructors/userDeleted.md @@ -27,6 +27,13 @@ description: userDeleted attributes, type and example $userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userDeleted","id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userEmpty.md b/old_docs/API_docs_v27/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v27/constructors/userEmpty.md +++ b/old_docs/API_docs_v27/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userForeign.md b/old_docs/API_docs_v27/constructors/userForeign.md index 3516e956..810cce6a 100644 --- a/old_docs/API_docs_v27/constructors/userForeign.md +++ b/old_docs/API_docs_v27/constructors/userForeign.md @@ -30,6 +30,13 @@ description: userForeign attributes, type and example $userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userForeign","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userFull.md b/old_docs/API_docs_v27/constructors/userFull.md index a53b7889..fc5ce2d1 100644 --- a/old_docs/API_docs_v27/constructors/userFull.md +++ b/old_docs/API_docs_v27/constructors/userFull.md @@ -30,6 +30,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","real_first_name":"string","real_last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userProfilePhoto.md b/old_docs/API_docs_v27/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v27/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v27/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v27/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v27/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v27/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userRequest.md b/old_docs/API_docs_v27/constructors/userRequest.md index 389f70cc..948ff515 100644 --- a/old_docs/API_docs_v27/constructors/userRequest.md +++ b/old_docs/API_docs_v27/constructors/userRequest.md @@ -31,6 +31,13 @@ description: userRequest attributes, type and example $userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userRequest","id":"int","first_name":"string","last_name":"string","username":"string","access_hash":"long","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userSelf.md b/old_docs/API_docs_v27/constructors/userSelf.md index b409922f..844bd976 100644 --- a/old_docs/API_docs_v27/constructors/userSelf.md +++ b/old_docs/API_docs_v27/constructors/userSelf.md @@ -30,6 +30,13 @@ description: userSelf attributes, type and example $userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userSelf","id":"int","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userStatusEmpty.md b/old_docs/API_docs_v27/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v27/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v27/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userStatusLastMonth.md b/old_docs/API_docs_v27/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v27/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v27/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userStatusLastWeek.md b/old_docs/API_docs_v27/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v27/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v27/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userStatusOffline.md b/old_docs/API_docs_v27/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v27/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v27/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userStatusOnline.md b/old_docs/API_docs_v27/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v27/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v27/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/userStatusRecently.md b/old_docs/API_docs_v27/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v27/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v27/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/vector.md b/old_docs/API_docs_v27/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v27/constructors/vector.md +++ b/old_docs/API_docs_v27/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/video.md b/old_docs/API_docs_v27/constructors/video.md index 4dd57d8b..0654783d 100644 --- a/old_docs/API_docs_v27/constructors/video.md +++ b/old_docs/API_docs_v27/constructors/video.md @@ -35,6 +35,13 @@ description: video attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/videoEmpty.md b/old_docs/API_docs_v27/constructors/videoEmpty.md index 74b18d58..d5d10973 100644 --- a/old_docs/API_docs_v27/constructors/videoEmpty.md +++ b/old_docs/API_docs_v27/constructors/videoEmpty.md @@ -24,6 +24,13 @@ description: videoEmpty attributes, type and example $videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"videoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/wallPaper.md b/old_docs/API_docs_v27/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v27/constructors/wallPaper.md +++ b/old_docs/API_docs_v27/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/wallPaperSolid.md b/old_docs/API_docs_v27/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v27/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v27/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/webPage.md b/old_docs/API_docs_v27/constructors/webPage.md index 922daf97..9c33edd1 100644 --- a/old_docs/API_docs_v27/constructors/webPage.md +++ b/old_docs/API_docs_v27/constructors/webPage.md @@ -37,6 +37,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/webPageEmpty.md b/old_docs/API_docs_v27/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v27/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v27/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/constructors/webPagePending.md b/old_docs/API_docs_v27/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v27/constructors/webPagePending.md +++ b/old_docs/API_docs_v27/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/account_changePhone.md b/old_docs/API_docs_v27/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v27/methods/account_changePhone.md +++ b/old_docs/API_docs_v27/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_checkUsername.md b/old_docs/API_docs_v27/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v27/methods/account_checkUsername.md +++ b/old_docs/API_docs_v27/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_deleteAccount.md b/old_docs/API_docs_v27/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v27/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v27/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_getAccountTTL.md b/old_docs/API_docs_v27/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v27/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v27/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/account_getAuthorizations.md b/old_docs/API_docs_v27/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v27/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v27/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/account_getNotifySettings.md b/old_docs/API_docs_v27/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v27/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_getPassword.md b/old_docs/API_docs_v27/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v27/methods/account_getPassword.md +++ b/old_docs/API_docs_v27/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/account_getPasswordSettings.md b/old_docs/API_docs_v27/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v27/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v27/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_getPrivacy.md b/old_docs/API_docs_v27/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v27/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v27/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_getWallPapers.md b/old_docs/API_docs_v27/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v27/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v27/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/account_registerDevice.md b/old_docs/API_docs_v27/methods/account_registerDevice.md index 746ac76d..c786c6a8 100644 --- a/old_docs/API_docs_v27/methods/account_registerDevice.md +++ b/old_docs/API_docs_v27/methods/account_registerDevice.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +app_sandbox - Json encoded Bool +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_resetAuthorization.md b/old_docs/API_docs_v27/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v27/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v27/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_resetNotifySettings.md b/old_docs/API_docs_v27/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v27/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md index 002dc1ab..605bcaa3 100644 --- a/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v27/methods/account_sendChangePhoneCode.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_setAccountTTL.md b/old_docs/API_docs_v27/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v27/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v27/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_setPrivacy.md b/old_docs/API_docs_v27/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v27/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v27/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_unregisterDevice.md b/old_docs/API_docs_v27/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v27/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v27/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v27/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_updateNotifySettings.md b/old_docs/API_docs_v27/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v27/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v27/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v27/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_updateProfile.md b/old_docs/API_docs_v27/methods/account_updateProfile.md index 6e8891d0..bf1c3b8f 100644 --- a/old_docs/API_docs_v27/methods/account_updateProfile.md +++ b/old_docs/API_docs_v27/methods/account_updateProfile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_updateStatus.md b/old_docs/API_docs_v27/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v27/methods/account_updateStatus.md +++ b/old_docs/API_docs_v27/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/account_updateUsername.md b/old_docs/API_docs_v27/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v27/methods/account_updateUsername.md +++ b/old_docs/API_docs_v27/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v27/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/auth_checkPassword.md b/old_docs/API_docs_v27/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v27/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v27/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/auth_checkPhone.md b/old_docs/API_docs_v27/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v27/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v27/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/auth_exportAuthorization.md b/old_docs/API_docs_v27/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v27/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v27/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/auth_importAuthorization.md b/old_docs/API_docs_v27/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v27/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v27/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/auth_logOut.md b/old_docs/API_docs_v27/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v27/methods/auth_logOut.md +++ b/old_docs/API_docs_v27/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/auth_recoverPassword.md b/old_docs/API_docs_v27/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v27/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v27/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v27/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v27/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/auth_sendCall.md b/old_docs/API_docs_v27/methods/auth_sendCall.md index 9e50a03d..08b4d1d4 100644 --- a/old_docs/API_docs_v27/methods/auth_sendCall.md +++ b/old_docs/API_docs_v27/methods/auth_sendCall.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCall +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCall` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/auth_sendCode.md b/old_docs/API_docs_v27/methods/auth_sendCode.md index 6896bc05..a9009e4b 100644 --- a/old_docs/API_docs_v27/methods/auth_sendCode.md +++ b/old_docs/API_docs_v27/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +phone_number - Json encoded string +sms_type - Json encoded int +api_id - Json encoded int +api_hash - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/auth_sendInvites.md b/old_docs/API_docs_v27/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v27/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v27/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/auth_sendSms.md b/old_docs/API_docs_v27/methods/auth_sendSms.md index 3653ccdd..5e62431c 100644 --- a/old_docs/API_docs_v27/methods/auth_sendSms.md +++ b/old_docs/API_docs_v27/methods/auth_sendSms.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendSms +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendSms` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/auth_signIn.md b/old_docs/API_docs_v27/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v27/methods/auth_signIn.md +++ b/old_docs/API_docs_v27/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/auth_signUp.md b/old_docs/API_docs_v27/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v27/methods/auth_signUp.md +++ b/old_docs/API_docs_v27/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/contacts_block.md b/old_docs/API_docs_v27/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v27/methods/contacts_block.md +++ b/old_docs/API_docs_v27/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/contacts_deleteContact.md b/old_docs/API_docs_v27/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v27/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v27/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/contacts_deleteContacts.md b/old_docs/API_docs_v27/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v27/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/contacts_exportCard.md b/old_docs/API_docs_v27/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v27/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v27/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/contacts_getBlocked.md b/old_docs/API_docs_v27/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v27/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v27/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/contacts_getContacts.md b/old_docs/API_docs_v27/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v27/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/contacts_getStatuses.md b/old_docs/API_docs_v27/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v27/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v27/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/contacts_getSuggested.md b/old_docs/API_docs_v27/methods/contacts_getSuggested.md index 1c9a532d..66e4c1b3 100644 --- a/old_docs/API_docs_v27/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v27/methods/contacts_getSuggested.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getSuggested +* params - {"limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getSuggested` + +Parameters: + +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/contacts_importCard.md b/old_docs/API_docs_v27/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v27/methods/contacts_importCard.md +++ b/old_docs/API_docs_v27/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/contacts_importContacts.md b/old_docs/API_docs_v27/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v27/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v27/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/contacts_resolveUsername.md b/old_docs/API_docs_v27/methods/contacts_resolveUsername.md index b9880602..06cce35c 100644 --- a/old_docs/API_docs_v27/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v27/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/contacts_search.md b/old_docs/API_docs_v27/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v27/methods/contacts_search.md +++ b/old_docs/API_docs_v27/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/contacts_unblock.md b/old_docs/API_docs_v27/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v27/methods/contacts_unblock.md +++ b/old_docs/API_docs_v27/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/geochats_checkin.md b/old_docs/API_docs_v27/methods/geochats_checkin.md index df1295d3..7a94d009 100644 --- a/old_docs/API_docs_v27/methods/geochats_checkin.md +++ b/old_docs/API_docs_v27/methods/geochats_checkin.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.checkin +* params - {"peer":"InputGeoChat"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.checkin` + +Parameters: + +peer - Json encoded InputGeoChat + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/geochats_createGeoChat.md b/old_docs/API_docs_v27/methods/geochats_createGeoChat.md index dfc710c7..231b5c06 100644 --- a/old_docs/API_docs_v27/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v27/methods/geochats_createGeoChat.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => string, 'geo_point' => InputGeoPoint, 'address' => string, 'venue' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.createGeoChat +* params - {"title":"string","geo_point":"InputGeoPoint","address":"string","venue":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.createGeoChat` + +Parameters: + +title - Json encoded string +geo_point - Json encoded InputGeoPoint +address - Json encoded string +venue - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md index 698a41be..e6f1522c 100644 --- a/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v27/methods/geochats_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.editChatPhoto +* params - {"peer":"InputGeoChat","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.editChatPhoto` + +Parameters: + +peer - Json encoded InputGeoChat +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/geochats_editChatTitle.md b/old_docs/API_docs_v27/methods/geochats_editChatTitle.md index 7587cbab..0c542231 100644 --- a/old_docs/API_docs_v27/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v27/methods/geochats_editChatTitle.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => string, 'address' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.editChatTitle +* params - {"peer":"InputGeoChat","title":"string","address":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.editChatTitle` + +Parameters: + +peer - Json encoded InputGeoChat +title - Json encoded string +address - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/geochats_getFullChat.md b/old_docs/API_docs_v27/methods/geochats_getFullChat.md index ba291e0c..0f021e0e 100644 --- a/old_docs/API_docs_v27/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v27/methods/geochats_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.getFullChat +* params - {"peer":"InputGeoChat"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.getFullChat` + +Parameters: + +peer - Json encoded InputGeoChat + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/geochats_getHistory.md b/old_docs/API_docs_v27/methods/geochats_getHistory.md index 86aadefe..b671011f 100644 --- a/old_docs/API_docs_v27/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v27/methods/geochats_getHistory.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $geochats_Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.getHistory +* params - {"peer":"InputGeoChat","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.getHistory` + +Parameters: + +peer - Json encoded InputGeoChat +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/geochats_getLocated.md b/old_docs/API_docs_v27/methods/geochats_getLocated.md index 592490cd..3beab19e 100644 --- a/old_docs/API_docs_v27/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v27/methods/geochats_getLocated.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $geochats_Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.getLocated +* params - {"geo_point":"InputGeoPoint","radius":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.getLocated` + +Parameters: + +geo_point - Json encoded InputGeoPoint +radius - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/geochats_getRecents.md b/old_docs/API_docs_v27/methods/geochats_getRecents.md index 294152ba..b8c7a2f2 100644 --- a/old_docs/API_docs_v27/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v27/methods/geochats_getRecents.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $geochats_Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.getRecents +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.getRecents` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/geochats_search.md b/old_docs/API_docs_v27/methods/geochats_search.md index b5607464..33512fb1 100644 --- a/old_docs/API_docs_v27/methods/geochats_search.md +++ b/old_docs/API_docs_v27/methods/geochats_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.search +* params - {"peer":"InputGeoChat","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.search` + +Parameters: + +peer - Json encoded InputGeoChat +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/geochats_sendMedia.md b/old_docs/API_docs_v27/methods/geochats_sendMedia.md index 56c2098f..77ac28f7 100644 --- a/old_docs/API_docs_v27/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v27/methods/geochats_sendMedia.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.sendMedia +* params - {"peer":"InputGeoChat","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.sendMedia` + +Parameters: + +peer - Json encoded InputGeoChat +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/geochats_sendMessage.md b/old_docs/API_docs_v27/methods/geochats_sendMessage.md index bfcff1a2..95f36b1a 100644 --- a/old_docs/API_docs_v27/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v27/methods/geochats_sendMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.sendMessage +* params - {"peer":"InputGeoChat","message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.sendMessage` + +Parameters: + +peer - Json encoded InputGeoChat +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/geochats_setTyping.md b/old_docs/API_docs_v27/methods/geochats_setTyping.md index 3ca86a0a..b4483f71 100644 --- a/old_docs/API_docs_v27/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v27/methods/geochats_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->geochats->setTyping(['peer' => InputGeoChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.setTyping +* params - {"peer":"InputGeoChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.setTyping` + +Parameters: + +peer - Json encoded InputGeoChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/help_getAppUpdate.md b/old_docs/API_docs_v27/methods/help_getAppUpdate.md index b52e83e8..58430792 100644 --- a/old_docs/API_docs_v27/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v27/methods/help_getAppUpdate.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/help_getConfig.md b/old_docs/API_docs_v27/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v27/methods/help_getConfig.md +++ b/old_docs/API_docs_v27/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/help_getInviteText.md b/old_docs/API_docs_v27/methods/help_getInviteText.md index 2d9c4653..ec75a17f 100644 --- a/old_docs/API_docs_v27/methods/help_getInviteText.md +++ b/old_docs/API_docs_v27/methods/help_getInviteText.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/help_getNearestDc.md b/old_docs/API_docs_v27/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v27/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v27/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/help_getSupport.md b/old_docs/API_docs_v27/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v27/methods/help_getSupport.md +++ b/old_docs/API_docs_v27/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/help_saveAppLog.md b/old_docs/API_docs_v27/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v27/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v27/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/initConnection.md b/old_docs/API_docs_v27/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v27/methods/initConnection.md +++ b/old_docs/API_docs_v27/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/invokeAfterMsg.md b/old_docs/API_docs_v27/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v27/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v27/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/invokeAfterMsgs.md b/old_docs/API_docs_v27/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v27/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v27/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/invokeWithLayer.md b/old_docs/API_docs_v27/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v27/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v27/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_acceptEncryption.md b/old_docs/API_docs_v27/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v27/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v27/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_addChatUser.md b/old_docs/API_docs_v27/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v27/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v27/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_createChat.md b/old_docs/API_docs_v27/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v27/methods/messages_createChat.md +++ b/old_docs/API_docs_v27/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_deleteChatUser.md b/old_docs/API_docs_v27/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v27/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_deleteHistory.md b/old_docs/API_docs_v27/methods/messages_deleteHistory.md index 50cb66a0..1182a891 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v27/methods/messages_deleteHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"peer":"InputPeer","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +peer - Json encoded InputPeer +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_deleteMessages.md b/old_docs/API_docs_v27/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v27/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v27/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_discardEncryption.md b/old_docs/API_docs_v27/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v27/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v27/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_editChatPhoto.md b/old_docs/API_docs_v27/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v27/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v27/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_editChatTitle.md b/old_docs/API_docs_v27/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v27/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v27/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_forwardMessage.md b/old_docs/API_docs_v27/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v27/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v27/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_forwardMessages.md b/old_docs/API_docs_v27/methods/messages_forwardMessages.md index 73f7e733..e32455f5 100644 --- a/old_docs/API_docs_v27/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v27/methods/messages_forwardMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"peer":"InputPeer","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_getAllStickers.md b/old_docs/API_docs_v27/methods/messages_getAllStickers.md index 91961b0e..35ba6f74 100644 --- a/old_docs/API_docs_v27/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v27/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_getChats.md b/old_docs/API_docs_v27/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v27/methods/messages_getChats.md +++ b/old_docs/API_docs_v27/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_getDhConfig.md b/old_docs/API_docs_v27/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v27/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v27/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_getDialogs.md b/old_docs/API_docs_v27/methods/messages_getDialogs.md index f929de3b..bb46805d 100644 --- a/old_docs/API_docs_v27/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v27/methods/messages_getDialogs.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_getFullChat.md b/old_docs/API_docs_v27/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v27/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v27/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_getHistory.md b/old_docs/API_docs_v27/methods/messages_getHistory.md index c7cf0b9b..e0d42140 100644 --- a/old_docs/API_docs_v27/methods/messages_getHistory.md +++ b/old_docs/API_docs_v27/methods/messages_getHistory.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_getMessages.md b/old_docs/API_docs_v27/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v27/methods/messages_getMessages.md +++ b/old_docs/API_docs_v27/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_getStickers.md b/old_docs/API_docs_v27/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v27/methods/messages_getStickers.md +++ b/old_docs/API_docs_v27/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v27/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v27/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_readHistory.md b/old_docs/API_docs_v27/methods/messages_readHistory.md index dc13f6f6..e07ef5a3 100644 --- a/old_docs/API_docs_v27/methods/messages_readHistory.md +++ b/old_docs/API_docs_v27/methods/messages_readHistory.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_readMessageContents.md b/old_docs/API_docs_v27/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v27/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v27/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_receivedMessages.md b/old_docs/API_docs_v27/methods/messages_receivedMessages.md index 19e8313b..7384bbb3 100644 --- a/old_docs/API_docs_v27/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v27/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_receivedQueue.md b/old_docs/API_docs_v27/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v27/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v27/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_requestEncryption.md b/old_docs/API_docs_v27/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v27/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v27/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_search.md b/old_docs/API_docs_v27/methods/messages_search.md index d53456d0..a0485ebe 100644 --- a/old_docs/API_docs_v27/methods/messages_search.md +++ b/old_docs/API_docs_v27/methods/messages_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_sendBroadcast.md b/old_docs/API_docs_v27/methods/messages_sendBroadcast.md index d4af6317..81e9c7b8 100644 --- a/old_docs/API_docs_v27/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v27/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_sendEncrypted.md b/old_docs/API_docs_v27/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v27/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_sendMedia.md b/old_docs/API_docs_v27/methods/messages_sendMedia.md index fc74bae2..b9642caa 100644 --- a/old_docs/API_docs_v27/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v27/methods/messages_sendMedia.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_sendMessage.md b/old_docs/API_docs_v27/methods/messages_sendMessage.md index a5ea42ce..5626ea71 100644 --- a/old_docs/API_docs_v27/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v27/methods/messages_sendMessage.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"peer":"InputPeer","reply_to_msg_id":"int","message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v27/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/messages_setTyping.md b/old_docs/API_docs_v27/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v27/methods/messages_setTyping.md +++ b/old_docs/API_docs_v27/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/photos_deletePhotos.md b/old_docs/API_docs_v27/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v27/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v27/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/photos_getUserPhotos.md b/old_docs/API_docs_v27/methods/photos_getUserPhotos.md index 257ec1ba..cadae34a 100644 --- a/old_docs/API_docs_v27/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v27/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v27/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v27/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/updates_getDifference.md b/old_docs/API_docs_v27/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v27/methods/updates_getDifference.md +++ b/old_docs/API_docs_v27/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/updates_getState.md b/old_docs/API_docs_v27/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v27/methods/updates_getState.md +++ b/old_docs/API_docs_v27/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v27/methods/upload_getFile.md b/old_docs/API_docs_v27/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v27/methods/upload_getFile.md +++ b/old_docs/API_docs_v27/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v27/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/upload_saveFilePart.md b/old_docs/API_docs_v27/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v27/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v27/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/users_getFullUser.md b/old_docs/API_docs_v27/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v27/methods/users_getFullUser.md +++ b/old_docs/API_docs_v27/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v27/methods/users_getUsers.md b/old_docs/API_docs_v27/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v27/methods/users_getUsers.md +++ b/old_docs/API_docs_v27/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/constructors/accountDaysTTL.md b/old_docs/API_docs_v33/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v33/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v33/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/account_authorizations.md b/old_docs/API_docs_v33/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v33/constructors/account_authorizations.md +++ b/old_docs/API_docs_v33/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/account_noPassword.md b/old_docs/API_docs_v33/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v33/constructors/account_noPassword.md +++ b/old_docs/API_docs_v33/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/account_password.md b/old_docs/API_docs_v33/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v33/constructors/account_password.md +++ b/old_docs/API_docs_v33/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v33/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v33/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v33/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/account_passwordSettings.md b/old_docs/API_docs_v33/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v33/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v33/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/account_privacyRules.md b/old_docs/API_docs_v33/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v33/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v33/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md index 77fbeb66..1b776018 100644 --- a/old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v33/constructors/account_sentChangePhoneCode.md @@ -25,6 +25,13 @@ description: account_sentChangePhoneCode attributes, type and example $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/audio.md b/old_docs/API_docs_v33/constructors/audio.md index b99c9822..d0f34764 100644 --- a/old_docs/API_docs_v33/constructors/audio.md +++ b/old_docs/API_docs_v33/constructors/audio.md @@ -30,6 +30,13 @@ description: audio attributes, type and example $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/audioEmpty.md b/old_docs/API_docs_v33/constructors/audioEmpty.md index 7a3b8772..72e43b19 100644 --- a/old_docs/API_docs_v33/constructors/audioEmpty.md +++ b/old_docs/API_docs_v33/constructors/audioEmpty.md @@ -24,6 +24,13 @@ description: audioEmpty attributes, type and example $audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audioEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/auth_authorization.md b/old_docs/API_docs_v33/constructors/auth_authorization.md index 6b60d2ec..90504507 100644 --- a/old_docs/API_docs_v33/constructors/auth_authorization.md +++ b/old_docs/API_docs_v33/constructors/auth_authorization.md @@ -24,6 +24,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/auth_checkedPhone.md b/old_docs/API_docs_v33/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v33/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v33/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v33/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v33/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v33/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v33/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/auth_sentAppCode.md b/old_docs/API_docs_v33/constructors/auth_sentAppCode.md index d0d99104..4288276f 100644 --- a/old_docs/API_docs_v33/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v33/constructors/auth_sentAppCode.md @@ -27,6 +27,13 @@ description: auth_sentAppCode attributes, type and example $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/auth_sentCode.md b/old_docs/API_docs_v33/constructors/auth_sentCode.md index edadb37e..d393aeae 100644 --- a/old_docs/API_docs_v33/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v33/constructors/auth_sentCode.md @@ -27,6 +27,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/authorization.md b/old_docs/API_docs_v33/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v33/constructors/authorization.md +++ b/old_docs/API_docs_v33/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/botCommand.md b/old_docs/API_docs_v33/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v33/constructors/botCommand.md +++ b/old_docs/API_docs_v33/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/botInfo.md b/old_docs/API_docs_v33/constructors/botInfo.md index 41d6dc96..32328ee5 100644 --- a/old_docs/API_docs_v33/constructors/botInfo.md +++ b/old_docs/API_docs_v33/constructors/botInfo.md @@ -28,6 +28,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/botInfoEmpty.md b/old_docs/API_docs_v33/constructors/botInfoEmpty.md index 0466220a..0e6a5962 100644 --- a/old_docs/API_docs_v33/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v33/constructors/botInfoEmpty.md @@ -19,6 +19,13 @@ description: botInfoEmpty attributes, type and example $botInfoEmpty = ['_' => 'botInfoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chat.md b/old_docs/API_docs_v33/constructors/chat.md index 0babaaea..43c20df0 100644 --- a/old_docs/API_docs_v33/constructors/chat.md +++ b/old_docs/API_docs_v33/constructors/chat.md @@ -30,6 +30,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","left":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chatEmpty.md b/old_docs/API_docs_v33/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v33/constructors/chatEmpty.md +++ b/old_docs/API_docs_v33/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chatForbidden.md b/old_docs/API_docs_v33/constructors/chatForbidden.md index cfbad26b..00ff4521 100644 --- a/old_docs/API_docs_v33/constructors/chatForbidden.md +++ b/old_docs/API_docs_v33/constructors/chatForbidden.md @@ -26,6 +26,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chatFull.md b/old_docs/API_docs_v33/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v33/constructors/chatFull.md +++ b/old_docs/API_docs_v33/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chatInvite.md b/old_docs/API_docs_v33/constructors/chatInvite.md index 90b8cede..372e81ee 100644 --- a/old_docs/API_docs_v33/constructors/chatInvite.md +++ b/old_docs/API_docs_v33/constructors/chatInvite.md @@ -24,6 +24,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chatInviteAlready.md b/old_docs/API_docs_v33/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v33/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v33/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chatInviteEmpty.md b/old_docs/API_docs_v33/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v33/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v33/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chatInviteExported.md b/old_docs/API_docs_v33/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v33/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v33/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chatLocated.md b/old_docs/API_docs_v33/constructors/chatLocated.md index d8c9f41c..75537f7a 100644 --- a/old_docs/API_docs_v33/constructors/chatLocated.md +++ b/old_docs/API_docs_v33/constructors/chatLocated.md @@ -25,6 +25,13 @@ description: chatLocated attributes, type and example $chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatLocated","chat_id":"int","distance":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chatParticipant.md b/old_docs/API_docs_v33/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v33/constructors/chatParticipant.md +++ b/old_docs/API_docs_v33/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chatParticipants.md b/old_docs/API_docs_v33/constructors/chatParticipants.md index 181b2f88..ff71f0b9 100644 --- a/old_docs/API_docs_v33/constructors/chatParticipants.md +++ b/old_docs/API_docs_v33/constructors/chatParticipants.md @@ -27,6 +27,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v33/constructors/chatParticipantsForbidden.md index 29a129a6..a7061ce0 100644 --- a/old_docs/API_docs_v33/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v33/constructors/chatParticipantsForbidden.md @@ -24,6 +24,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chatPhoto.md b/old_docs/API_docs_v33/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v33/constructors/chatPhoto.md +++ b/old_docs/API_docs_v33/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v33/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v33/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v33/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/config.md b/old_docs/API_docs_v33/constructors/config.md index 3d22edba..324b64b2 100644 --- a/old_docs/API_docs_v33/constructors/config.md +++ b/old_docs/API_docs_v33/constructors/config.md @@ -41,6 +41,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contact.md b/old_docs/API_docs_v33/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v33/constructors/contact.md +++ b/old_docs/API_docs_v33/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contactBlocked.md b/old_docs/API_docs_v33/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v33/constructors/contactBlocked.md +++ b/old_docs/API_docs_v33/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contactFound.md b/old_docs/API_docs_v33/constructors/contactFound.md index 0bc886b5..2b164dd9 100644 --- a/old_docs/API_docs_v33/constructors/contactFound.md +++ b/old_docs/API_docs_v33/constructors/contactFound.md @@ -24,6 +24,13 @@ description: contactFound attributes, type and example $contactFound = ['_' => 'contactFound', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactFound","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contactLinkContact.md b/old_docs/API_docs_v33/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v33/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v33/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v33/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v33/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v33/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contactLinkNone.md b/old_docs/API_docs_v33/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v33/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v33/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contactLinkUnknown.md b/old_docs/API_docs_v33/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v33/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v33/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contactStatus.md b/old_docs/API_docs_v33/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v33/constructors/contactStatus.md +++ b/old_docs/API_docs_v33/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contactSuggested.md b/old_docs/API_docs_v33/constructors/contactSuggested.md index cf53fa55..0508f837 100644 --- a/old_docs/API_docs_v33/constructors/contactSuggested.md +++ b/old_docs/API_docs_v33/constructors/contactSuggested.md @@ -25,6 +25,13 @@ description: contactSuggested attributes, type and example $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contacts_blocked.md b/old_docs/API_docs_v33/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v33/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v33/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v33/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v33/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v33/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contacts_contacts.md b/old_docs/API_docs_v33/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v33/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v33/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v33/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contacts_found.md b/old_docs/API_docs_v33/constructors/contacts_found.md index fb0db932..98f22b0e 100644 --- a/old_docs/API_docs_v33/constructors/contacts_found.md +++ b/old_docs/API_docs_v33/constructors/contacts_found.md @@ -25,6 +25,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["ContactFound"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contacts_importedContacts.md b/old_docs/API_docs_v33/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v33/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v33/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contacts_link.md b/old_docs/API_docs_v33/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v33/constructors/contacts_link.md +++ b/old_docs/API_docs_v33/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/contacts_suggested.md b/old_docs/API_docs_v33/constructors/contacts_suggested.md index 90ff7671..e4dd4100 100644 --- a/old_docs/API_docs_v33/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v33/constructors/contacts_suggested.md @@ -25,6 +25,13 @@ description: contacts_suggested attributes, type and example $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/dcOption.md b/old_docs/API_docs_v33/constructors/dcOption.md index 2073b152..7a0716aa 100644 --- a/old_docs/API_docs_v33/constructors/dcOption.md +++ b/old_docs/API_docs_v33/constructors/dcOption.md @@ -26,6 +26,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/dialog.md b/old_docs/API_docs_v33/constructors/dialog.md index 9c6f4d43..d706225d 100644 --- a/old_docs/API_docs_v33/constructors/dialog.md +++ b/old_docs/API_docs_v33/constructors/dialog.md @@ -28,6 +28,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/disabledFeature.md b/old_docs/API_docs_v33/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v33/constructors/disabledFeature.md +++ b/old_docs/API_docs_v33/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/document.md b/old_docs/API_docs_v33/constructors/document.md index 7153e5a6..7e3482ad 100644 --- a/old_docs/API_docs_v33/constructors/document.md +++ b/old_docs/API_docs_v33/constructors/document.md @@ -31,6 +31,13 @@ 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, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v33/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/documentAttributeAudio.md b/old_docs/API_docs_v33/constructors/documentAttributeAudio.md index 23a48363..d56ef28d 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeAudio.md @@ -26,6 +26,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/documentAttributeFilename.md b/old_docs/API_docs_v33/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v33/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/documentAttributeSticker.md b/old_docs/API_docs_v33/constructors/documentAttributeSticker.md index 9f8168b1..3cb9fcd5 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeSticker.md @@ -25,6 +25,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/documentAttributeVideo.md b/old_docs/API_docs_v33/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v33/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v33/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/documentEmpty.md b/old_docs/API_docs_v33/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v33/constructors/documentEmpty.md +++ b/old_docs/API_docs_v33/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/encryptedChat.md b/old_docs/API_docs_v33/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChat.md +++ b/old_docs/API_docs_v33/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v33/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v33/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v33/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v33/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/encryptedChatRequested.md b/old_docs/API_docs_v33/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v33/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v33/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v33/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v33/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/encryptedFile.md b/old_docs/API_docs_v33/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v33/constructors/encryptedFile.md +++ b/old_docs/API_docs_v33/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v33/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v33/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v33/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/encryptedMessage.md b/old_docs/API_docs_v33/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v33/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v33/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/encryptedMessageService.md b/old_docs/API_docs_v33/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v33/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v33/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/error.md b/old_docs/API_docs_v33/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v33/constructors/error.md +++ b/old_docs/API_docs_v33/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/fileLocation.md b/old_docs/API_docs_v33/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v33/constructors/fileLocation.md +++ b/old_docs/API_docs_v33/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v33/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v33/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v33/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/geoChat.md b/old_docs/API_docs_v33/constructors/geoChat.md index 6b90cca6..26d7c67b 100644 --- a/old_docs/API_docs_v33/constructors/geoChat.md +++ b/old_docs/API_docs_v33/constructors/geoChat.md @@ -34,6 +34,13 @@ description: geoChat attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/geoChatMessage.md b/old_docs/API_docs_v33/constructors/geoChatMessage.md index 7686f218..278791f0 100644 --- a/old_docs/API_docs_v33/constructors/geoChatMessage.md +++ b/old_docs/API_docs_v33/constructors/geoChatMessage.md @@ -29,6 +29,13 @@ description: geoChatMessage attributes, type and example $geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoChatMessage","chat_id":"int","id":"int","from_id":"int","date":"int","message":"string","media":"MessageMedia"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/geoChatMessageEmpty.md b/old_docs/API_docs_v33/constructors/geoChatMessageEmpty.md index 847f81dc..403d5713 100644 --- a/old_docs/API_docs_v33/constructors/geoChatMessageEmpty.md +++ b/old_docs/API_docs_v33/constructors/geoChatMessageEmpty.md @@ -25,6 +25,13 @@ description: geoChatMessageEmpty attributes, type and example $geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoChatMessageEmpty","chat_id":"int","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/geoChatMessageService.md b/old_docs/API_docs_v33/constructors/geoChatMessageService.md index 87643056..b17d00d2 100644 --- a/old_docs/API_docs_v33/constructors/geoChatMessageService.md +++ b/old_docs/API_docs_v33/constructors/geoChatMessageService.md @@ -28,6 +28,13 @@ description: geoChatMessageService attributes, type and example $geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoChatMessageService","chat_id":"int","id":"int","from_id":"int","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/geoPoint.md b/old_docs/API_docs_v33/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v33/constructors/geoPoint.md +++ b/old_docs/API_docs_v33/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/geoPointEmpty.md b/old_docs/API_docs_v33/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v33/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v33/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/geochats_located.md b/old_docs/API_docs_v33/constructors/geochats_located.md index 80fb126e..f5f47dd1 100644 --- a/old_docs/API_docs_v33/constructors/geochats_located.md +++ b/old_docs/API_docs_v33/constructors/geochats_located.md @@ -27,6 +27,13 @@ description: geochats_located attributes, type and example $geochats_located = ['_' => 'geochats.located', 'results' => [ChatLocated], 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geochats.located","results":["ChatLocated"],"messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/geochats_messages.md b/old_docs/API_docs_v33/constructors/geochats_messages.md index 9a3db02d..03667532 100644 --- a/old_docs/API_docs_v33/constructors/geochats_messages.md +++ b/old_docs/API_docs_v33/constructors/geochats_messages.md @@ -26,6 +26,13 @@ description: geochats_messages attributes, type and example $geochats_messages = ['_' => 'geochats.messages', 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geochats.messages","messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/geochats_messagesSlice.md b/old_docs/API_docs_v33/constructors/geochats_messagesSlice.md index 0d68cc8d..5e9babba 100644 --- a/old_docs/API_docs_v33/constructors/geochats_messagesSlice.md +++ b/old_docs/API_docs_v33/constructors/geochats_messagesSlice.md @@ -27,6 +27,13 @@ description: geochats_messagesSlice attributes, type and example $geochats_messagesSlice = ['_' => 'geochats.messagesSlice', 'count' => int, 'messages' => [GeoChatMessage], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geochats.messagesSlice","count":"int","messages":["GeoChatMessage"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/geochats_statedMessage.md b/old_docs/API_docs_v33/constructors/geochats_statedMessage.md index b8a9bacd..2adc55a4 100644 --- a/old_docs/API_docs_v33/constructors/geochats_statedMessage.md +++ b/old_docs/API_docs_v33/constructors/geochats_statedMessage.md @@ -27,6 +27,13 @@ description: geochats_statedMessage attributes, type and example $geochats_statedMessage = ['_' => 'geochats.statedMessage', 'message' => GeoChatMessage, 'chats' => [Chat], 'users' => [User], 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geochats.statedMessage","message":"GeoChatMessage","chats":["Chat"],"users":["User"],"seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/help_appChangelog.md b/old_docs/API_docs_v33/constructors/help_appChangelog.md index 77c1c338..67e40e85 100644 --- a/old_docs/API_docs_v33/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v33/constructors/help_appChangelog.md @@ -24,6 +24,13 @@ description: help_appChangelog attributes, type and example $help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelog","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md index abbb4865..f6ab5ace 100644 --- a/old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v33/constructors/help_appChangelogEmpty.md @@ -19,6 +19,13 @@ description: help_appChangelogEmpty attributes, type and example $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelogEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/help_appUpdate.md b/old_docs/API_docs_v33/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v33/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v33/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/help_inviteText.md b/old_docs/API_docs_v33/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v33/constructors/help_inviteText.md +++ b/old_docs/API_docs_v33/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/help_noAppUpdate.md b/old_docs/API_docs_v33/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v33/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v33/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/help_support.md b/old_docs/API_docs_v33/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v33/constructors/help_support.md +++ b/old_docs/API_docs_v33/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/importedContact.md b/old_docs/API_docs_v33/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v33/constructors/importedContact.md +++ b/old_docs/API_docs_v33/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputAppEvent.md b/old_docs/API_docs_v33/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v33/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v33/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputAudio.md b/old_docs/API_docs_v33/constructors/inputAudio.md index f618b74f..a75e690f 100644 --- a/old_docs/API_docs_v33/constructors/inputAudio.md +++ b/old_docs/API_docs_v33/constructors/inputAudio.md @@ -25,6 +25,13 @@ description: inputAudio attributes, type and example $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudio","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputAudioEmpty.md b/old_docs/API_docs_v33/constructors/inputAudioEmpty.md index f5ca1a6c..4de803d5 100644 --- a/old_docs/API_docs_v33/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputAudioEmpty.md @@ -19,6 +19,13 @@ description: inputAudioEmpty attributes, type and example $inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v33/constructors/inputAudioFileLocation.md index 8624b224..25650826 100644 --- a/old_docs/API_docs_v33/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputAudioFileLocation.md @@ -25,6 +25,13 @@ description: inputAudioFileLocation attributes, type and example $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputChatPhoto.md b/old_docs/API_docs_v33/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v33/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v33/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v33/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v33/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v33/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputDocument.md b/old_docs/API_docs_v33/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v33/constructors/inputDocument.md +++ b/old_docs/API_docs_v33/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v33/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v33/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v33/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v33/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputEncryptedChat.md b/old_docs/API_docs_v33/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputEncryptedFile.md b/old_docs/API_docs_v33/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v33/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v33/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v33/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v33/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v33/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v33/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputFile.md b/old_docs/API_docs_v33/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v33/constructors/inputFile.md +++ b/old_docs/API_docs_v33/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputFileBig.md b/old_docs/API_docs_v33/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v33/constructors/inputFileBig.md +++ b/old_docs/API_docs_v33/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputFileLocation.md b/old_docs/API_docs_v33/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v33/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputGeoChat.md b/old_docs/API_docs_v33/constructors/inputGeoChat.md index 6403757a..4841c285 100644 --- a/old_docs/API_docs_v33/constructors/inputGeoChat.md +++ b/old_docs/API_docs_v33/constructors/inputGeoChat.md @@ -25,6 +25,13 @@ description: inputGeoChat attributes, type and example $inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputGeoPoint.md b/old_docs/API_docs_v33/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v33/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v33/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v33/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v33/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaAudio.md b/old_docs/API_docs_v33/constructors/inputMediaAudio.md index 6f477b8b..0c83afd5 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v33/constructors/inputMediaAudio.md @@ -24,6 +24,13 @@ description: inputMediaAudio attributes, type and example $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaAudio","id":"InputAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaContact.md b/old_docs/API_docs_v33/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v33/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaDocument.md b/old_docs/API_docs_v33/constructors/inputMediaDocument.md index 2aa74093..231c733f 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v33/constructors/inputMediaDocument.md @@ -24,6 +24,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaEmpty.md b/old_docs/API_docs_v33/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v33/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v33/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaPhoto.md b/old_docs/API_docs_v33/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v33/constructors/inputMediaUploadedAudio.md index ad427e4f..e3298757 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedAudio.md @@ -26,6 +26,13 @@ description: inputMediaUploadedAudio attributes, type and example $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v33/constructors/inputMediaUploadedDocument.md index 7afb9494..d36bed64 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedDocument.md @@ -26,6 +26,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v33/constructors/inputMediaUploadedPhoto.md index 0c4c9135..923fd903 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbDocument.md index 6711d93a..843b4415 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbVideo.md index 4f3cd27f..9a2ad8bb 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedThumbVideo.md @@ -29,6 +29,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v33/constructors/inputMediaUploadedVideo.md index fa19a632..fbd27e16 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMediaUploadedVideo.md @@ -28,6 +28,13 @@ description: inputMediaUploadedVideo attributes, type and example $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaVenue.md b/old_docs/API_docs_v33/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v33/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMediaVideo.md b/old_docs/API_docs_v33/constructors/inputMediaVideo.md index 7539e85c..8626bf3d 100644 --- a/old_docs/API_docs_v33/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMediaVideo.md @@ -25,6 +25,13 @@ description: inputMediaVideo attributes, type and example $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterAudio.md index c326c700..2c8e29fe 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterAudio.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudio attributes, type and example $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md index 9d6d7b67..8b876e5e 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudioDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v33/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v33/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v33/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputNotifyAll.md b/old_docs/API_docs_v33/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputNotifyChats.md b/old_docs/API_docs_v33/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputNotifyGeoChatPeer.md b/old_docs/API_docs_v33/constructors/inputNotifyGeoChatPeer.md index 11b52da3..82927289 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyGeoChatPeer.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyGeoChatPeer.md @@ -24,6 +24,13 @@ description: inputNotifyGeoChatPeer attributes, type and example $inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyGeoChatPeer","peer":"InputGeoChat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputNotifyPeer.md b/old_docs/API_docs_v33/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputNotifyUsers.md b/old_docs/API_docs_v33/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v33/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v33/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPeerChat.md b/old_docs/API_docs_v33/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v33/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPeerEmpty.md b/old_docs/API_docs_v33/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v33/constructors/inputPeerNotifySettings.md index d4c26a38..4881d26e 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v33/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPeerSelf.md b/old_docs/API_docs_v33/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v33/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPeerUser.md b/old_docs/API_docs_v33/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v33/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v33/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPhoneContact.md b/old_docs/API_docs_v33/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v33/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v33/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPhoto.md b/old_docs/API_docs_v33/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v33/constructors/inputPhoto.md +++ b/old_docs/API_docs_v33/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPhotoCrop.md b/old_docs/API_docs_v33/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v33/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v33/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v33/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v33/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v33/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v33/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v33/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v33/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v33/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputStickerSetID.md b/old_docs/API_docs_v33/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v33/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v33/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v33/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v33/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v33/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputUser.md b/old_docs/API_docs_v33/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v33/constructors/inputUser.md +++ b/old_docs/API_docs_v33/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputUserEmpty.md b/old_docs/API_docs_v33/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v33/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputUserSelf.md b/old_docs/API_docs_v33/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v33/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v33/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputVideo.md b/old_docs/API_docs_v33/constructors/inputVideo.md index 79d5a034..e6dc5b1f 100644 --- a/old_docs/API_docs_v33/constructors/inputVideo.md +++ b/old_docs/API_docs_v33/constructors/inputVideo.md @@ -25,6 +25,13 @@ description: inputVideo attributes, type and example $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideo","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputVideoEmpty.md b/old_docs/API_docs_v33/constructors/inputVideoEmpty.md index d1f4e1ec..072ace8d 100644 --- a/old_docs/API_docs_v33/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v33/constructors/inputVideoEmpty.md @@ -19,6 +19,13 @@ description: inputVideoEmpty attributes, type and example $inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v33/constructors/inputVideoFileLocation.md index 2ae12a5c..f4c6646e 100644 --- a/old_docs/API_docs_v33/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v33/constructors/inputVideoFileLocation.md @@ -25,6 +25,13 @@ description: inputVideoFileLocation attributes, type and example $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/keyboardButton.md b/old_docs/API_docs_v33/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v33/constructors/keyboardButton.md +++ b/old_docs/API_docs_v33/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/keyboardButtonRow.md b/old_docs/API_docs_v33/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v33/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v33/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/message.md b/old_docs/API_docs_v33/constructors/message.md index 5911898f..300ae130 100644 --- a/old_docs/API_docs_v33/constructors/message.md +++ b/old_docs/API_docs_v33/constructors/message.md @@ -33,6 +33,13 @@ description: message attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v33/constructors/messageActionChatAddUser.md index 34fd5bd6..ee6711dd 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageActionChatCreate.md b/old_docs/API_docs_v33/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v33/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v33/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v33/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v33/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v33/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v33/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v33/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageActionEmpty.md b/old_docs/API_docs_v33/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v33/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v33/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageActionGeoChatCheckin.md b/old_docs/API_docs_v33/constructors/messageActionGeoChatCheckin.md index 8a54b807..2ba609cc 100644 --- a/old_docs/API_docs_v33/constructors/messageActionGeoChatCheckin.md +++ b/old_docs/API_docs_v33/constructors/messageActionGeoChatCheckin.md @@ -19,6 +19,13 @@ description: messageActionGeoChatCheckin attributes, type and example $messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionGeoChatCheckin"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageActionGeoChatCreate.md b/old_docs/API_docs_v33/constructors/messageActionGeoChatCreate.md index dcfdc805..4cdcab63 100644 --- a/old_docs/API_docs_v33/constructors/messageActionGeoChatCreate.md +++ b/old_docs/API_docs_v33/constructors/messageActionGeoChatCreate.md @@ -25,6 +25,13 @@ description: messageActionGeoChatCreate attributes, type and example $messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => string, 'address' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionGeoChatCreate","title":"string","address":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageEmpty.md b/old_docs/API_docs_v33/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v33/constructors/messageEmpty.md +++ b/old_docs/API_docs_v33/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageMediaAudio.md b/old_docs/API_docs_v33/constructors/messageMediaAudio.md index 0bc53b5e..24ca7823 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v33/constructors/messageMediaAudio.md @@ -24,6 +24,13 @@ description: messageMediaAudio attributes, type and example $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaAudio","audio":"Audio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageMediaContact.md b/old_docs/API_docs_v33/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v33/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageMediaDocument.md b/old_docs/API_docs_v33/constructors/messageMediaDocument.md index 3d50d4ab..ec51032e 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v33/constructors/messageMediaDocument.md @@ -24,6 +24,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageMediaEmpty.md b/old_docs/API_docs_v33/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v33/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageMediaGeo.md b/old_docs/API_docs_v33/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v33/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageMediaPhoto.md b/old_docs/API_docs_v33/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v33/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v33/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v33/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageMediaVenue.md b/old_docs/API_docs_v33/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v33/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageMediaVideo.md b/old_docs/API_docs_v33/constructors/messageMediaVideo.md index 42a6ac76..8e72030c 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v33/constructors/messageMediaVideo.md @@ -25,6 +25,13 @@ description: messageMediaVideo attributes, type and example $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVideo","video":"Video","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageMediaWebPage.md b/old_docs/API_docs_v33/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v33/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v33/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messageService.md b/old_docs/API_docs_v33/constructors/messageService.md index fab2a256..28c8207f 100644 --- a/old_docs/API_docs_v33/constructors/messageService.md +++ b/old_docs/API_docs_v33/constructors/messageService.md @@ -28,6 +28,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_affectedHistory.md b/old_docs/API_docs_v33/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v33/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v33/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_affectedMessages.md b/old_docs/API_docs_v33/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v33/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v33/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_allStickers.md b/old_docs/API_docs_v33/constructors/messages_allStickers.md index 972ba615..21c13447 100644 --- a/old_docs/API_docs_v33/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v33/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"string","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v33/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_chatFull.md b/old_docs/API_docs_v33/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v33/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v33/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_chats.md b/old_docs/API_docs_v33/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v33/constructors/messages_chats.md +++ b/old_docs/API_docs_v33/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_dhConfig.md b/old_docs/API_docs_v33/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v33/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v33/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v33/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_dialogs.md b/old_docs/API_docs_v33/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v33/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v33/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v33/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v33/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v33/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_messageEmpty.md b/old_docs/API_docs_v33/constructors/messages_messageEmpty.md index eb38f870..2d89fe6d 100644 --- a/old_docs/API_docs_v33/constructors/messages_messageEmpty.md +++ b/old_docs/API_docs_v33/constructors/messages_messageEmpty.md @@ -19,6 +19,13 @@ description: messages_messageEmpty attributes, type and example $messages_messageEmpty = ['_' => 'messages.messageEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messageEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_messages.md b/old_docs/API_docs_v33/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v33/constructors/messages_messages.md +++ b/old_docs/API_docs_v33/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_messagesSlice.md b/old_docs/API_docs_v33/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v33/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v33/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v33/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v33/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_sentMessage.md b/old_docs/API_docs_v33/constructors/messages_sentMessage.md index 69e8a20e..ac29f0ab 100644 --- a/old_docs/API_docs_v33/constructors/messages_sentMessage.md +++ b/old_docs/API_docs_v33/constructors/messages_sentMessage.md @@ -28,6 +28,13 @@ description: messages_sentMessage attributes, type and example $messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentMessage","id":"int","date":"int","media":"MessageMedia","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md index 5733c580..dac61f4e 100644 --- a/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md @@ -30,6 +30,13 @@ description: messages_sentMessageLink attributes, type and example $messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentMessageLink","id":"int","date":"int","media":"MessageMedia","pts":"int","pts_count":"int","links":["contacts_Link"],"seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_stickerSet.md b/old_docs/API_docs_v33/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v33/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v33/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_stickers.md b/old_docs/API_docs_v33/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v33/constructors/messages_stickers.md +++ b/old_docs/API_docs_v33/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v33/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v33/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v33/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/nearestDc.md b/old_docs/API_docs_v33/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v33/constructors/nearestDc.md +++ b/old_docs/API_docs_v33/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/notifyAll.md b/old_docs/API_docs_v33/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v33/constructors/notifyAll.md +++ b/old_docs/API_docs_v33/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/notifyChats.md b/old_docs/API_docs_v33/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v33/constructors/notifyChats.md +++ b/old_docs/API_docs_v33/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/notifyPeer.md b/old_docs/API_docs_v33/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v33/constructors/notifyPeer.md +++ b/old_docs/API_docs_v33/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/notifyUsers.md b/old_docs/API_docs_v33/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v33/constructors/notifyUsers.md +++ b/old_docs/API_docs_v33/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/peerChat.md b/old_docs/API_docs_v33/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v33/constructors/peerChat.md +++ b/old_docs/API_docs_v33/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v33/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v33/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v33/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v33/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v33/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v33/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/peerNotifySettings.md b/old_docs/API_docs_v33/constructors/peerNotifySettings.md index f6dc6c35..d0659143 100644 --- a/old_docs/API_docs_v33/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v33/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v33/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v33/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v33/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/peerUser.md b/old_docs/API_docs_v33/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v33/constructors/peerUser.md +++ b/old_docs/API_docs_v33/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/photo.md b/old_docs/API_docs_v33/constructors/photo.md index f9c9582a..2aaa4efd 100644 --- a/old_docs/API_docs_v33/constructors/photo.md +++ b/old_docs/API_docs_v33/constructors/photo.md @@ -27,6 +27,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/photoCachedSize.md b/old_docs/API_docs_v33/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v33/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v33/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/photoEmpty.md b/old_docs/API_docs_v33/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v33/constructors/photoEmpty.md +++ b/old_docs/API_docs_v33/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/photoSize.md b/old_docs/API_docs_v33/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v33/constructors/photoSize.md +++ b/old_docs/API_docs_v33/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/photoSizeEmpty.md b/old_docs/API_docs_v33/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v33/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v33/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/photos_photo.md b/old_docs/API_docs_v33/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v33/constructors/photos_photo.md +++ b/old_docs/API_docs_v33/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/photos_photos.md b/old_docs/API_docs_v33/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v33/constructors/photos_photos.md +++ b/old_docs/API_docs_v33/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/photos_photosSlice.md b/old_docs/API_docs_v33/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v33/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v33/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v33/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v33/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v33/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v33/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v33/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v33/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v33/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v33/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v33/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v33/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v33/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v33/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v33/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v33/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v33/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v33/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v33/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v33/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v33/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v33/constructors/replyKeyboardForceReply.md index cd9fb737..5c84d9bc 100644 --- a/old_docs/API_docs_v33/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v33/constructors/replyKeyboardForceReply.md @@ -23,6 +23,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/replyKeyboardHide.md b/old_docs/API_docs_v33/constructors/replyKeyboardHide.md index 03169187..f857f46e 100644 --- a/old_docs/API_docs_v33/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v33/constructors/replyKeyboardHide.md @@ -23,6 +23,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v33/constructors/replyKeyboardMarkup.md index 306da01f..6c97277b 100644 --- a/old_docs/API_docs_v33/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v33/constructors/replyKeyboardMarkup.md @@ -24,6 +24,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v33/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v33/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v33/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v33/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v33/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v33/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v33/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v33/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v33/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v33/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v33/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v33/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/stickerPack.md b/old_docs/API_docs_v33/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v33/constructors/stickerPack.md +++ b/old_docs/API_docs_v33/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/stickerSet.md b/old_docs/API_docs_v33/constructors/stickerSet.md index a5a9ce73..1af551dd 100644 --- a/old_docs/API_docs_v33/constructors/stickerSet.md +++ b/old_docs/API_docs_v33/constructors/stickerSet.md @@ -29,6 +29,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/storage_fileGif.md b/old_docs/API_docs_v33/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v33/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/storage_fileJpeg.md b/old_docs/API_docs_v33/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v33/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/storage_fileMov.md b/old_docs/API_docs_v33/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v33/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/storage_fileMp3.md b/old_docs/API_docs_v33/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v33/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/storage_fileMp4.md b/old_docs/API_docs_v33/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v33/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/storage_filePartial.md b/old_docs/API_docs_v33/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v33/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v33/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/storage_filePdf.md b/old_docs/API_docs_v33/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v33/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v33/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/storage_filePng.md b/old_docs/API_docs_v33/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v33/constructors/storage_filePng.md +++ b/old_docs/API_docs_v33/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/storage_fileUnknown.md b/old_docs/API_docs_v33/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v33/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/storage_fileWebp.md b/old_docs/API_docs_v33/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v33/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v33/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v33/constructors/updateChatParticipantAdd.md index 98f198f7..7acee0ac 100644 --- a/old_docs/API_docs_v33/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v33/constructors/updateChatParticipantAdd.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v33/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v33/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v33/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateChatParticipants.md b/old_docs/API_docs_v33/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v33/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v33/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateChatUserTyping.md b/old_docs/API_docs_v33/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v33/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v33/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateContactLink.md b/old_docs/API_docs_v33/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v33/constructors/updateContactLink.md +++ b/old_docs/API_docs_v33/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateContactRegistered.md b/old_docs/API_docs_v33/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v33/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v33/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateDcOptions.md b/old_docs/API_docs_v33/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v33/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v33/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateDeleteMessages.md b/old_docs/API_docs_v33/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v33/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v33/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v33/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v33/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v33/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v33/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v33/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v33/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateEncryption.md b/old_docs/API_docs_v33/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v33/constructors/updateEncryption.md +++ b/old_docs/API_docs_v33/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateMessageID.md b/old_docs/API_docs_v33/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v33/constructors/updateMessageID.md +++ b/old_docs/API_docs_v33/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateNewAuthorization.md b/old_docs/API_docs_v33/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v33/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v33/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v33/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v33/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v33/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateNewGeoChatMessage.md b/old_docs/API_docs_v33/constructors/updateNewGeoChatMessage.md index bf7902a0..e58cfe12 100644 --- a/old_docs/API_docs_v33/constructors/updateNewGeoChatMessage.md +++ b/old_docs/API_docs_v33/constructors/updateNewGeoChatMessage.md @@ -24,6 +24,13 @@ description: updateNewGeoChatMessage attributes, type and example $updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewGeoChatMessage","message":"GeoChatMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateNewMessage.md b/old_docs/API_docs_v33/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v33/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v33/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateNotifySettings.md b/old_docs/API_docs_v33/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v33/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v33/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updatePrivacy.md b/old_docs/API_docs_v33/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v33/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v33/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v33/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v33/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v33/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v33/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v33/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v33/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v33/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v33/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v33/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateServiceNotification.md b/old_docs/API_docs_v33/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v33/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v33/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateShort.md b/old_docs/API_docs_v33/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v33/constructors/updateShort.md +++ b/old_docs/API_docs_v33/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateShortChatMessage.md b/old_docs/API_docs_v33/constructors/updateShortChatMessage.md index 75e7655c..c0246df1 100644 --- a/old_docs/API_docs_v33/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v33/constructors/updateShortChatMessage.md @@ -33,6 +33,13 @@ description: updateShortChatMessage attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateShortMessage.md b/old_docs/API_docs_v33/constructors/updateShortMessage.md index 48de7094..3911679c 100644 --- a/old_docs/API_docs_v33/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v33/constructors/updateShortMessage.md @@ -32,6 +32,13 @@ description: updateShortMessage attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateUserBlocked.md b/old_docs/API_docs_v33/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v33/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v33/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateUserName.md b/old_docs/API_docs_v33/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v33/constructors/updateUserName.md +++ b/old_docs/API_docs_v33/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateUserPhone.md b/old_docs/API_docs_v33/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v33/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v33/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateUserPhoto.md b/old_docs/API_docs_v33/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v33/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v33/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateUserStatus.md b/old_docs/API_docs_v33/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v33/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v33/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateUserTyping.md b/old_docs/API_docs_v33/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v33/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v33/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updateWebPage.md b/old_docs/API_docs_v33/constructors/updateWebPage.md index 6de5c71e..e074db1d 100644 --- a/old_docs/API_docs_v33/constructors/updateWebPage.md +++ b/old_docs/API_docs_v33/constructors/updateWebPage.md @@ -24,6 +24,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updates.md b/old_docs/API_docs_v33/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v33/constructors/updates.md +++ b/old_docs/API_docs_v33/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updatesCombined.md b/old_docs/API_docs_v33/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v33/constructors/updatesCombined.md +++ b/old_docs/API_docs_v33/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updatesTooLong.md b/old_docs/API_docs_v33/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v33/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v33/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updates_difference.md b/old_docs/API_docs_v33/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v33/constructors/updates_difference.md +++ b/old_docs/API_docs_v33/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v33/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v33/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v33/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updates_differenceSlice.md b/old_docs/API_docs_v33/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v33/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v33/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/updates_state.md b/old_docs/API_docs_v33/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v33/constructors/updates_state.md +++ b/old_docs/API_docs_v33/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/upload_file.md b/old_docs/API_docs_v33/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v33/constructors/upload_file.md +++ b/old_docs/API_docs_v33/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/user.md b/old_docs/API_docs_v33/constructors/user.md index 252aab1c..fa220e68 100644 --- a/old_docs/API_docs_v33/constructors/user.md +++ b/old_docs/API_docs_v33/constructors/user.md @@ -32,6 +32,13 @@ description: user attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","id":"int","access_hash":"long","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus","bot_info_version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/userEmpty.md b/old_docs/API_docs_v33/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v33/constructors/userEmpty.md +++ b/old_docs/API_docs_v33/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/userFull.md b/old_docs/API_docs_v33/constructors/userFull.md index eec3fa8c..2e6da813 100644 --- a/old_docs/API_docs_v33/constructors/userFull.md +++ b/old_docs/API_docs_v33/constructors/userFull.md @@ -29,6 +29,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/userProfilePhoto.md b/old_docs/API_docs_v33/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v33/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v33/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v33/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v33/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v33/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/userStatusEmpty.md b/old_docs/API_docs_v33/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v33/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v33/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/userStatusLastMonth.md b/old_docs/API_docs_v33/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v33/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v33/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/userStatusLastWeek.md b/old_docs/API_docs_v33/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v33/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v33/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/userStatusOffline.md b/old_docs/API_docs_v33/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v33/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v33/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/userStatusOnline.md b/old_docs/API_docs_v33/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v33/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v33/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/userStatusRecently.md b/old_docs/API_docs_v33/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v33/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v33/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/vector.md b/old_docs/API_docs_v33/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v33/constructors/vector.md +++ b/old_docs/API_docs_v33/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/video.md b/old_docs/API_docs_v33/constructors/video.md index 7c15f909..d1e2e49e 100644 --- a/old_docs/API_docs_v33/constructors/video.md +++ b/old_docs/API_docs_v33/constructors/video.md @@ -33,6 +33,13 @@ description: video attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/videoEmpty.md b/old_docs/API_docs_v33/constructors/videoEmpty.md index 74b18d58..d5d10973 100644 --- a/old_docs/API_docs_v33/constructors/videoEmpty.md +++ b/old_docs/API_docs_v33/constructors/videoEmpty.md @@ -24,6 +24,13 @@ description: videoEmpty attributes, type and example $videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"videoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/wallPaper.md b/old_docs/API_docs_v33/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v33/constructors/wallPaper.md +++ b/old_docs/API_docs_v33/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/wallPaperSolid.md b/old_docs/API_docs_v33/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v33/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v33/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/webPage.md b/old_docs/API_docs_v33/constructors/webPage.md index 922daf97..9c33edd1 100644 --- a/old_docs/API_docs_v33/constructors/webPage.md +++ b/old_docs/API_docs_v33/constructors/webPage.md @@ -37,6 +37,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/webPageEmpty.md b/old_docs/API_docs_v33/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v33/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v33/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/constructors/webPagePending.md b/old_docs/API_docs_v33/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v33/constructors/webPagePending.md +++ b/old_docs/API_docs_v33/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/account_changePhone.md b/old_docs/API_docs_v33/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v33/methods/account_changePhone.md +++ b/old_docs/API_docs_v33/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_checkUsername.md b/old_docs/API_docs_v33/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v33/methods/account_checkUsername.md +++ b/old_docs/API_docs_v33/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_deleteAccount.md b/old_docs/API_docs_v33/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v33/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v33/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_getAccountTTL.md b/old_docs/API_docs_v33/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v33/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v33/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/account_getAuthorizations.md b/old_docs/API_docs_v33/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v33/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v33/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/account_getNotifySettings.md b/old_docs/API_docs_v33/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v33/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_getPassword.md b/old_docs/API_docs_v33/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v33/methods/account_getPassword.md +++ b/old_docs/API_docs_v33/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/account_getPasswordSettings.md b/old_docs/API_docs_v33/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v33/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v33/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_getPrivacy.md b/old_docs/API_docs_v33/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v33/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v33/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_getWallPapers.md b/old_docs/API_docs_v33/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v33/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v33/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/account_registerDevice.md b/old_docs/API_docs_v33/methods/account_registerDevice.md index 746ac76d..c786c6a8 100644 --- a/old_docs/API_docs_v33/methods/account_registerDevice.md +++ b/old_docs/API_docs_v33/methods/account_registerDevice.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +app_sandbox - Json encoded Bool +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_resetAuthorization.md b/old_docs/API_docs_v33/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v33/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v33/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_resetNotifySettings.md b/old_docs/API_docs_v33/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v33/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md index 002dc1ab..605bcaa3 100644 --- a/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v33/methods/account_sendChangePhoneCode.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_setAccountTTL.md b/old_docs/API_docs_v33/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v33/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v33/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_setPrivacy.md b/old_docs/API_docs_v33/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v33/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v33/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_unregisterDevice.md b/old_docs/API_docs_v33/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v33/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v33/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v33/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_updateNotifySettings.md b/old_docs/API_docs_v33/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v33/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v33/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v33/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_updateProfile.md b/old_docs/API_docs_v33/methods/account_updateProfile.md index 6e8891d0..bf1c3b8f 100644 --- a/old_docs/API_docs_v33/methods/account_updateProfile.md +++ b/old_docs/API_docs_v33/methods/account_updateProfile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_updateStatus.md b/old_docs/API_docs_v33/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v33/methods/account_updateStatus.md +++ b/old_docs/API_docs_v33/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/account_updateUsername.md b/old_docs/API_docs_v33/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v33/methods/account_updateUsername.md +++ b/old_docs/API_docs_v33/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v33/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/auth_checkPassword.md b/old_docs/API_docs_v33/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v33/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v33/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/auth_checkPhone.md b/old_docs/API_docs_v33/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v33/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v33/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/auth_exportAuthorization.md b/old_docs/API_docs_v33/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v33/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/auth_importAuthorization.md b/old_docs/API_docs_v33/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v33/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v33/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/auth_logOut.md b/old_docs/API_docs_v33/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v33/methods/auth_logOut.md +++ b/old_docs/API_docs_v33/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/auth_recoverPassword.md b/old_docs/API_docs_v33/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v33/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v33/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v33/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v33/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/auth_sendCall.md b/old_docs/API_docs_v33/methods/auth_sendCall.md index 9e50a03d..08b4d1d4 100644 --- a/old_docs/API_docs_v33/methods/auth_sendCall.md +++ b/old_docs/API_docs_v33/methods/auth_sendCall.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCall +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCall` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/auth_sendCode.md b/old_docs/API_docs_v33/methods/auth_sendCode.md index 6896bc05..a9009e4b 100644 --- a/old_docs/API_docs_v33/methods/auth_sendCode.md +++ b/old_docs/API_docs_v33/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +phone_number - Json encoded string +sms_type - Json encoded int +api_id - Json encoded int +api_hash - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/auth_sendInvites.md b/old_docs/API_docs_v33/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v33/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v33/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/auth_sendSms.md b/old_docs/API_docs_v33/methods/auth_sendSms.md index 3653ccdd..5e62431c 100644 --- a/old_docs/API_docs_v33/methods/auth_sendSms.md +++ b/old_docs/API_docs_v33/methods/auth_sendSms.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendSms +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendSms` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/auth_signIn.md b/old_docs/API_docs_v33/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v33/methods/auth_signIn.md +++ b/old_docs/API_docs_v33/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/auth_signUp.md b/old_docs/API_docs_v33/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v33/methods/auth_signUp.md +++ b/old_docs/API_docs_v33/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/contacts_block.md b/old_docs/API_docs_v33/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v33/methods/contacts_block.md +++ b/old_docs/API_docs_v33/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/contacts_deleteContact.md b/old_docs/API_docs_v33/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v33/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v33/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/contacts_deleteContacts.md b/old_docs/API_docs_v33/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v33/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/contacts_exportCard.md b/old_docs/API_docs_v33/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v33/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v33/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/contacts_getBlocked.md b/old_docs/API_docs_v33/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v33/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v33/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/contacts_getContacts.md b/old_docs/API_docs_v33/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v33/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/contacts_getStatuses.md b/old_docs/API_docs_v33/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v33/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v33/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/contacts_getSuggested.md b/old_docs/API_docs_v33/methods/contacts_getSuggested.md index 1c9a532d..66e4c1b3 100644 --- a/old_docs/API_docs_v33/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v33/methods/contacts_getSuggested.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getSuggested +* params - {"limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getSuggested` + +Parameters: + +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/contacts_importCard.md b/old_docs/API_docs_v33/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v33/methods/contacts_importCard.md +++ b/old_docs/API_docs_v33/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/contacts_importContacts.md b/old_docs/API_docs_v33/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v33/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v33/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/contacts_resolveUsername.md b/old_docs/API_docs_v33/methods/contacts_resolveUsername.md index b9880602..06cce35c 100644 --- a/old_docs/API_docs_v33/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v33/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/contacts_search.md b/old_docs/API_docs_v33/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v33/methods/contacts_search.md +++ b/old_docs/API_docs_v33/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/contacts_unblock.md b/old_docs/API_docs_v33/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v33/methods/contacts_unblock.md +++ b/old_docs/API_docs_v33/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/geochats_checkin.md b/old_docs/API_docs_v33/methods/geochats_checkin.md index df1295d3..7a94d009 100644 --- a/old_docs/API_docs_v33/methods/geochats_checkin.md +++ b/old_docs/API_docs_v33/methods/geochats_checkin.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.checkin +* params - {"peer":"InputGeoChat"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.checkin` + +Parameters: + +peer - Json encoded InputGeoChat + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/geochats_createGeoChat.md b/old_docs/API_docs_v33/methods/geochats_createGeoChat.md index dfc710c7..231b5c06 100644 --- a/old_docs/API_docs_v33/methods/geochats_createGeoChat.md +++ b/old_docs/API_docs_v33/methods/geochats_createGeoChat.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => string, 'geo_point' => InputGeoPoint, 'address' => string, 'venue' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.createGeoChat +* params - {"title":"string","geo_point":"InputGeoPoint","address":"string","venue":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.createGeoChat` + +Parameters: + +title - Json encoded string +geo_point - Json encoded InputGeoPoint +address - Json encoded string +venue - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md b/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md index 698a41be..e6f1522c 100644 --- a/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md +++ b/old_docs/API_docs_v33/methods/geochats_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.editChatPhoto +* params - {"peer":"InputGeoChat","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.editChatPhoto` + +Parameters: + +peer - Json encoded InputGeoChat +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/geochats_editChatTitle.md b/old_docs/API_docs_v33/methods/geochats_editChatTitle.md index 7587cbab..0c542231 100644 --- a/old_docs/API_docs_v33/methods/geochats_editChatTitle.md +++ b/old_docs/API_docs_v33/methods/geochats_editChatTitle.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => string, 'address' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.editChatTitle +* params - {"peer":"InputGeoChat","title":"string","address":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.editChatTitle` + +Parameters: + +peer - Json encoded InputGeoChat +title - Json encoded string +address - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/geochats_getFullChat.md b/old_docs/API_docs_v33/methods/geochats_getFullChat.md index ba291e0c..0f021e0e 100644 --- a/old_docs/API_docs_v33/methods/geochats_getFullChat.md +++ b/old_docs/API_docs_v33/methods/geochats_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.getFullChat +* params - {"peer":"InputGeoChat"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.getFullChat` + +Parameters: + +peer - Json encoded InputGeoChat + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/geochats_getHistory.md b/old_docs/API_docs_v33/methods/geochats_getHistory.md index 86aadefe..b671011f 100644 --- a/old_docs/API_docs_v33/methods/geochats_getHistory.md +++ b/old_docs/API_docs_v33/methods/geochats_getHistory.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $geochats_Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.getHistory +* params - {"peer":"InputGeoChat","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.getHistory` + +Parameters: + +peer - Json encoded InputGeoChat +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/geochats_getLocated.md b/old_docs/API_docs_v33/methods/geochats_getLocated.md index 592490cd..3beab19e 100644 --- a/old_docs/API_docs_v33/methods/geochats_getLocated.md +++ b/old_docs/API_docs_v33/methods/geochats_getLocated.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $geochats_Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.getLocated +* params - {"geo_point":"InputGeoPoint","radius":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.getLocated` + +Parameters: + +geo_point - Json encoded InputGeoPoint +radius - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/geochats_getRecents.md b/old_docs/API_docs_v33/methods/geochats_getRecents.md index 294152ba..b8c7a2f2 100644 --- a/old_docs/API_docs_v33/methods/geochats_getRecents.md +++ b/old_docs/API_docs_v33/methods/geochats_getRecents.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $geochats_Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.getRecents +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.getRecents` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/geochats_search.md b/old_docs/API_docs_v33/methods/geochats_search.md index b5607464..33512fb1 100644 --- a/old_docs/API_docs_v33/methods/geochats_search.md +++ b/old_docs/API_docs_v33/methods/geochats_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.search +* params - {"peer":"InputGeoChat","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.search` + +Parameters: + +peer - Json encoded InputGeoChat +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/geochats_sendMedia.md b/old_docs/API_docs_v33/methods/geochats_sendMedia.md index 56c2098f..77ac28f7 100644 --- a/old_docs/API_docs_v33/methods/geochats_sendMedia.md +++ b/old_docs/API_docs_v33/methods/geochats_sendMedia.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.sendMedia +* params - {"peer":"InputGeoChat","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.sendMedia` + +Parameters: + +peer - Json encoded InputGeoChat +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/geochats_sendMessage.md b/old_docs/API_docs_v33/methods/geochats_sendMessage.md index bfcff1a2..95f36b1a 100644 --- a/old_docs/API_docs_v33/methods/geochats_sendMessage.md +++ b/old_docs/API_docs_v33/methods/geochats_sendMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.sendMessage +* params - {"peer":"InputGeoChat","message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.sendMessage` + +Parameters: + +peer - Json encoded InputGeoChat +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/geochats_setTyping.md b/old_docs/API_docs_v33/methods/geochats_setTyping.md index 3ca86a0a..b4483f71 100644 --- a/old_docs/API_docs_v33/methods/geochats_setTyping.md +++ b/old_docs/API_docs_v33/methods/geochats_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->geochats->setTyping(['peer' => InputGeoChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - geochats.setTyping +* params - {"peer":"InputGeoChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/geochats.setTyping` + +Parameters: + +peer - Json encoded InputGeoChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/help_getAppChangelog.md b/old_docs/API_docs_v33/methods/help_getAppChangelog.md index 337c12be..b93c56db 100644 --- a/old_docs/API_docs_v33/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v33/methods/help_getAppChangelog.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/help_getAppUpdate.md b/old_docs/API_docs_v33/methods/help_getAppUpdate.md index b52e83e8..58430792 100644 --- a/old_docs/API_docs_v33/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v33/methods/help_getAppUpdate.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/help_getConfig.md b/old_docs/API_docs_v33/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v33/methods/help_getConfig.md +++ b/old_docs/API_docs_v33/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/help_getInviteText.md b/old_docs/API_docs_v33/methods/help_getInviteText.md index 2d9c4653..ec75a17f 100644 --- a/old_docs/API_docs_v33/methods/help_getInviteText.md +++ b/old_docs/API_docs_v33/methods/help_getInviteText.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/help_getNearestDc.md b/old_docs/API_docs_v33/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v33/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v33/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/help_getSupport.md b/old_docs/API_docs_v33/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v33/methods/help_getSupport.md +++ b/old_docs/API_docs_v33/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/help_saveAppLog.md b/old_docs/API_docs_v33/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v33/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v33/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/initConnection.md b/old_docs/API_docs_v33/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v33/methods/initConnection.md +++ b/old_docs/API_docs_v33/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/invokeAfterMsg.md b/old_docs/API_docs_v33/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v33/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v33/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/invokeAfterMsgs.md b/old_docs/API_docs_v33/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v33/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v33/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/invokeWithLayer.md b/old_docs/API_docs_v33/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v33/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v33/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v33/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_acceptEncryption.md b/old_docs/API_docs_v33/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v33/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v33/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_addChatUser.md b/old_docs/API_docs_v33/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v33/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v33/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_checkChatInvite.md b/old_docs/API_docs_v33/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v33/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_createChat.md b/old_docs/API_docs_v33/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v33/methods/messages_createChat.md +++ b/old_docs/API_docs_v33/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_deleteChatUser.md b/old_docs/API_docs_v33/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v33/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_deleteHistory.md b/old_docs/API_docs_v33/methods/messages_deleteHistory.md index 50cb66a0..1182a891 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v33/methods/messages_deleteHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"peer":"InputPeer","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +peer - Json encoded InputPeer +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_deleteMessages.md b/old_docs/API_docs_v33/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v33/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v33/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_discardEncryption.md b/old_docs/API_docs_v33/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v33/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v33/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_editChatPhoto.md b/old_docs/API_docs_v33/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v33/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v33/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_editChatTitle.md b/old_docs/API_docs_v33/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v33/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v33/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_exportChatInvite.md b/old_docs/API_docs_v33/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v33/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_forwardMessage.md b/old_docs/API_docs_v33/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v33/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v33/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_forwardMessages.md b/old_docs/API_docs_v33/methods/messages_forwardMessages.md index 73f7e733..e32455f5 100644 --- a/old_docs/API_docs_v33/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v33/methods/messages_forwardMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"peer":"InputPeer","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_getAllStickers.md b/old_docs/API_docs_v33/methods/messages_getAllStickers.md index 91961b0e..35ba6f74 100644 --- a/old_docs/API_docs_v33/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v33/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_getChats.md b/old_docs/API_docs_v33/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v33/methods/messages_getChats.md +++ b/old_docs/API_docs_v33/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_getDhConfig.md b/old_docs/API_docs_v33/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v33/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v33/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_getDialogs.md b/old_docs/API_docs_v33/methods/messages_getDialogs.md index f929de3b..bb46805d 100644 --- a/old_docs/API_docs_v33/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v33/methods/messages_getDialogs.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_getFullChat.md b/old_docs/API_docs_v33/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v33/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v33/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_getHistory.md b/old_docs/API_docs_v33/methods/messages_getHistory.md index c7cf0b9b..e0d42140 100644 --- a/old_docs/API_docs_v33/methods/messages_getHistory.md +++ b/old_docs/API_docs_v33/methods/messages_getHistory.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_getMessages.md b/old_docs/API_docs_v33/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v33/methods/messages_getMessages.md +++ b/old_docs/API_docs_v33/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_getStickerSet.md b/old_docs/API_docs_v33/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v33/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_getStickers.md b/old_docs/API_docs_v33/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v33/methods/messages_getStickers.md +++ b/old_docs/API_docs_v33/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v33/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_importChatInvite.md b/old_docs/API_docs_v33/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v33/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v33/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_installStickerSet.md b/old_docs/API_docs_v33/methods/messages_installStickerSet.md index a3c12183..637005f3 100644 --- a/old_docs/API_docs_v33/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","disabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +disabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v33/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_readHistory.md b/old_docs/API_docs_v33/methods/messages_readHistory.md index dc13f6f6..e07ef5a3 100644 --- a/old_docs/API_docs_v33/methods/messages_readHistory.md +++ b/old_docs/API_docs_v33/methods/messages_readHistory.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_readMessageContents.md b/old_docs/API_docs_v33/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v33/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v33/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_receivedMessages.md b/old_docs/API_docs_v33/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v33/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v33/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_receivedQueue.md b/old_docs/API_docs_v33/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v33/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v33/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_requestEncryption.md b/old_docs/API_docs_v33/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v33/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v33/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_search.md b/old_docs/API_docs_v33/methods/messages_search.md index d53456d0..a0485ebe 100644 --- a/old_docs/API_docs_v33/methods/messages_search.md +++ b/old_docs/API_docs_v33/methods/messages_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_sendBroadcast.md b/old_docs/API_docs_v33/methods/messages_sendBroadcast.md index d4af6317..81e9c7b8 100644 --- a/old_docs/API_docs_v33/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v33/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_sendEncrypted.md b/old_docs/API_docs_v33/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v33/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_sendMedia.md b/old_docs/API_docs_v33/methods/messages_sendMedia.md index 1000737b..de3efc79 100644 --- a/old_docs/API_docs_v33/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v33/methods/messages_sendMedia.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_sendMessage.md b/old_docs/API_docs_v33/methods/messages_sendMessage.md index 6b5a407b..04b204e6 100644 --- a/old_docs/API_docs_v33/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v33/methods/messages_sendMessage.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +message - Json encoded string +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v33/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_setTyping.md b/old_docs/API_docs_v33/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v33/methods/messages_setTyping.md +++ b/old_docs/API_docs_v33/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_startBot.md b/old_docs/API_docs_v33/methods/messages_startBot.md index 4b809b0f..804280e9 100644 --- a/old_docs/API_docs_v33/methods/messages_startBot.md +++ b/old_docs/API_docs_v33/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","chat_id":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +chat_id - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v33/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/photos_deletePhotos.md b/old_docs/API_docs_v33/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v33/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v33/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/photos_getUserPhotos.md b/old_docs/API_docs_v33/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v33/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v33/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v33/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v33/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/updates_getDifference.md b/old_docs/API_docs_v33/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v33/methods/updates_getDifference.md +++ b/old_docs/API_docs_v33/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/updates_getState.md b/old_docs/API_docs_v33/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v33/methods/updates_getState.md +++ b/old_docs/API_docs_v33/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v33/methods/upload_getFile.md b/old_docs/API_docs_v33/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v33/methods/upload_getFile.md +++ b/old_docs/API_docs_v33/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v33/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/upload_saveFilePart.md b/old_docs/API_docs_v33/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v33/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v33/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/users_getFullUser.md b/old_docs/API_docs_v33/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v33/methods/users_getFullUser.md +++ b/old_docs/API_docs_v33/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v33/methods/users_getUsers.md b/old_docs/API_docs_v33/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v33/methods/users_getUsers.md +++ b/old_docs/API_docs_v33/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/constructors/accountDaysTTL.md b/old_docs/API_docs_v38/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v38/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v38/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/account_authorizations.md b/old_docs/API_docs_v38/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v38/constructors/account_authorizations.md +++ b/old_docs/API_docs_v38/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/account_noPassword.md b/old_docs/API_docs_v38/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v38/constructors/account_noPassword.md +++ b/old_docs/API_docs_v38/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/account_password.md b/old_docs/API_docs_v38/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v38/constructors/account_password.md +++ b/old_docs/API_docs_v38/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v38/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v38/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v38/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/account_passwordSettings.md b/old_docs/API_docs_v38/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v38/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v38/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/account_privacyRules.md b/old_docs/API_docs_v38/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v38/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v38/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md index 77fbeb66..1b776018 100644 --- a/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v38/constructors/account_sentChangePhoneCode.md @@ -25,6 +25,13 @@ description: account_sentChangePhoneCode attributes, type and example $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/audio.md b/old_docs/API_docs_v38/constructors/audio.md index b99c9822..d0f34764 100644 --- a/old_docs/API_docs_v38/constructors/audio.md +++ b/old_docs/API_docs_v38/constructors/audio.md @@ -30,6 +30,13 @@ description: audio attributes, type and example $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/audioEmpty.md b/old_docs/API_docs_v38/constructors/audioEmpty.md index 7a3b8772..72e43b19 100644 --- a/old_docs/API_docs_v38/constructors/audioEmpty.md +++ b/old_docs/API_docs_v38/constructors/audioEmpty.md @@ -24,6 +24,13 @@ description: audioEmpty attributes, type and example $audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audioEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/auth_authorization.md b/old_docs/API_docs_v38/constructors/auth_authorization.md index 6b60d2ec..90504507 100644 --- a/old_docs/API_docs_v38/constructors/auth_authorization.md +++ b/old_docs/API_docs_v38/constructors/auth_authorization.md @@ -24,6 +24,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/auth_checkedPhone.md b/old_docs/API_docs_v38/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v38/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v38/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v38/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v38/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v38/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v38/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/auth_sentAppCode.md b/old_docs/API_docs_v38/constructors/auth_sentAppCode.md index d0d99104..4288276f 100644 --- a/old_docs/API_docs_v38/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v38/constructors/auth_sentAppCode.md @@ -27,6 +27,13 @@ description: auth_sentAppCode attributes, type and example $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/auth_sentCode.md b/old_docs/API_docs_v38/constructors/auth_sentCode.md index edadb37e..d393aeae 100644 --- a/old_docs/API_docs_v38/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v38/constructors/auth_sentCode.md @@ -27,6 +27,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/authorization.md b/old_docs/API_docs_v38/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v38/constructors/authorization.md +++ b/old_docs/API_docs_v38/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/botCommand.md b/old_docs/API_docs_v38/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v38/constructors/botCommand.md +++ b/old_docs/API_docs_v38/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/botInfo.md b/old_docs/API_docs_v38/constructors/botInfo.md index 41d6dc96..32328ee5 100644 --- a/old_docs/API_docs_v38/constructors/botInfo.md +++ b/old_docs/API_docs_v38/constructors/botInfo.md @@ -28,6 +28,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/botInfoEmpty.md b/old_docs/API_docs_v38/constructors/botInfoEmpty.md index 0466220a..0e6a5962 100644 --- a/old_docs/API_docs_v38/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v38/constructors/botInfoEmpty.md @@ -19,6 +19,13 @@ description: botInfoEmpty attributes, type and example $botInfoEmpty = ['_' => 'botInfoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channel.md b/old_docs/API_docs_v38/constructors/channel.md index d7d6d838..eeaa6e98 100644 --- a/old_docs/API_docs_v38/constructors/channel.md +++ b/old_docs/API_docs_v38/constructors/channel.md @@ -30,6 +30,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelForbidden.md b/old_docs/API_docs_v38/constructors/channelForbidden.md index ea7a1999..7c9a3dae 100644 --- a/old_docs/API_docs_v38/constructors/channelForbidden.md +++ b/old_docs/API_docs_v38/constructors/channelForbidden.md @@ -26,6 +26,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelFull.md b/old_docs/API_docs_v38/constructors/channelFull.md index e0d14f07..848573f1 100644 --- a/old_docs/API_docs_v38/constructors/channelFull.md +++ b/old_docs/API_docs_v38/constructors/channelFull.md @@ -34,6 +34,13 @@ description: channelFull attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelMessagesFilter.md b/old_docs/API_docs_v38/constructors/channelMessagesFilter.md index 4d9ee49e..613384c5 100644 --- a/old_docs/API_docs_v38/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v38/constructors/channelMessagesFilter.md @@ -24,6 +24,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v38/constructors/channelMessagesFilterCollapsed.md index 11cebd02..a1563c5b 100644 --- a/old_docs/API_docs_v38/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v38/constructors/channelMessagesFilterCollapsed.md @@ -19,6 +19,13 @@ description: channelMessagesFilterCollapsed attributes, type and example $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterCollapsed"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v38/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v38/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v38/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelParticipant.md b/old_docs/API_docs_v38/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipant.md +++ b/old_docs/API_docs_v38/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelParticipantCreator.md b/old_docs/API_docs_v38/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelParticipantEditor.md b/old_docs/API_docs_v38/constructors/channelParticipantEditor.md index 3c866534..64f84b38 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantEditor.md @@ -26,6 +26,13 @@ description: channelParticipantEditor attributes, type and example $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelParticipantKicked.md b/old_docs/API_docs_v38/constructors/channelParticipantKicked.md index 362872f9..4aedad4d 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantKicked.md @@ -26,6 +26,13 @@ description: channelParticipantKicked attributes, type and example $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelParticipantModerator.md b/old_docs/API_docs_v38/constructors/channelParticipantModerator.md index ff9a7094..634f9de8 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantModerator.md @@ -26,6 +26,13 @@ description: channelParticipantModerator attributes, type and example $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelParticipantSelf.md b/old_docs/API_docs_v38/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v38/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v38/constructors/channelParticipantsKicked.md index d7889060..37714c3e 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantsKicked.md @@ -19,6 +19,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v38/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/old_docs/API_docs_v38/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v38/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelRoleEditor.md b/old_docs/API_docs_v38/constructors/channelRoleEditor.md index 103b7ae5..fea2e406 100644 --- a/old_docs/API_docs_v38/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v38/constructors/channelRoleEditor.md @@ -19,6 +19,13 @@ description: channelRoleEditor attributes, type and example $channelRoleEditor = ['_' => 'channelRoleEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEditor"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelRoleEmpty.md b/old_docs/API_docs_v38/constructors/channelRoleEmpty.md index b5a7b52c..932c9fb4 100644 --- a/old_docs/API_docs_v38/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v38/constructors/channelRoleEmpty.md @@ -19,6 +19,13 @@ description: channelRoleEmpty attributes, type and example $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channelRoleModerator.md b/old_docs/API_docs_v38/constructors/channelRoleModerator.md index f3aaff68..5d6a37d1 100644 --- a/old_docs/API_docs_v38/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v38/constructors/channelRoleModerator.md @@ -19,6 +19,13 @@ description: channelRoleModerator attributes, type and example $channelRoleModerator = ['_' => 'channelRoleModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleModerator"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channels_channelParticipant.md b/old_docs/API_docs_v38/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/old_docs/API_docs_v38/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v38/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/channels_channelParticipants.md b/old_docs/API_docs_v38/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/old_docs/API_docs_v38/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v38/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/chat.md b/old_docs/API_docs_v38/constructors/chat.md index 0db00bee..6e67bbd8 100644 --- a/old_docs/API_docs_v38/constructors/chat.md +++ b/old_docs/API_docs_v38/constructors/chat.md @@ -29,6 +29,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/chatEmpty.md b/old_docs/API_docs_v38/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v38/constructors/chatEmpty.md +++ b/old_docs/API_docs_v38/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/chatForbidden.md b/old_docs/API_docs_v38/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/old_docs/API_docs_v38/constructors/chatForbidden.md +++ b/old_docs/API_docs_v38/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/chatFull.md b/old_docs/API_docs_v38/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v38/constructors/chatFull.md +++ b/old_docs/API_docs_v38/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/chatInvite.md b/old_docs/API_docs_v38/constructors/chatInvite.md index 90b8cede..372e81ee 100644 --- a/old_docs/API_docs_v38/constructors/chatInvite.md +++ b/old_docs/API_docs_v38/constructors/chatInvite.md @@ -24,6 +24,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/chatInviteAlready.md b/old_docs/API_docs_v38/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v38/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v38/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/chatInviteEmpty.md b/old_docs/API_docs_v38/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v38/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v38/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/chatInviteExported.md b/old_docs/API_docs_v38/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v38/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v38/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/chatParticipant.md b/old_docs/API_docs_v38/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v38/constructors/chatParticipant.md +++ b/old_docs/API_docs_v38/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/chatParticipants.md b/old_docs/API_docs_v38/constructors/chatParticipants.md index 181b2f88..ff71f0b9 100644 --- a/old_docs/API_docs_v38/constructors/chatParticipants.md +++ b/old_docs/API_docs_v38/constructors/chatParticipants.md @@ -27,6 +27,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v38/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/old_docs/API_docs_v38/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v38/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/chatPhoto.md b/old_docs/API_docs_v38/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v38/constructors/chatPhoto.md +++ b/old_docs/API_docs_v38/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v38/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v38/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v38/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/config.md b/old_docs/API_docs_v38/constructors/config.md index 3d22edba..324b64b2 100644 --- a/old_docs/API_docs_v38/constructors/config.md +++ b/old_docs/API_docs_v38/constructors/config.md @@ -41,6 +41,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contact.md b/old_docs/API_docs_v38/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v38/constructors/contact.md +++ b/old_docs/API_docs_v38/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contactBlocked.md b/old_docs/API_docs_v38/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v38/constructors/contactBlocked.md +++ b/old_docs/API_docs_v38/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contactLinkContact.md b/old_docs/API_docs_v38/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v38/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v38/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v38/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v38/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v38/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contactLinkNone.md b/old_docs/API_docs_v38/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v38/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v38/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contactLinkUnknown.md b/old_docs/API_docs_v38/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v38/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v38/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contactStatus.md b/old_docs/API_docs_v38/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v38/constructors/contactStatus.md +++ b/old_docs/API_docs_v38/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contactSuggested.md b/old_docs/API_docs_v38/constructors/contactSuggested.md index cf53fa55..0508f837 100644 --- a/old_docs/API_docs_v38/constructors/contactSuggested.md +++ b/old_docs/API_docs_v38/constructors/contactSuggested.md @@ -25,6 +25,13 @@ description: contactSuggested attributes, type and example $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contacts_blocked.md b/old_docs/API_docs_v38/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v38/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v38/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v38/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v38/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v38/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contacts_contacts.md b/old_docs/API_docs_v38/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v38/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v38/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v38/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contacts_found.md b/old_docs/API_docs_v38/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/old_docs/API_docs_v38/constructors/contacts_found.md +++ b/old_docs/API_docs_v38/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contacts_importedContacts.md b/old_docs/API_docs_v38/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v38/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v38/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contacts_link.md b/old_docs/API_docs_v38/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v38/constructors/contacts_link.md +++ b/old_docs/API_docs_v38/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v38/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/contacts_suggested.md b/old_docs/API_docs_v38/constructors/contacts_suggested.md index 90ff7671..e4dd4100 100644 --- a/old_docs/API_docs_v38/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v38/constructors/contacts_suggested.md @@ -25,6 +25,13 @@ description: contacts_suggested attributes, type and example $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/dcOption.md b/old_docs/API_docs_v38/constructors/dcOption.md index 2073b152..7a0716aa 100644 --- a/old_docs/API_docs_v38/constructors/dcOption.md +++ b/old_docs/API_docs_v38/constructors/dcOption.md @@ -26,6 +26,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/dialog.md b/old_docs/API_docs_v38/constructors/dialog.md index 9c6f4d43..d706225d 100644 --- a/old_docs/API_docs_v38/constructors/dialog.md +++ b/old_docs/API_docs_v38/constructors/dialog.md @@ -28,6 +28,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/dialogChannel.md b/old_docs/API_docs_v38/constructors/dialogChannel.md index 160dc27e..f4d28d89 100644 --- a/old_docs/API_docs_v38/constructors/dialogChannel.md +++ b/old_docs/API_docs_v38/constructors/dialogChannel.md @@ -31,6 +31,13 @@ description: dialogChannel attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/disabledFeature.md b/old_docs/API_docs_v38/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v38/constructors/disabledFeature.md +++ b/old_docs/API_docs_v38/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/document.md b/old_docs/API_docs_v38/constructors/document.md index 7153e5a6..7e3482ad 100644 --- a/old_docs/API_docs_v38/constructors/document.md +++ b/old_docs/API_docs_v38/constructors/document.md @@ -31,6 +31,13 @@ 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, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v38/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/documentAttributeAudio.md b/old_docs/API_docs_v38/constructors/documentAttributeAudio.md index 23a48363..d56ef28d 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeAudio.md @@ -26,6 +26,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/documentAttributeFilename.md b/old_docs/API_docs_v38/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v38/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/documentAttributeSticker.md b/old_docs/API_docs_v38/constructors/documentAttributeSticker.md index 9f8168b1..3cb9fcd5 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeSticker.md @@ -25,6 +25,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/documentAttributeVideo.md b/old_docs/API_docs_v38/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v38/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v38/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/documentEmpty.md b/old_docs/API_docs_v38/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v38/constructors/documentEmpty.md +++ b/old_docs/API_docs_v38/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/encryptedChat.md b/old_docs/API_docs_v38/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChat.md +++ b/old_docs/API_docs_v38/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v38/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v38/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v38/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v38/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/encryptedChatRequested.md b/old_docs/API_docs_v38/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v38/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v38/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v38/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v38/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/encryptedFile.md b/old_docs/API_docs_v38/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v38/constructors/encryptedFile.md +++ b/old_docs/API_docs_v38/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v38/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v38/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v38/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/encryptedMessage.md b/old_docs/API_docs_v38/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v38/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v38/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/encryptedMessageService.md b/old_docs/API_docs_v38/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v38/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v38/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/error.md b/old_docs/API_docs_v38/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v38/constructors/error.md +++ b/old_docs/API_docs_v38/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/fileLocation.md b/old_docs/API_docs_v38/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v38/constructors/fileLocation.md +++ b/old_docs/API_docs_v38/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v38/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v38/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v38/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/geoPoint.md b/old_docs/API_docs_v38/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v38/constructors/geoPoint.md +++ b/old_docs/API_docs_v38/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/geoPointEmpty.md b/old_docs/API_docs_v38/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v38/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v38/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/help_appChangelog.md b/old_docs/API_docs_v38/constructors/help_appChangelog.md index 77c1c338..67e40e85 100644 --- a/old_docs/API_docs_v38/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v38/constructors/help_appChangelog.md @@ -24,6 +24,13 @@ description: help_appChangelog attributes, type and example $help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelog","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md index abbb4865..f6ab5ace 100644 --- a/old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v38/constructors/help_appChangelogEmpty.md @@ -19,6 +19,13 @@ description: help_appChangelogEmpty attributes, type and example $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelogEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/help_appUpdate.md b/old_docs/API_docs_v38/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v38/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v38/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/help_inviteText.md b/old_docs/API_docs_v38/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v38/constructors/help_inviteText.md +++ b/old_docs/API_docs_v38/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/help_noAppUpdate.md b/old_docs/API_docs_v38/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v38/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v38/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/help_support.md b/old_docs/API_docs_v38/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v38/constructors/help_support.md +++ b/old_docs/API_docs_v38/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/importedContact.md b/old_docs/API_docs_v38/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v38/constructors/importedContact.md +++ b/old_docs/API_docs_v38/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputAppEvent.md b/old_docs/API_docs_v38/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v38/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v38/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputAudio.md b/old_docs/API_docs_v38/constructors/inputAudio.md index f618b74f..a75e690f 100644 --- a/old_docs/API_docs_v38/constructors/inputAudio.md +++ b/old_docs/API_docs_v38/constructors/inputAudio.md @@ -25,6 +25,13 @@ description: inputAudio attributes, type and example $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudio","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputAudioEmpty.md b/old_docs/API_docs_v38/constructors/inputAudioEmpty.md index f5ca1a6c..4de803d5 100644 --- a/old_docs/API_docs_v38/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputAudioEmpty.md @@ -19,6 +19,13 @@ description: inputAudioEmpty attributes, type and example $inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v38/constructors/inputAudioFileLocation.md index 8624b224..25650826 100644 --- a/old_docs/API_docs_v38/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputAudioFileLocation.md @@ -25,6 +25,13 @@ description: inputAudioFileLocation attributes, type and example $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputChannel.md b/old_docs/API_docs_v38/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/old_docs/API_docs_v38/constructors/inputChannel.md +++ b/old_docs/API_docs_v38/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputChannelEmpty.md b/old_docs/API_docs_v38/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/old_docs/API_docs_v38/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputChatPhoto.md b/old_docs/API_docs_v38/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v38/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v38/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v38/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v38/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v38/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputDocument.md b/old_docs/API_docs_v38/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v38/constructors/inputDocument.md +++ b/old_docs/API_docs_v38/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v38/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v38/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v38/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v38/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputEncryptedChat.md b/old_docs/API_docs_v38/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputEncryptedFile.md b/old_docs/API_docs_v38/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v38/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v38/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v38/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v38/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v38/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v38/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputFile.md b/old_docs/API_docs_v38/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v38/constructors/inputFile.md +++ b/old_docs/API_docs_v38/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputFileBig.md b/old_docs/API_docs_v38/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v38/constructors/inputFileBig.md +++ b/old_docs/API_docs_v38/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputFileLocation.md b/old_docs/API_docs_v38/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v38/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputGeoPoint.md b/old_docs/API_docs_v38/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v38/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v38/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v38/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v38/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaAudio.md b/old_docs/API_docs_v38/constructors/inputMediaAudio.md index 6f477b8b..0c83afd5 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v38/constructors/inputMediaAudio.md @@ -24,6 +24,13 @@ description: inputMediaAudio attributes, type and example $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaAudio","id":"InputAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaContact.md b/old_docs/API_docs_v38/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v38/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaDocument.md b/old_docs/API_docs_v38/constructors/inputMediaDocument.md index 2aa74093..231c733f 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v38/constructors/inputMediaDocument.md @@ -24,6 +24,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaEmpty.md b/old_docs/API_docs_v38/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v38/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v38/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaPhoto.md b/old_docs/API_docs_v38/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v38/constructors/inputMediaUploadedAudio.md index ad427e4f..e3298757 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedAudio.md @@ -26,6 +26,13 @@ description: inputMediaUploadedAudio attributes, type and example $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v38/constructors/inputMediaUploadedDocument.md index 7afb9494..d36bed64 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedDocument.md @@ -26,6 +26,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v38/constructors/inputMediaUploadedPhoto.md index 0c4c9135..923fd903 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbDocument.md index 6711d93a..843b4415 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbVideo.md index ccb3076b..5042784d 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedThumbVideo.md @@ -30,6 +30,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v38/constructors/inputMediaUploadedVideo.md index a6750886..0009243e 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMediaUploadedVideo.md @@ -29,6 +29,13 @@ description: inputMediaUploadedVideo attributes, type and example $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaVenue.md b/old_docs/API_docs_v38/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v38/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMediaVideo.md b/old_docs/API_docs_v38/constructors/inputMediaVideo.md index 7539e85c..8626bf3d 100644 --- a/old_docs/API_docs_v38/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMediaVideo.md @@ -25,6 +25,13 @@ description: inputMediaVideo attributes, type and example $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterAudio.md index c326c700..2c8e29fe 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterAudio.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudio attributes, type and example $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md index 9d6d7b67..8b876e5e 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudioDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v38/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v38/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v38/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputNotifyAll.md b/old_docs/API_docs_v38/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v38/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v38/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputNotifyChats.md b/old_docs/API_docs_v38/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v38/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v38/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputNotifyPeer.md b/old_docs/API_docs_v38/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v38/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v38/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputNotifyUsers.md b/old_docs/API_docs_v38/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v38/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v38/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPeerChannel.md b/old_docs/API_docs_v38/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v38/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPeerChat.md b/old_docs/API_docs_v38/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v38/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPeerEmpty.md b/old_docs/API_docs_v38/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v38/constructors/inputPeerNotifySettings.md index d4c26a38..4881d26e 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v38/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPeerSelf.md b/old_docs/API_docs_v38/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v38/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPeerUser.md b/old_docs/API_docs_v38/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v38/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v38/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPhoneContact.md b/old_docs/API_docs_v38/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v38/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v38/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPhoto.md b/old_docs/API_docs_v38/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v38/constructors/inputPhoto.md +++ b/old_docs/API_docs_v38/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPhotoCrop.md b/old_docs/API_docs_v38/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v38/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v38/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v38/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v38/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v38/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v38/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v38/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v38/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v38/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputStickerSetID.md b/old_docs/API_docs_v38/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v38/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v38/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v38/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v38/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v38/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputUser.md b/old_docs/API_docs_v38/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v38/constructors/inputUser.md +++ b/old_docs/API_docs_v38/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputUserEmpty.md b/old_docs/API_docs_v38/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v38/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputUserSelf.md b/old_docs/API_docs_v38/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v38/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v38/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputVideo.md b/old_docs/API_docs_v38/constructors/inputVideo.md index 79d5a034..e6dc5b1f 100644 --- a/old_docs/API_docs_v38/constructors/inputVideo.md +++ b/old_docs/API_docs_v38/constructors/inputVideo.md @@ -25,6 +25,13 @@ description: inputVideo attributes, type and example $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideo","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputVideoEmpty.md b/old_docs/API_docs_v38/constructors/inputVideoEmpty.md index d1f4e1ec..072ace8d 100644 --- a/old_docs/API_docs_v38/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v38/constructors/inputVideoEmpty.md @@ -19,6 +19,13 @@ description: inputVideoEmpty attributes, type and example $inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v38/constructors/inputVideoFileLocation.md index 2ae12a5c..f4c6646e 100644 --- a/old_docs/API_docs_v38/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v38/constructors/inputVideoFileLocation.md @@ -25,6 +25,13 @@ description: inputVideoFileLocation attributes, type and example $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/keyboardButton.md b/old_docs/API_docs_v38/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v38/constructors/keyboardButton.md +++ b/old_docs/API_docs_v38/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/keyboardButtonRow.md b/old_docs/API_docs_v38/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v38/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v38/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/message.md b/old_docs/API_docs_v38/constructors/message.md index 3e7d2cf1..0c3a7eec 100644 --- a/old_docs/API_docs_v38/constructors/message.md +++ b/old_docs/API_docs_v38/constructors/message.md @@ -35,6 +35,13 @@ description: message attributes, type and 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' => [MessageEntity], 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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":["MessageEntity"],"views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v38/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v38/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v38/constructors/messageActionChatAddUser.md index 34fd5bd6..ee6711dd 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageActionChatCreate.md b/old_docs/API_docs_v38/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v38/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v38/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v38/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v38/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v38/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v38/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v38/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageActionEmpty.md b/old_docs/API_docs_v38/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v38/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v38/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageEmpty.md b/old_docs/API_docs_v38/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v38/constructors/messageEmpty.md +++ b/old_docs/API_docs_v38/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageEntityBold.md b/old_docs/API_docs_v38/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v38/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v38/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v38/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageEntityCode.md b/old_docs/API_docs_v38/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v38/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageEntityEmail.md b/old_docs/API_docs_v38/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v38/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageEntityHashtag.md b/old_docs/API_docs_v38/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v38/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageEntityItalic.md b/old_docs/API_docs_v38/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v38/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageEntityMention.md b/old_docs/API_docs_v38/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v38/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageEntityPre.md b/old_docs/API_docs_v38/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v38/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v38/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v38/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageEntityUnknown.md b/old_docs/API_docs_v38/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v38/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageEntityUrl.md b/old_docs/API_docs_v38/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v38/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v38/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageGroup.md b/old_docs/API_docs_v38/constructors/messageGroup.md index 5e3992c0..ddbc0e37 100644 --- a/old_docs/API_docs_v38/constructors/messageGroup.md +++ b/old_docs/API_docs_v38/constructors/messageGroup.md @@ -27,6 +27,13 @@ description: messageGroup attributes, type and example $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageMediaAudio.md b/old_docs/API_docs_v38/constructors/messageMediaAudio.md index 0bc53b5e..24ca7823 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v38/constructors/messageMediaAudio.md @@ -24,6 +24,13 @@ description: messageMediaAudio attributes, type and example $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaAudio","audio":"Audio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageMediaContact.md b/old_docs/API_docs_v38/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v38/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageMediaDocument.md b/old_docs/API_docs_v38/constructors/messageMediaDocument.md index 3d50d4ab..ec51032e 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v38/constructors/messageMediaDocument.md @@ -24,6 +24,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageMediaEmpty.md b/old_docs/API_docs_v38/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v38/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageMediaGeo.md b/old_docs/API_docs_v38/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v38/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageMediaPhoto.md b/old_docs/API_docs_v38/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v38/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v38/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v38/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageMediaVenue.md b/old_docs/API_docs_v38/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v38/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageMediaVideo.md b/old_docs/API_docs_v38/constructors/messageMediaVideo.md index 42a6ac76..8e72030c 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v38/constructors/messageMediaVideo.md @@ -25,6 +25,13 @@ description: messageMediaVideo attributes, type and example $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVideo","video":"Video","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageMediaWebPage.md b/old_docs/API_docs_v38/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v38/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v38/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageRange.md b/old_docs/API_docs_v38/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v38/constructors/messageRange.md +++ b/old_docs/API_docs_v38/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messageService.md b/old_docs/API_docs_v38/constructors/messageService.md index 0223b973..002e1fba 100644 --- a/old_docs/API_docs_v38/constructors/messageService.md +++ b/old_docs/API_docs_v38/constructors/messageService.md @@ -28,6 +28,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_affectedHistory.md b/old_docs/API_docs_v38/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v38/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v38/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_affectedMessages.md b/old_docs/API_docs_v38/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v38/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v38/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_allStickers.md b/old_docs/API_docs_v38/constructors/messages_allStickers.md index 972ba615..21c13447 100644 --- a/old_docs/API_docs_v38/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v38/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"string","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v38/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_channelMessages.md b/old_docs/API_docs_v38/constructors/messages_channelMessages.md index 94236376..d9264977 100644 --- a/old_docs/API_docs_v38/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v38/constructors/messages_channelMessages.md @@ -29,6 +29,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_chatFull.md b/old_docs/API_docs_v38/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v38/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v38/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_chats.md b/old_docs/API_docs_v38/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v38/constructors/messages_chats.md +++ b/old_docs/API_docs_v38/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_dhConfig.md b/old_docs/API_docs_v38/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v38/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v38/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v38/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_dialogs.md b/old_docs/API_docs_v38/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v38/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v38/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v38/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v38/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v38/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_messages.md b/old_docs/API_docs_v38/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v38/constructors/messages_messages.md +++ b/old_docs/API_docs_v38/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_messagesSlice.md b/old_docs/API_docs_v38/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v38/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v38/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v38/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v38/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_stickerSet.md b/old_docs/API_docs_v38/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v38/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v38/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_stickers.md b/old_docs/API_docs_v38/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v38/constructors/messages_stickers.md +++ b/old_docs/API_docs_v38/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v38/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v38/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v38/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/nearestDc.md b/old_docs/API_docs_v38/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v38/constructors/nearestDc.md +++ b/old_docs/API_docs_v38/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/notifyAll.md b/old_docs/API_docs_v38/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v38/constructors/notifyAll.md +++ b/old_docs/API_docs_v38/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/notifyChats.md b/old_docs/API_docs_v38/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v38/constructors/notifyChats.md +++ b/old_docs/API_docs_v38/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/notifyPeer.md b/old_docs/API_docs_v38/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v38/constructors/notifyPeer.md +++ b/old_docs/API_docs_v38/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/notifyUsers.md b/old_docs/API_docs_v38/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v38/constructors/notifyUsers.md +++ b/old_docs/API_docs_v38/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/peerChannel.md b/old_docs/API_docs_v38/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v38/constructors/peerChannel.md +++ b/old_docs/API_docs_v38/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/peerChat.md b/old_docs/API_docs_v38/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v38/constructors/peerChat.md +++ b/old_docs/API_docs_v38/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v38/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v38/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v38/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v38/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v38/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v38/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/peerNotifySettings.md b/old_docs/API_docs_v38/constructors/peerNotifySettings.md index f6dc6c35..d0659143 100644 --- a/old_docs/API_docs_v38/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v38/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v38/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v38/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v38/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/peerUser.md b/old_docs/API_docs_v38/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v38/constructors/peerUser.md +++ b/old_docs/API_docs_v38/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/photo.md b/old_docs/API_docs_v38/constructors/photo.md index f9c9582a..2aaa4efd 100644 --- a/old_docs/API_docs_v38/constructors/photo.md +++ b/old_docs/API_docs_v38/constructors/photo.md @@ -27,6 +27,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/photoCachedSize.md b/old_docs/API_docs_v38/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v38/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v38/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/photoEmpty.md b/old_docs/API_docs_v38/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v38/constructors/photoEmpty.md +++ b/old_docs/API_docs_v38/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/photoSize.md b/old_docs/API_docs_v38/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v38/constructors/photoSize.md +++ b/old_docs/API_docs_v38/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/photoSizeEmpty.md b/old_docs/API_docs_v38/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v38/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v38/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/photos_photo.md b/old_docs/API_docs_v38/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v38/constructors/photos_photo.md +++ b/old_docs/API_docs_v38/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/photos_photos.md b/old_docs/API_docs_v38/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v38/constructors/photos_photos.md +++ b/old_docs/API_docs_v38/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/photos_photosSlice.md b/old_docs/API_docs_v38/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v38/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v38/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v38/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v38/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v38/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v38/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v38/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v38/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v38/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v38/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v38/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v38/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v38/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v38/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v38/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v38/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v38/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v38/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v38/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v38/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v38/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v38/constructors/replyKeyboardForceReply.md index cd9fb737..5c84d9bc 100644 --- a/old_docs/API_docs_v38/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v38/constructors/replyKeyboardForceReply.md @@ -23,6 +23,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/replyKeyboardHide.md b/old_docs/API_docs_v38/constructors/replyKeyboardHide.md index 03169187..f857f46e 100644 --- a/old_docs/API_docs_v38/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v38/constructors/replyKeyboardHide.md @@ -23,6 +23,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v38/constructors/replyKeyboardMarkup.md index 306da01f..6c97277b 100644 --- a/old_docs/API_docs_v38/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v38/constructors/replyKeyboardMarkup.md @@ -24,6 +24,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v38/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v38/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v38/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v38/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v38/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v38/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v38/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v38/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v38/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v38/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v38/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v38/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/stickerPack.md b/old_docs/API_docs_v38/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v38/constructors/stickerPack.md +++ b/old_docs/API_docs_v38/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/stickerSet.md b/old_docs/API_docs_v38/constructors/stickerSet.md index a5a9ce73..1af551dd 100644 --- a/old_docs/API_docs_v38/constructors/stickerSet.md +++ b/old_docs/API_docs_v38/constructors/stickerSet.md @@ -29,6 +29,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/storage_fileGif.md b/old_docs/API_docs_v38/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v38/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/storage_fileJpeg.md b/old_docs/API_docs_v38/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v38/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/storage_fileMov.md b/old_docs/API_docs_v38/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v38/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/storage_fileMp3.md b/old_docs/API_docs_v38/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v38/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/storage_fileMp4.md b/old_docs/API_docs_v38/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v38/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/storage_filePartial.md b/old_docs/API_docs_v38/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v38/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v38/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/storage_filePdf.md b/old_docs/API_docs_v38/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v38/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v38/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/storage_filePng.md b/old_docs/API_docs_v38/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v38/constructors/storage_filePng.md +++ b/old_docs/API_docs_v38/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/storage_fileUnknown.md b/old_docs/API_docs_v38/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v38/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/storage_fileWebp.md b/old_docs/API_docs_v38/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v38/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v38/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateChannel.md b/old_docs/API_docs_v38/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/old_docs/API_docs_v38/constructors/updateChannel.md +++ b/old_docs/API_docs_v38/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateChannelGroup.md b/old_docs/API_docs_v38/constructors/updateChannelGroup.md index 6ffad0dd..59290243 100644 --- a/old_docs/API_docs_v38/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v38/constructors/updateChannelGroup.md @@ -25,6 +25,13 @@ description: updateChannelGroup attributes, type and example $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v38/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/old_docs/API_docs_v38/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v38/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateChannelTooLong.md b/old_docs/API_docs_v38/constructors/updateChannelTooLong.md index 632fd0a0..621e7774 100644 --- a/old_docs/API_docs_v38/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v38/constructors/updateChannelTooLong.md @@ -24,6 +24,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v38/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/old_docs/API_docs_v38/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v38/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v38/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v38/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v38/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateChatParticipants.md b/old_docs/API_docs_v38/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v38/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v38/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateChatUserTyping.md b/old_docs/API_docs_v38/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v38/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v38/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateContactLink.md b/old_docs/API_docs_v38/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v38/constructors/updateContactLink.md +++ b/old_docs/API_docs_v38/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateContactRegistered.md b/old_docs/API_docs_v38/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v38/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v38/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateDcOptions.md b/old_docs/API_docs_v38/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v38/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v38/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v38/constructors/updateDeleteChannelMessages.md index 6f8c20d5..a078a880 100644 --- a/old_docs/API_docs_v38/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v38/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateDeleteMessages.md b/old_docs/API_docs_v38/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v38/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v38/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v38/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v38/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v38/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v38/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v38/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v38/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateEncryption.md b/old_docs/API_docs_v38/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v38/constructors/updateEncryption.md +++ b/old_docs/API_docs_v38/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateMessageID.md b/old_docs/API_docs_v38/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v38/constructors/updateMessageID.md +++ b/old_docs/API_docs_v38/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateNewAuthorization.md b/old_docs/API_docs_v38/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v38/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v38/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v38/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/old_docs/API_docs_v38/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v38/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v38/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v38/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v38/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateNewMessage.md b/old_docs/API_docs_v38/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v38/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v38/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateNotifySettings.md b/old_docs/API_docs_v38/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v38/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v38/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updatePrivacy.md b/old_docs/API_docs_v38/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v38/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v38/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v38/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/old_docs/API_docs_v38/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v38/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v38/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v38/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v38/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v38/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v38/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v38/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v38/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v38/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v38/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateServiceNotification.md b/old_docs/API_docs_v38/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v38/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v38/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateShort.md b/old_docs/API_docs_v38/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v38/constructors/updateShort.md +++ b/old_docs/API_docs_v38/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateShortChatMessage.md b/old_docs/API_docs_v38/constructors/updateShortChatMessage.md index bbb4a6f5..25b1b403 100644 --- a/old_docs/API_docs_v38/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v38/constructors/updateShortChatMessage.md @@ -34,6 +34,13 @@ description: updateShortChatMessage attributes, type and 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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateShortMessage.md b/old_docs/API_docs_v38/constructors/updateShortMessage.md index e5d7e37f..9377a868 100644 --- a/old_docs/API_docs_v38/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v38/constructors/updateShortMessage.md @@ -33,6 +33,13 @@ description: updateShortMessage attributes, type and 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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateShortSentMessage.md b/old_docs/API_docs_v38/constructors/updateShortSentMessage.md index d70483fa..b456091c 100644 --- a/old_docs/API_docs_v38/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v38/constructors/updateShortSentMessage.md @@ -29,6 +29,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateUserBlocked.md b/old_docs/API_docs_v38/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v38/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v38/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateUserName.md b/old_docs/API_docs_v38/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v38/constructors/updateUserName.md +++ b/old_docs/API_docs_v38/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateUserPhone.md b/old_docs/API_docs_v38/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v38/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v38/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateUserPhoto.md b/old_docs/API_docs_v38/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v38/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v38/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateUserStatus.md b/old_docs/API_docs_v38/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v38/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v38/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateUserTyping.md b/old_docs/API_docs_v38/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v38/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v38/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updateWebPage.md b/old_docs/API_docs_v38/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/old_docs/API_docs_v38/constructors/updateWebPage.md +++ b/old_docs/API_docs_v38/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updates.md b/old_docs/API_docs_v38/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v38/constructors/updates.md +++ b/old_docs/API_docs_v38/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updatesCombined.md b/old_docs/API_docs_v38/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v38/constructors/updatesCombined.md +++ b/old_docs/API_docs_v38/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updatesTooLong.md b/old_docs/API_docs_v38/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v38/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v38/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updates_channelDifference.md b/old_docs/API_docs_v38/constructors/updates_channelDifference.md index d6fb47b5..e52d5a33 100644 --- a/old_docs/API_docs_v38/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v38/constructors/updates_channelDifference.md @@ -29,6 +29,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md index 5c17d8f3..34b97329 100644 --- a/old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v38/constructors/updates_channelDifferenceEmpty.md @@ -25,6 +25,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md index 823c30b6..c1ece402 100644 --- a/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md @@ -33,6 +33,13 @@ description: updates_channelDifferenceTooLong attributes, type and 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' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updates_difference.md b/old_docs/API_docs_v38/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v38/constructors/updates_difference.md +++ b/old_docs/API_docs_v38/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v38/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v38/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v38/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updates_differenceSlice.md b/old_docs/API_docs_v38/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v38/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v38/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/updates_state.md b/old_docs/API_docs_v38/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v38/constructors/updates_state.md +++ b/old_docs/API_docs_v38/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/upload_file.md b/old_docs/API_docs_v38/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v38/constructors/upload_file.md +++ b/old_docs/API_docs_v38/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/user.md b/old_docs/API_docs_v38/constructors/user.md index 252aab1c..fa220e68 100644 --- a/old_docs/API_docs_v38/constructors/user.md +++ b/old_docs/API_docs_v38/constructors/user.md @@ -32,6 +32,13 @@ description: user attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","id":"int","access_hash":"long","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus","bot_info_version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/userEmpty.md b/old_docs/API_docs_v38/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v38/constructors/userEmpty.md +++ b/old_docs/API_docs_v38/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/userFull.md b/old_docs/API_docs_v38/constructors/userFull.md index eec3fa8c..2e6da813 100644 --- a/old_docs/API_docs_v38/constructors/userFull.md +++ b/old_docs/API_docs_v38/constructors/userFull.md @@ -29,6 +29,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/userProfilePhoto.md b/old_docs/API_docs_v38/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v38/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v38/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v38/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v38/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v38/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/userStatusEmpty.md b/old_docs/API_docs_v38/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v38/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v38/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/userStatusLastMonth.md b/old_docs/API_docs_v38/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v38/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v38/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/userStatusLastWeek.md b/old_docs/API_docs_v38/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v38/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v38/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/userStatusOffline.md b/old_docs/API_docs_v38/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v38/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v38/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/userStatusOnline.md b/old_docs/API_docs_v38/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v38/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v38/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/userStatusRecently.md b/old_docs/API_docs_v38/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v38/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v38/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/vector.md b/old_docs/API_docs_v38/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v38/constructors/vector.md +++ b/old_docs/API_docs_v38/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/video.md b/old_docs/API_docs_v38/constructors/video.md index 7c15f909..d1e2e49e 100644 --- a/old_docs/API_docs_v38/constructors/video.md +++ b/old_docs/API_docs_v38/constructors/video.md @@ -33,6 +33,13 @@ description: video attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/videoEmpty.md b/old_docs/API_docs_v38/constructors/videoEmpty.md index 74b18d58..d5d10973 100644 --- a/old_docs/API_docs_v38/constructors/videoEmpty.md +++ b/old_docs/API_docs_v38/constructors/videoEmpty.md @@ -24,6 +24,13 @@ description: videoEmpty attributes, type and example $videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"videoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/wallPaper.md b/old_docs/API_docs_v38/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v38/constructors/wallPaper.md +++ b/old_docs/API_docs_v38/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/wallPaperSolid.md b/old_docs/API_docs_v38/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v38/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v38/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/webPage.md b/old_docs/API_docs_v38/constructors/webPage.md index 7c0a432f..b4dd86ee 100644 --- a/old_docs/API_docs_v38/constructors/webPage.md +++ b/old_docs/API_docs_v38/constructors/webPage.md @@ -38,6 +38,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/webPageEmpty.md b/old_docs/API_docs_v38/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v38/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v38/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/constructors/webPagePending.md b/old_docs/API_docs_v38/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v38/constructors/webPagePending.md +++ b/old_docs/API_docs_v38/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/account_changePhone.md b/old_docs/API_docs_v38/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v38/methods/account_changePhone.md +++ b/old_docs/API_docs_v38/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_checkUsername.md b/old_docs/API_docs_v38/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v38/methods/account_checkUsername.md +++ b/old_docs/API_docs_v38/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_deleteAccount.md b/old_docs/API_docs_v38/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v38/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v38/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_getAccountTTL.md b/old_docs/API_docs_v38/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v38/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v38/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/account_getAuthorizations.md b/old_docs/API_docs_v38/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v38/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v38/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/account_getNotifySettings.md b/old_docs/API_docs_v38/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v38/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_getPassword.md b/old_docs/API_docs_v38/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v38/methods/account_getPassword.md +++ b/old_docs/API_docs_v38/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/account_getPasswordSettings.md b/old_docs/API_docs_v38/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v38/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v38/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_getPrivacy.md b/old_docs/API_docs_v38/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v38/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v38/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_getWallPapers.md b/old_docs/API_docs_v38/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v38/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v38/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/account_registerDevice.md b/old_docs/API_docs_v38/methods/account_registerDevice.md index 746ac76d..c786c6a8 100644 --- a/old_docs/API_docs_v38/methods/account_registerDevice.md +++ b/old_docs/API_docs_v38/methods/account_registerDevice.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +app_sandbox - Json encoded Bool +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_resetAuthorization.md b/old_docs/API_docs_v38/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v38/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v38/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_resetNotifySettings.md b/old_docs/API_docs_v38/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v38/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md index 002dc1ab..605bcaa3 100644 --- a/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v38/methods/account_sendChangePhoneCode.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_setAccountTTL.md b/old_docs/API_docs_v38/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v38/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v38/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_setPrivacy.md b/old_docs/API_docs_v38/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v38/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v38/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_unregisterDevice.md b/old_docs/API_docs_v38/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v38/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v38/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v38/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_updateNotifySettings.md b/old_docs/API_docs_v38/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v38/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v38/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v38/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_updateProfile.md b/old_docs/API_docs_v38/methods/account_updateProfile.md index 6e8891d0..bf1c3b8f 100644 --- a/old_docs/API_docs_v38/methods/account_updateProfile.md +++ b/old_docs/API_docs_v38/methods/account_updateProfile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_updateStatus.md b/old_docs/API_docs_v38/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v38/methods/account_updateStatus.md +++ b/old_docs/API_docs_v38/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/account_updateUsername.md b/old_docs/API_docs_v38/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v38/methods/account_updateUsername.md +++ b/old_docs/API_docs_v38/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v38/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/auth_checkPassword.md b/old_docs/API_docs_v38/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v38/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v38/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/auth_checkPhone.md b/old_docs/API_docs_v38/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v38/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v38/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/auth_exportAuthorization.md b/old_docs/API_docs_v38/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v38/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/auth_importAuthorization.md b/old_docs/API_docs_v38/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v38/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v38/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/auth_logOut.md b/old_docs/API_docs_v38/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v38/methods/auth_logOut.md +++ b/old_docs/API_docs_v38/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/auth_recoverPassword.md b/old_docs/API_docs_v38/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v38/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v38/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v38/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v38/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/auth_sendCall.md b/old_docs/API_docs_v38/methods/auth_sendCall.md index 9e50a03d..08b4d1d4 100644 --- a/old_docs/API_docs_v38/methods/auth_sendCall.md +++ b/old_docs/API_docs_v38/methods/auth_sendCall.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCall +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCall` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/auth_sendCode.md b/old_docs/API_docs_v38/methods/auth_sendCode.md index 6896bc05..a9009e4b 100644 --- a/old_docs/API_docs_v38/methods/auth_sendCode.md +++ b/old_docs/API_docs_v38/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +phone_number - Json encoded string +sms_type - Json encoded int +api_id - Json encoded int +api_hash - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/auth_sendInvites.md b/old_docs/API_docs_v38/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v38/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v38/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/auth_sendSms.md b/old_docs/API_docs_v38/methods/auth_sendSms.md index 3653ccdd..5e62431c 100644 --- a/old_docs/API_docs_v38/methods/auth_sendSms.md +++ b/old_docs/API_docs_v38/methods/auth_sendSms.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendSms +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendSms` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/auth_signIn.md b/old_docs/API_docs_v38/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v38/methods/auth_signIn.md +++ b/old_docs/API_docs_v38/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/auth_signUp.md b/old_docs/API_docs_v38/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v38/methods/auth_signUp.md +++ b/old_docs/API_docs_v38/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_checkUsername.md b/old_docs/API_docs_v38/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/old_docs/API_docs_v38/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v38/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_createChannel.md b/old_docs/API_docs_v38/methods/channels_createChannel.md index 15dc3d5f..9efd54f1 100644 --- a/old_docs/API_docs_v38/methods/channels_createChannel.md +++ b/old_docs/API_docs_v38/methods/channels_createChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['title' => string, 'about' => string, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"title":"string","about":"string","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +title - Json encoded string +about - Json encoded string +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_deleteChannel.md b/old_docs/API_docs_v38/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v38/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_deleteMessages.md b/old_docs/API_docs_v38/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v38/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v38/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_editAbout.md b/old_docs/API_docs_v38/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/old_docs/API_docs_v38/methods/channels_editAbout.md +++ b/old_docs/API_docs_v38/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_editAdmin.md b/old_docs/API_docs_v38/methods/channels_editAdmin.md index ad3010f3..e809bc05 100644 --- a/old_docs/API_docs_v38/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v38/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +role - Json encoded ChannelParticipantRole + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_editPhoto.md b/old_docs/API_docs_v38/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/old_docs/API_docs_v38/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v38/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_editTitle.md b/old_docs/API_docs_v38/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/old_docs/API_docs_v38/methods/channels_editTitle.md +++ b/old_docs/API_docs_v38/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_exportInvite.md b/old_docs/API_docs_v38/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/old_docs/API_docs_v38/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v38/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_getChannels.md b/old_docs/API_docs_v38/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/old_docs/API_docs_v38/methods/channels_getChannels.md +++ b/old_docs/API_docs_v38/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_getDialogs.md b/old_docs/API_docs_v38/methods/channels_getDialogs.md index 601510e1..b20fb17c 100644 --- a/old_docs/API_docs_v38/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v38/methods/channels_getDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getDialogs +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getDialogs` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_getFullChannel.md b/old_docs/API_docs_v38/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/old_docs/API_docs_v38/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v38/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_getImportantHistory.md b/old_docs/API_docs_v38/methods/channels_getImportantHistory.md index 2b5f5632..348621e1 100644 --- a/old_docs/API_docs_v38/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v38/methods/channels_getImportantHistory.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getImportantHistory +* params - {"channel":"InputChannel","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getImportantHistory` + +Parameters: + +channel - Json encoded InputChannel +offset_id - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_getMessages.md b/old_docs/API_docs_v38/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/old_docs/API_docs_v38/methods/channels_getMessages.md +++ b/old_docs/API_docs_v38/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_getParticipant.md b/old_docs/API_docs_v38/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_getParticipants.md b/old_docs/API_docs_v38/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/old_docs/API_docs_v38/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v38/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_inviteToChannel.md b/old_docs/API_docs_v38/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/old_docs/API_docs_v38/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v38/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_joinChannel.md b/old_docs/API_docs_v38/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/old_docs/API_docs_v38/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v38/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_kickFromChannel.md b/old_docs/API_docs_v38/methods/channels_kickFromChannel.md index 1dc6b4b7..5e91bc24 100644 --- a/old_docs/API_docs_v38/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v38/methods/channels_kickFromChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.kickFromChannel +* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.kickFromChannel` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +kicked - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_leaveChannel.md b/old_docs/API_docs_v38/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/old_docs/API_docs_v38/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v38/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_readHistory.md b/old_docs/API_docs_v38/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/old_docs/API_docs_v38/methods/channels_readHistory.md +++ b/old_docs/API_docs_v38/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_reportSpam.md b/old_docs/API_docs_v38/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/old_docs/API_docs_v38/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v38/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_toggleComments.md b/old_docs/API_docs_v38/methods/channels_toggleComments.md index 930df0e2..e3b45398 100644 --- a/old_docs/API_docs_v38/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v38/methods/channels_toggleComments.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleComments +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleComments` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/channels_updateUsername.md b/old_docs/API_docs_v38/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/old_docs/API_docs_v38/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v38/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/contacts_block.md b/old_docs/API_docs_v38/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v38/methods/contacts_block.md +++ b/old_docs/API_docs_v38/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/contacts_deleteContact.md b/old_docs/API_docs_v38/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v38/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v38/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/contacts_deleteContacts.md b/old_docs/API_docs_v38/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v38/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/contacts_exportCard.md b/old_docs/API_docs_v38/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v38/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v38/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/contacts_getBlocked.md b/old_docs/API_docs_v38/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v38/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v38/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/contacts_getContacts.md b/old_docs/API_docs_v38/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v38/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/contacts_getStatuses.md b/old_docs/API_docs_v38/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v38/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v38/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/contacts_getSuggested.md b/old_docs/API_docs_v38/methods/contacts_getSuggested.md index 1c9a532d..66e4c1b3 100644 --- a/old_docs/API_docs_v38/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v38/methods/contacts_getSuggested.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getSuggested +* params - {"limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getSuggested` + +Parameters: + +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/contacts_importCard.md b/old_docs/API_docs_v38/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v38/methods/contacts_importCard.md +++ b/old_docs/API_docs_v38/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/contacts_importContacts.md b/old_docs/API_docs_v38/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v38/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v38/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/contacts_resolveUsername.md b/old_docs/API_docs_v38/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/old_docs/API_docs_v38/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v38/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/contacts_search.md b/old_docs/API_docs_v38/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v38/methods/contacts_search.md +++ b/old_docs/API_docs_v38/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/contacts_unblock.md b/old_docs/API_docs_v38/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v38/methods/contacts_unblock.md +++ b/old_docs/API_docs_v38/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/help_getAppChangelog.md b/old_docs/API_docs_v38/methods/help_getAppChangelog.md index 337c12be..b93c56db 100644 --- a/old_docs/API_docs_v38/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v38/methods/help_getAppChangelog.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/help_getAppUpdate.md b/old_docs/API_docs_v38/methods/help_getAppUpdate.md index b52e83e8..58430792 100644 --- a/old_docs/API_docs_v38/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v38/methods/help_getAppUpdate.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/help_getConfig.md b/old_docs/API_docs_v38/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v38/methods/help_getConfig.md +++ b/old_docs/API_docs_v38/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/help_getInviteText.md b/old_docs/API_docs_v38/methods/help_getInviteText.md index 2d9c4653..ec75a17f 100644 --- a/old_docs/API_docs_v38/methods/help_getInviteText.md +++ b/old_docs/API_docs_v38/methods/help_getInviteText.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/help_getNearestDc.md b/old_docs/API_docs_v38/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v38/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v38/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/help_getSupport.md b/old_docs/API_docs_v38/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v38/methods/help_getSupport.md +++ b/old_docs/API_docs_v38/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/help_saveAppLog.md b/old_docs/API_docs_v38/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v38/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v38/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/initConnection.md b/old_docs/API_docs_v38/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v38/methods/initConnection.md +++ b/old_docs/API_docs_v38/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/invokeAfterMsg.md b/old_docs/API_docs_v38/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v38/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v38/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/invokeAfterMsgs.md b/old_docs/API_docs_v38/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v38/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v38/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/invokeWithLayer.md b/old_docs/API_docs_v38/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v38/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v38/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v38/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_acceptEncryption.md b/old_docs/API_docs_v38/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v38/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v38/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_addChatUser.md b/old_docs/API_docs_v38/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v38/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v38/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_checkChatInvite.md b/old_docs/API_docs_v38/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v38/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_createChat.md b/old_docs/API_docs_v38/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v38/methods/messages_createChat.md +++ b/old_docs/API_docs_v38/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_deleteChatUser.md b/old_docs/API_docs_v38/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v38/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_deleteHistory.md b/old_docs/API_docs_v38/methods/messages_deleteHistory.md index 50cb66a0..1182a891 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v38/methods/messages_deleteHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"peer":"InputPeer","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +peer - Json encoded InputPeer +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_deleteMessages.md b/old_docs/API_docs_v38/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v38/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v38/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_discardEncryption.md b/old_docs/API_docs_v38/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v38/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v38/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_editChatPhoto.md b/old_docs/API_docs_v38/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v38/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v38/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_editChatTitle.md b/old_docs/API_docs_v38/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v38/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v38/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_exportChatInvite.md b/old_docs/API_docs_v38/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v38/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_forwardMessage.md b/old_docs/API_docs_v38/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v38/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v38/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_forwardMessages.md b/old_docs/API_docs_v38/methods/messages_forwardMessages.md index 52a03e09..2a633e0f 100644 --- a/old_docs/API_docs_v38/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v38/methods/messages_forwardMessages.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_getAllStickers.md b/old_docs/API_docs_v38/methods/messages_getAllStickers.md index 91961b0e..35ba6f74 100644 --- a/old_docs/API_docs_v38/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v38/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_getChats.md b/old_docs/API_docs_v38/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v38/methods/messages_getChats.md +++ b/old_docs/API_docs_v38/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_getDhConfig.md b/old_docs/API_docs_v38/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v38/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v38/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_getDialogs.md b/old_docs/API_docs_v38/methods/messages_getDialogs.md index 4336683f..84424892 100644 --- a/old_docs/API_docs_v38/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v38/methods/messages_getDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_getFullChat.md b/old_docs/API_docs_v38/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v38/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v38/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_getHistory.md b/old_docs/API_docs_v38/methods/messages_getHistory.md index f32402a7..b22bd09e 100644 --- a/old_docs/API_docs_v38/methods/messages_getHistory.md +++ b/old_docs/API_docs_v38/methods/messages_getHistory.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_getMessages.md b/old_docs/API_docs_v38/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v38/methods/messages_getMessages.md +++ b/old_docs/API_docs_v38/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_getMessagesViews.md b/old_docs/API_docs_v38/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/old_docs/API_docs_v38/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v38/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_getStickerSet.md b/old_docs/API_docs_v38/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v38/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_getStickers.md b/old_docs/API_docs_v38/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v38/methods/messages_getStickers.md +++ b/old_docs/API_docs_v38/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v38/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_importChatInvite.md b/old_docs/API_docs_v38/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v38/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v38/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_installStickerSet.md b/old_docs/API_docs_v38/methods/messages_installStickerSet.md index a3c12183..637005f3 100644 --- a/old_docs/API_docs_v38/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","disabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +disabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v38/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_readHistory.md b/old_docs/API_docs_v38/methods/messages_readHistory.md index dc13f6f6..e07ef5a3 100644 --- a/old_docs/API_docs_v38/methods/messages_readHistory.md +++ b/old_docs/API_docs_v38/methods/messages_readHistory.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_readMessageContents.md b/old_docs/API_docs_v38/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v38/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v38/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_receivedMessages.md b/old_docs/API_docs_v38/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v38/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v38/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_receivedQueue.md b/old_docs/API_docs_v38/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v38/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v38/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_reportSpam.md b/old_docs/API_docs_v38/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v38/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v38/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_requestEncryption.md b/old_docs/API_docs_v38/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v38/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v38/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_search.md b/old_docs/API_docs_v38/methods/messages_search.md index d53456d0..a0485ebe 100644 --- a/old_docs/API_docs_v38/methods/messages_search.md +++ b/old_docs/API_docs_v38/methods/messages_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_sendBroadcast.md b/old_docs/API_docs_v38/methods/messages_sendBroadcast.md index d4af6317..81e9c7b8 100644 --- a/old_docs/API_docs_v38/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v38/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_sendEncrypted.md b/old_docs/API_docs_v38/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v38/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_sendMedia.md b/old_docs/API_docs_v38/methods/messages_sendMedia.md index 1000737b..de3efc79 100644 --- a/old_docs/API_docs_v38/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v38/methods/messages_sendMedia.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_sendMessage.md b/old_docs/API_docs_v38/methods/messages_sendMessage.md index 558935d2..e267a588 100644 --- a/old_docs/API_docs_v38/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v38/methods/messages_sendMessage.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v38/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_setTyping.md b/old_docs/API_docs_v38/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v38/methods/messages_setTyping.md +++ b/old_docs/API_docs_v38/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_startBot.md b/old_docs/API_docs_v38/methods/messages_startBot.md index 4b809b0f..804280e9 100644 --- a/old_docs/API_docs_v38/methods/messages_startBot.md +++ b/old_docs/API_docs_v38/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","chat_id":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +chat_id - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v38/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/photos_deletePhotos.md b/old_docs/API_docs_v38/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v38/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v38/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/photos_getUserPhotos.md b/old_docs/API_docs_v38/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v38/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v38/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v38/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v38/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/updates_getChannelDifference.md b/old_docs/API_docs_v38/methods/updates_getChannelDifference.md index 6fe9722a..d2aedcea 100644 --- a/old_docs/API_docs_v38/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v38/methods/updates_getChannelDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/updates_getDifference.md b/old_docs/API_docs_v38/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v38/methods/updates_getDifference.md +++ b/old_docs/API_docs_v38/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/updates_getState.md b/old_docs/API_docs_v38/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v38/methods/updates_getState.md +++ b/old_docs/API_docs_v38/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v38/methods/upload_getFile.md b/old_docs/API_docs_v38/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v38/methods/upload_getFile.md +++ b/old_docs/API_docs_v38/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v38/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/upload_saveFilePart.md b/old_docs/API_docs_v38/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v38/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v38/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/users_getFullUser.md b/old_docs/API_docs_v38/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v38/methods/users_getFullUser.md +++ b/old_docs/API_docs_v38/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v38/methods/users_getUsers.md b/old_docs/API_docs_v38/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v38/methods/users_getUsers.md +++ b/old_docs/API_docs_v38/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/constructors/accountDaysTTL.md b/old_docs/API_docs_v40/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v40/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v40/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/account_authorizations.md b/old_docs/API_docs_v40/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v40/constructors/account_authorizations.md +++ b/old_docs/API_docs_v40/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/account_noPassword.md b/old_docs/API_docs_v40/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v40/constructors/account_noPassword.md +++ b/old_docs/API_docs_v40/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/account_password.md b/old_docs/API_docs_v40/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v40/constructors/account_password.md +++ b/old_docs/API_docs_v40/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v40/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v40/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v40/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/account_passwordSettings.md b/old_docs/API_docs_v40/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v40/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v40/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/account_privacyRules.md b/old_docs/API_docs_v40/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v40/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v40/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md index 77fbeb66..1b776018 100644 --- a/old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v40/constructors/account_sentChangePhoneCode.md @@ -25,6 +25,13 @@ description: account_sentChangePhoneCode attributes, type and example $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/audio.md b/old_docs/API_docs_v40/constructors/audio.md index b99c9822..d0f34764 100644 --- a/old_docs/API_docs_v40/constructors/audio.md +++ b/old_docs/API_docs_v40/constructors/audio.md @@ -30,6 +30,13 @@ description: audio attributes, type and example $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/audioEmpty.md b/old_docs/API_docs_v40/constructors/audioEmpty.md index 7a3b8772..72e43b19 100644 --- a/old_docs/API_docs_v40/constructors/audioEmpty.md +++ b/old_docs/API_docs_v40/constructors/audioEmpty.md @@ -24,6 +24,13 @@ description: audioEmpty attributes, type and example $audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audioEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/auth_authorization.md b/old_docs/API_docs_v40/constructors/auth_authorization.md index 6b60d2ec..90504507 100644 --- a/old_docs/API_docs_v40/constructors/auth_authorization.md +++ b/old_docs/API_docs_v40/constructors/auth_authorization.md @@ -24,6 +24,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/auth_checkedPhone.md b/old_docs/API_docs_v40/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v40/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v40/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v40/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v40/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v40/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v40/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/auth_sentAppCode.md b/old_docs/API_docs_v40/constructors/auth_sentAppCode.md index d0d99104..4288276f 100644 --- a/old_docs/API_docs_v40/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v40/constructors/auth_sentAppCode.md @@ -27,6 +27,13 @@ description: auth_sentAppCode attributes, type and example $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/auth_sentCode.md b/old_docs/API_docs_v40/constructors/auth_sentCode.md index edadb37e..d393aeae 100644 --- a/old_docs/API_docs_v40/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v40/constructors/auth_sentCode.md @@ -27,6 +27,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/authorization.md b/old_docs/API_docs_v40/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v40/constructors/authorization.md +++ b/old_docs/API_docs_v40/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/botCommand.md b/old_docs/API_docs_v40/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v40/constructors/botCommand.md +++ b/old_docs/API_docs_v40/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/botInfo.md b/old_docs/API_docs_v40/constructors/botInfo.md index 41d6dc96..32328ee5 100644 --- a/old_docs/API_docs_v40/constructors/botInfo.md +++ b/old_docs/API_docs_v40/constructors/botInfo.md @@ -28,6 +28,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/botInfoEmpty.md b/old_docs/API_docs_v40/constructors/botInfoEmpty.md index 0466220a..0e6a5962 100644 --- a/old_docs/API_docs_v40/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v40/constructors/botInfoEmpty.md @@ -19,6 +19,13 @@ description: botInfoEmpty attributes, type and example $botInfoEmpty = ['_' => 'botInfoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/channel.md b/old_docs/API_docs_v40/constructors/channel.md index 5d9aa12a..2921c7ea 100644 --- a/old_docs/API_docs_v40/constructors/channel.md +++ b/old_docs/API_docs_v40/constructors/channel.md @@ -29,6 +29,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","id":"int","access_hash":"long","title":"string","photo":"ChatPhoto","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/channelFull.md b/old_docs/API_docs_v40/constructors/channelFull.md index 68718fc2..9642a3b4 100644 --- a/old_docs/API_docs_v40/constructors/channelFull.md +++ b/old_docs/API_docs_v40/constructors/channelFull.md @@ -30,6 +30,13 @@ description: channelFull attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","id":"int","read_inbox_max_id":"int","unread_count":"int","unread_important_count":"int","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/channelMessagesFilter.md b/old_docs/API_docs_v40/constructors/channelMessagesFilter.md index 4d9ee49e..613384c5 100644 --- a/old_docs/API_docs_v40/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v40/constructors/channelMessagesFilter.md @@ -24,6 +24,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v40/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v40/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v40/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/chat.md b/old_docs/API_docs_v40/constructors/chat.md index 0babaaea..43c20df0 100644 --- a/old_docs/API_docs_v40/constructors/chat.md +++ b/old_docs/API_docs_v40/constructors/chat.md @@ -30,6 +30,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","left":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/chatEmpty.md b/old_docs/API_docs_v40/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v40/constructors/chatEmpty.md +++ b/old_docs/API_docs_v40/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/chatForbidden.md b/old_docs/API_docs_v40/constructors/chatForbidden.md index cfbad26b..00ff4521 100644 --- a/old_docs/API_docs_v40/constructors/chatForbidden.md +++ b/old_docs/API_docs_v40/constructors/chatForbidden.md @@ -26,6 +26,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/chatFull.md b/old_docs/API_docs_v40/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v40/constructors/chatFull.md +++ b/old_docs/API_docs_v40/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/chatInvite.md b/old_docs/API_docs_v40/constructors/chatInvite.md index 90b8cede..372e81ee 100644 --- a/old_docs/API_docs_v40/constructors/chatInvite.md +++ b/old_docs/API_docs_v40/constructors/chatInvite.md @@ -24,6 +24,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/chatInviteAlready.md b/old_docs/API_docs_v40/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v40/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v40/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/chatInviteEmpty.md b/old_docs/API_docs_v40/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v40/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v40/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/chatInviteExported.md b/old_docs/API_docs_v40/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v40/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v40/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/chatParticipant.md b/old_docs/API_docs_v40/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v40/constructors/chatParticipant.md +++ b/old_docs/API_docs_v40/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/chatParticipants.md b/old_docs/API_docs_v40/constructors/chatParticipants.md index 181b2f88..ff71f0b9 100644 --- a/old_docs/API_docs_v40/constructors/chatParticipants.md +++ b/old_docs/API_docs_v40/constructors/chatParticipants.md @@ -27,6 +27,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","admin_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v40/constructors/chatParticipantsForbidden.md index 29a129a6..a7061ce0 100644 --- a/old_docs/API_docs_v40/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v40/constructors/chatParticipantsForbidden.md @@ -24,6 +24,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/chatPhoto.md b/old_docs/API_docs_v40/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v40/constructors/chatPhoto.md +++ b/old_docs/API_docs_v40/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v40/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v40/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v40/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/config.md b/old_docs/API_docs_v40/constructors/config.md index 3d22edba..324b64b2 100644 --- a/old_docs/API_docs_v40/constructors/config.md +++ b/old_docs/API_docs_v40/constructors/config.md @@ -41,6 +41,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contact.md b/old_docs/API_docs_v40/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v40/constructors/contact.md +++ b/old_docs/API_docs_v40/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contactBlocked.md b/old_docs/API_docs_v40/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v40/constructors/contactBlocked.md +++ b/old_docs/API_docs_v40/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contactFound.md b/old_docs/API_docs_v40/constructors/contactFound.md index 0bc886b5..2b164dd9 100644 --- a/old_docs/API_docs_v40/constructors/contactFound.md +++ b/old_docs/API_docs_v40/constructors/contactFound.md @@ -24,6 +24,13 @@ description: contactFound attributes, type and example $contactFound = ['_' => 'contactFound', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactFound","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contactLinkContact.md b/old_docs/API_docs_v40/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v40/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v40/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v40/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v40/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v40/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contactLinkNone.md b/old_docs/API_docs_v40/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v40/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v40/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contactLinkUnknown.md b/old_docs/API_docs_v40/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v40/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v40/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contactStatus.md b/old_docs/API_docs_v40/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v40/constructors/contactStatus.md +++ b/old_docs/API_docs_v40/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contactSuggested.md b/old_docs/API_docs_v40/constructors/contactSuggested.md index cf53fa55..0508f837 100644 --- a/old_docs/API_docs_v40/constructors/contactSuggested.md +++ b/old_docs/API_docs_v40/constructors/contactSuggested.md @@ -25,6 +25,13 @@ description: contactSuggested attributes, type and example $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contacts_blocked.md b/old_docs/API_docs_v40/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v40/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v40/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v40/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v40/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v40/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contacts_contacts.md b/old_docs/API_docs_v40/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v40/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v40/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v40/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contacts_found.md b/old_docs/API_docs_v40/constructors/contacts_found.md index fb0db932..98f22b0e 100644 --- a/old_docs/API_docs_v40/constructors/contacts_found.md +++ b/old_docs/API_docs_v40/constructors/contacts_found.md @@ -25,6 +25,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [ContactFound], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["ContactFound"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contacts_importedContacts.md b/old_docs/API_docs_v40/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v40/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v40/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contacts_link.md b/old_docs/API_docs_v40/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v40/constructors/contacts_link.md +++ b/old_docs/API_docs_v40/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/contacts_suggested.md b/old_docs/API_docs_v40/constructors/contacts_suggested.md index 90ff7671..e4dd4100 100644 --- a/old_docs/API_docs_v40/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v40/constructors/contacts_suggested.md @@ -25,6 +25,13 @@ description: contacts_suggested attributes, type and example $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/dcOption.md b/old_docs/API_docs_v40/constructors/dcOption.md index 2073b152..7a0716aa 100644 --- a/old_docs/API_docs_v40/constructors/dcOption.md +++ b/old_docs/API_docs_v40/constructors/dcOption.md @@ -26,6 +26,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/dialog.md b/old_docs/API_docs_v40/constructors/dialog.md index 9c6f4d43..d706225d 100644 --- a/old_docs/API_docs_v40/constructors/dialog.md +++ b/old_docs/API_docs_v40/constructors/dialog.md @@ -28,6 +28,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/dialogChannel.md b/old_docs/API_docs_v40/constructors/dialogChannel.md index 160dc27e..f4d28d89 100644 --- a/old_docs/API_docs_v40/constructors/dialogChannel.md +++ b/old_docs/API_docs_v40/constructors/dialogChannel.md @@ -31,6 +31,13 @@ description: dialogChannel attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/disabledFeature.md b/old_docs/API_docs_v40/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v40/constructors/disabledFeature.md +++ b/old_docs/API_docs_v40/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/document.md b/old_docs/API_docs_v40/constructors/document.md index 7153e5a6..7e3482ad 100644 --- a/old_docs/API_docs_v40/constructors/document.md +++ b/old_docs/API_docs_v40/constructors/document.md @@ -31,6 +31,13 @@ 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, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v40/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/documentAttributeAudio.md b/old_docs/API_docs_v40/constructors/documentAttributeAudio.md index 23a48363..d56ef28d 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeAudio.md @@ -26,6 +26,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/documentAttributeFilename.md b/old_docs/API_docs_v40/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v40/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/documentAttributeSticker.md b/old_docs/API_docs_v40/constructors/documentAttributeSticker.md index 9f8168b1..3cb9fcd5 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeSticker.md @@ -25,6 +25,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/documentAttributeVideo.md b/old_docs/API_docs_v40/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v40/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v40/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/documentEmpty.md b/old_docs/API_docs_v40/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v40/constructors/documentEmpty.md +++ b/old_docs/API_docs_v40/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/encryptedChat.md b/old_docs/API_docs_v40/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChat.md +++ b/old_docs/API_docs_v40/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v40/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v40/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v40/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v40/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/encryptedChatRequested.md b/old_docs/API_docs_v40/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v40/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v40/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v40/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v40/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/encryptedFile.md b/old_docs/API_docs_v40/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v40/constructors/encryptedFile.md +++ b/old_docs/API_docs_v40/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v40/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v40/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v40/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/encryptedMessage.md b/old_docs/API_docs_v40/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v40/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v40/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/encryptedMessageService.md b/old_docs/API_docs_v40/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v40/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v40/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/error.md b/old_docs/API_docs_v40/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v40/constructors/error.md +++ b/old_docs/API_docs_v40/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/fileLocation.md b/old_docs/API_docs_v40/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v40/constructors/fileLocation.md +++ b/old_docs/API_docs_v40/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v40/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v40/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v40/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/geoPoint.md b/old_docs/API_docs_v40/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v40/constructors/geoPoint.md +++ b/old_docs/API_docs_v40/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/geoPointEmpty.md b/old_docs/API_docs_v40/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v40/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v40/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/help_appChangelog.md b/old_docs/API_docs_v40/constructors/help_appChangelog.md index 77c1c338..67e40e85 100644 --- a/old_docs/API_docs_v40/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v40/constructors/help_appChangelog.md @@ -24,6 +24,13 @@ description: help_appChangelog attributes, type and example $help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelog","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md index abbb4865..f6ab5ace 100644 --- a/old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v40/constructors/help_appChangelogEmpty.md @@ -19,6 +19,13 @@ description: help_appChangelogEmpty attributes, type and example $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelogEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/help_appUpdate.md b/old_docs/API_docs_v40/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v40/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v40/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/help_inviteText.md b/old_docs/API_docs_v40/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v40/constructors/help_inviteText.md +++ b/old_docs/API_docs_v40/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/help_noAppUpdate.md b/old_docs/API_docs_v40/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v40/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v40/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/help_support.md b/old_docs/API_docs_v40/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v40/constructors/help_support.md +++ b/old_docs/API_docs_v40/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/importedContact.md b/old_docs/API_docs_v40/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v40/constructors/importedContact.md +++ b/old_docs/API_docs_v40/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputAppEvent.md b/old_docs/API_docs_v40/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v40/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v40/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputAudio.md b/old_docs/API_docs_v40/constructors/inputAudio.md index f618b74f..a75e690f 100644 --- a/old_docs/API_docs_v40/constructors/inputAudio.md +++ b/old_docs/API_docs_v40/constructors/inputAudio.md @@ -25,6 +25,13 @@ description: inputAudio attributes, type and example $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudio","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputAudioEmpty.md b/old_docs/API_docs_v40/constructors/inputAudioEmpty.md index f5ca1a6c..4de803d5 100644 --- a/old_docs/API_docs_v40/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputAudioEmpty.md @@ -19,6 +19,13 @@ description: inputAudioEmpty attributes, type and example $inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v40/constructors/inputAudioFileLocation.md index 8624b224..25650826 100644 --- a/old_docs/API_docs_v40/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputAudioFileLocation.md @@ -25,6 +25,13 @@ description: inputAudioFileLocation attributes, type and example $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputChannel.md b/old_docs/API_docs_v40/constructors/inputChannel.md index 328572b8..7218d207 100644 --- a/old_docs/API_docs_v40/constructors/inputChannel.md +++ b/old_docs/API_docs_v40/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputChat.md b/old_docs/API_docs_v40/constructors/inputChat.md index 9b20ff99..180e7cdd 100644 --- a/old_docs/API_docs_v40/constructors/inputChat.md +++ b/old_docs/API_docs_v40/constructors/inputChat.md @@ -24,6 +24,13 @@ description: inputChat attributes, type and example $inputChat = ['_' => 'inputChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputChatEmpty.md b/old_docs/API_docs_v40/constructors/inputChatEmpty.md index 8a50a4d6..59900009 100644 --- a/old_docs/API_docs_v40/constructors/inputChatEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputChatEmpty.md @@ -19,6 +19,13 @@ description: inputChatEmpty attributes, type and example $inputChatEmpty = ['_' => 'inputChatEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputChatPhoto.md b/old_docs/API_docs_v40/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v40/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v40/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v40/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v40/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v40/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputDocument.md b/old_docs/API_docs_v40/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v40/constructors/inputDocument.md +++ b/old_docs/API_docs_v40/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v40/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v40/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v40/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v40/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputEncryptedChat.md b/old_docs/API_docs_v40/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputEncryptedFile.md b/old_docs/API_docs_v40/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v40/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v40/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v40/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v40/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v40/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v40/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputFile.md b/old_docs/API_docs_v40/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v40/constructors/inputFile.md +++ b/old_docs/API_docs_v40/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputFileBig.md b/old_docs/API_docs_v40/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v40/constructors/inputFileBig.md +++ b/old_docs/API_docs_v40/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputFileLocation.md b/old_docs/API_docs_v40/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v40/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputGeoPoint.md b/old_docs/API_docs_v40/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v40/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v40/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v40/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v40/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaAudio.md b/old_docs/API_docs_v40/constructors/inputMediaAudio.md index 6f477b8b..0c83afd5 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v40/constructors/inputMediaAudio.md @@ -24,6 +24,13 @@ description: inputMediaAudio attributes, type and example $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaAudio","id":"InputAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaContact.md b/old_docs/API_docs_v40/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v40/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaDocument.md b/old_docs/API_docs_v40/constructors/inputMediaDocument.md index 2aa74093..231c733f 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v40/constructors/inputMediaDocument.md @@ -24,6 +24,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaEmpty.md b/old_docs/API_docs_v40/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v40/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v40/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaPhoto.md b/old_docs/API_docs_v40/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v40/constructors/inputMediaUploadedAudio.md index ad427e4f..e3298757 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedAudio.md @@ -26,6 +26,13 @@ description: inputMediaUploadedAudio attributes, type and example $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v40/constructors/inputMediaUploadedDocument.md index 7afb9494..d36bed64 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedDocument.md @@ -26,6 +26,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v40/constructors/inputMediaUploadedPhoto.md index 0c4c9135..923fd903 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbDocument.md index 6711d93a..843b4415 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbVideo.md index ccb3076b..5042784d 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedThumbVideo.md @@ -30,6 +30,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v40/constructors/inputMediaUploadedVideo.md index a6750886..0009243e 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMediaUploadedVideo.md @@ -29,6 +29,13 @@ description: inputMediaUploadedVideo attributes, type and example $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaVenue.md b/old_docs/API_docs_v40/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v40/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMediaVideo.md b/old_docs/API_docs_v40/constructors/inputMediaVideo.md index 7539e85c..8626bf3d 100644 --- a/old_docs/API_docs_v40/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMediaVideo.md @@ -25,6 +25,13 @@ description: inputMediaVideo attributes, type and example $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterAudio.md index c326c700..2c8e29fe 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterAudio.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudio attributes, type and example $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md index 9d6d7b67..8b876e5e 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudioDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v40/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v40/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v40/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputNotifyAll.md b/old_docs/API_docs_v40/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v40/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v40/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputNotifyChats.md b/old_docs/API_docs_v40/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v40/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v40/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputNotifyPeer.md b/old_docs/API_docs_v40/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v40/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v40/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputNotifyUsers.md b/old_docs/API_docs_v40/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v40/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v40/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPeerChannel.md b/old_docs/API_docs_v40/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v40/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPeerChat.md b/old_docs/API_docs_v40/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v40/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPeerEmpty.md b/old_docs/API_docs_v40/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v40/constructors/inputPeerNotifySettings.md index d4c26a38..4881d26e 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v40/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPeerSelf.md b/old_docs/API_docs_v40/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v40/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPeerUser.md b/old_docs/API_docs_v40/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v40/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v40/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPhoneContact.md b/old_docs/API_docs_v40/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v40/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v40/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPhoto.md b/old_docs/API_docs_v40/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v40/constructors/inputPhoto.md +++ b/old_docs/API_docs_v40/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPhotoCrop.md b/old_docs/API_docs_v40/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v40/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v40/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v40/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v40/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v40/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v40/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v40/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v40/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v40/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputStickerSetID.md b/old_docs/API_docs_v40/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v40/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v40/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v40/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v40/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v40/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputUser.md b/old_docs/API_docs_v40/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v40/constructors/inputUser.md +++ b/old_docs/API_docs_v40/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputUserEmpty.md b/old_docs/API_docs_v40/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v40/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputUserSelf.md b/old_docs/API_docs_v40/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v40/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v40/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputVideo.md b/old_docs/API_docs_v40/constructors/inputVideo.md index 79d5a034..e6dc5b1f 100644 --- a/old_docs/API_docs_v40/constructors/inputVideo.md +++ b/old_docs/API_docs_v40/constructors/inputVideo.md @@ -25,6 +25,13 @@ description: inputVideo attributes, type and example $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideo","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputVideoEmpty.md b/old_docs/API_docs_v40/constructors/inputVideoEmpty.md index d1f4e1ec..072ace8d 100644 --- a/old_docs/API_docs_v40/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v40/constructors/inputVideoEmpty.md @@ -19,6 +19,13 @@ description: inputVideoEmpty attributes, type and example $inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v40/constructors/inputVideoFileLocation.md index 2ae12a5c..f4c6646e 100644 --- a/old_docs/API_docs_v40/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v40/constructors/inputVideoFileLocation.md @@ -25,6 +25,13 @@ description: inputVideoFileLocation attributes, type and example $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/keyboardButton.md b/old_docs/API_docs_v40/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v40/constructors/keyboardButton.md +++ b/old_docs/API_docs_v40/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/keyboardButtonRow.md b/old_docs/API_docs_v40/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v40/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v40/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/message.md b/old_docs/API_docs_v40/constructors/message.md index a2969f4d..b71cf7a4 100644 --- a/old_docs/API_docs_v40/constructors/message.md +++ b/old_docs/API_docs_v40/constructors/message.md @@ -34,6 +34,13 @@ description: message attributes, type and 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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v40/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v40/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v40/constructors/messageActionChatAddUser.md index 34fd5bd6..ee6711dd 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageActionChatCreate.md b/old_docs/API_docs_v40/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v40/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v40/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v40/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v40/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v40/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v40/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v40/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageActionEmpty.md b/old_docs/API_docs_v40/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v40/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v40/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageEmpty.md b/old_docs/API_docs_v40/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v40/constructors/messageEmpty.md +++ b/old_docs/API_docs_v40/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageEntityBold.md b/old_docs/API_docs_v40/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v40/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v40/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v40/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageEntityCode.md b/old_docs/API_docs_v40/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v40/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageEntityEmail.md b/old_docs/API_docs_v40/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v40/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageEntityHashtag.md b/old_docs/API_docs_v40/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v40/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageEntityItalic.md b/old_docs/API_docs_v40/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v40/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageEntityMention.md b/old_docs/API_docs_v40/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v40/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageEntityPre.md b/old_docs/API_docs_v40/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v40/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v40/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v40/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageEntityUnknown.md b/old_docs/API_docs_v40/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v40/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageEntityUrl.md b/old_docs/API_docs_v40/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v40/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v40/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageGroup.md b/old_docs/API_docs_v40/constructors/messageGroup.md index 5e3992c0..ddbc0e37 100644 --- a/old_docs/API_docs_v40/constructors/messageGroup.md +++ b/old_docs/API_docs_v40/constructors/messageGroup.md @@ -27,6 +27,13 @@ description: messageGroup attributes, type and example $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageMediaAudio.md b/old_docs/API_docs_v40/constructors/messageMediaAudio.md index 0bc53b5e..24ca7823 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v40/constructors/messageMediaAudio.md @@ -24,6 +24,13 @@ description: messageMediaAudio attributes, type and example $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaAudio","audio":"Audio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageMediaContact.md b/old_docs/API_docs_v40/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v40/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageMediaDocument.md b/old_docs/API_docs_v40/constructors/messageMediaDocument.md index 3d50d4ab..ec51032e 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v40/constructors/messageMediaDocument.md @@ -24,6 +24,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageMediaEmpty.md b/old_docs/API_docs_v40/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v40/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageMediaGeo.md b/old_docs/API_docs_v40/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v40/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageMediaPhoto.md b/old_docs/API_docs_v40/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v40/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v40/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v40/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageMediaVenue.md b/old_docs/API_docs_v40/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v40/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageMediaVideo.md b/old_docs/API_docs_v40/constructors/messageMediaVideo.md index 42a6ac76..8e72030c 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v40/constructors/messageMediaVideo.md @@ -25,6 +25,13 @@ description: messageMediaVideo attributes, type and example $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVideo","video":"Video","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageMediaWebPage.md b/old_docs/API_docs_v40/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v40/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v40/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageRange.md b/old_docs/API_docs_v40/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v40/constructors/messageRange.md +++ b/old_docs/API_docs_v40/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messageService.md b/old_docs/API_docs_v40/constructors/messageService.md index 0223b973..002e1fba 100644 --- a/old_docs/API_docs_v40/constructors/messageService.md +++ b/old_docs/API_docs_v40/constructors/messageService.md @@ -28,6 +28,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_affectedHistory.md b/old_docs/API_docs_v40/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v40/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v40/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_affectedMessages.md b/old_docs/API_docs_v40/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v40/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v40/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_allStickers.md b/old_docs/API_docs_v40/constructors/messages_allStickers.md index 972ba615..21c13447 100644 --- a/old_docs/API_docs_v40/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v40/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"string","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v40/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_channelMessages.md b/old_docs/API_docs_v40/constructors/messages_channelMessages.md index 94236376..d9264977 100644 --- a/old_docs/API_docs_v40/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v40/constructors/messages_channelMessages.md @@ -29,6 +29,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_chatFull.md b/old_docs/API_docs_v40/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v40/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v40/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_chats.md b/old_docs/API_docs_v40/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v40/constructors/messages_chats.md +++ b/old_docs/API_docs_v40/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_dhConfig.md b/old_docs/API_docs_v40/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v40/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v40/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v40/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_dialogs.md b/old_docs/API_docs_v40/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v40/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v40/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v40/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v40/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v40/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_messages.md b/old_docs/API_docs_v40/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v40/constructors/messages_messages.md +++ b/old_docs/API_docs_v40/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_messagesSlice.md b/old_docs/API_docs_v40/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v40/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v40/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v40/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v40/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_stickerSet.md b/old_docs/API_docs_v40/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v40/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v40/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_stickers.md b/old_docs/API_docs_v40/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v40/constructors/messages_stickers.md +++ b/old_docs/API_docs_v40/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v40/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v40/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v40/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/nearestDc.md b/old_docs/API_docs_v40/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v40/constructors/nearestDc.md +++ b/old_docs/API_docs_v40/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/notifyAll.md b/old_docs/API_docs_v40/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v40/constructors/notifyAll.md +++ b/old_docs/API_docs_v40/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/notifyChats.md b/old_docs/API_docs_v40/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v40/constructors/notifyChats.md +++ b/old_docs/API_docs_v40/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/notifyPeer.md b/old_docs/API_docs_v40/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v40/constructors/notifyPeer.md +++ b/old_docs/API_docs_v40/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/notifyUsers.md b/old_docs/API_docs_v40/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v40/constructors/notifyUsers.md +++ b/old_docs/API_docs_v40/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/peerChannel.md b/old_docs/API_docs_v40/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v40/constructors/peerChannel.md +++ b/old_docs/API_docs_v40/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/peerChat.md b/old_docs/API_docs_v40/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v40/constructors/peerChat.md +++ b/old_docs/API_docs_v40/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v40/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v40/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v40/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v40/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v40/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v40/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/peerNotifySettings.md b/old_docs/API_docs_v40/constructors/peerNotifySettings.md index f6dc6c35..d0659143 100644 --- a/old_docs/API_docs_v40/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v40/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v40/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v40/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v40/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/peerUser.md b/old_docs/API_docs_v40/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v40/constructors/peerUser.md +++ b/old_docs/API_docs_v40/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/photo.md b/old_docs/API_docs_v40/constructors/photo.md index f9c9582a..2aaa4efd 100644 --- a/old_docs/API_docs_v40/constructors/photo.md +++ b/old_docs/API_docs_v40/constructors/photo.md @@ -27,6 +27,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/photoCachedSize.md b/old_docs/API_docs_v40/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v40/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v40/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/photoEmpty.md b/old_docs/API_docs_v40/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v40/constructors/photoEmpty.md +++ b/old_docs/API_docs_v40/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/photoSize.md b/old_docs/API_docs_v40/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v40/constructors/photoSize.md +++ b/old_docs/API_docs_v40/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/photoSizeEmpty.md b/old_docs/API_docs_v40/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v40/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v40/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/photos_photo.md b/old_docs/API_docs_v40/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v40/constructors/photos_photo.md +++ b/old_docs/API_docs_v40/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/photos_photos.md b/old_docs/API_docs_v40/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v40/constructors/photos_photos.md +++ b/old_docs/API_docs_v40/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/photos_photosSlice.md b/old_docs/API_docs_v40/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v40/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v40/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v40/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v40/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v40/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v40/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v40/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v40/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v40/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v40/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v40/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v40/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v40/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v40/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v40/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v40/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v40/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v40/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v40/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v40/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v40/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v40/constructors/replyKeyboardForceReply.md index cd9fb737..5c84d9bc 100644 --- a/old_docs/API_docs_v40/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v40/constructors/replyKeyboardForceReply.md @@ -23,6 +23,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/replyKeyboardHide.md b/old_docs/API_docs_v40/constructors/replyKeyboardHide.md index 03169187..f857f46e 100644 --- a/old_docs/API_docs_v40/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v40/constructors/replyKeyboardHide.md @@ -23,6 +23,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v40/constructors/replyKeyboardMarkup.md index 306da01f..6c97277b 100644 --- a/old_docs/API_docs_v40/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v40/constructors/replyKeyboardMarkup.md @@ -24,6 +24,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v40/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v40/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v40/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v40/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v40/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v40/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v40/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v40/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v40/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v40/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v40/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v40/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/stickerPack.md b/old_docs/API_docs_v40/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v40/constructors/stickerPack.md +++ b/old_docs/API_docs_v40/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/stickerSet.md b/old_docs/API_docs_v40/constructors/stickerSet.md index a5a9ce73..1af551dd 100644 --- a/old_docs/API_docs_v40/constructors/stickerSet.md +++ b/old_docs/API_docs_v40/constructors/stickerSet.md @@ -29,6 +29,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/storage_fileGif.md b/old_docs/API_docs_v40/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v40/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/storage_fileJpeg.md b/old_docs/API_docs_v40/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v40/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/storage_fileMov.md b/old_docs/API_docs_v40/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v40/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/storage_fileMp3.md b/old_docs/API_docs_v40/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v40/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/storage_fileMp4.md b/old_docs/API_docs_v40/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v40/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/storage_filePartial.md b/old_docs/API_docs_v40/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v40/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v40/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/storage_filePdf.md b/old_docs/API_docs_v40/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v40/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v40/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/storage_filePng.md b/old_docs/API_docs_v40/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v40/constructors/storage_filePng.md +++ b/old_docs/API_docs_v40/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/storage_fileUnknown.md b/old_docs/API_docs_v40/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v40/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/storage_fileWebp.md b/old_docs/API_docs_v40/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v40/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v40/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateChannelTooLong.md b/old_docs/API_docs_v40/constructors/updateChannelTooLong.md index 632fd0a0..621e7774 100644 --- a/old_docs/API_docs_v40/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v40/constructors/updateChannelTooLong.md @@ -24,6 +24,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v40/constructors/updateChatParticipantAdd.md index 98f198f7..7acee0ac 100644 --- a/old_docs/API_docs_v40/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v40/constructors/updateChatParticipantAdd.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v40/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v40/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v40/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateChatParticipants.md b/old_docs/API_docs_v40/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v40/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v40/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateChatUserTyping.md b/old_docs/API_docs_v40/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v40/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v40/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateContactLink.md b/old_docs/API_docs_v40/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v40/constructors/updateContactLink.md +++ b/old_docs/API_docs_v40/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateContactRegistered.md b/old_docs/API_docs_v40/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v40/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v40/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateDcOptions.md b/old_docs/API_docs_v40/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v40/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v40/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v40/constructors/updateDeleteChannelMessages.md index 87f33e39..032e12f6 100644 --- a/old_docs/API_docs_v40/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v40/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'peer' => Peer, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","peer":"Peer","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateDeleteMessages.md b/old_docs/API_docs_v40/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v40/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v40/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v40/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v40/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v40/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v40/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v40/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v40/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateEncryption.md b/old_docs/API_docs_v40/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v40/constructors/updateEncryption.md +++ b/old_docs/API_docs_v40/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateMessageID.md b/old_docs/API_docs_v40/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v40/constructors/updateMessageID.md +++ b/old_docs/API_docs_v40/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateNewAuthorization.md b/old_docs/API_docs_v40/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v40/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v40/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v40/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/old_docs/API_docs_v40/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v40/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v40/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v40/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v40/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateNewMessage.md b/old_docs/API_docs_v40/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v40/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v40/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateNotifySettings.md b/old_docs/API_docs_v40/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v40/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v40/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updatePrivacy.md b/old_docs/API_docs_v40/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v40/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v40/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v40/constructors/updateReadChannelInbox.md index 7ab7ba37..52fffdea 100644 --- a/old_docs/API_docs_v40/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v40/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'peer' => Peer, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","peer":"Peer","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v40/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v40/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v40/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v40/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v40/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v40/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v40/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v40/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v40/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateServiceNotification.md b/old_docs/API_docs_v40/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v40/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v40/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateShort.md b/old_docs/API_docs_v40/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v40/constructors/updateShort.md +++ b/old_docs/API_docs_v40/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateShortChatMessage.md b/old_docs/API_docs_v40/constructors/updateShortChatMessage.md index 8b8f9700..24e1f00c 100644 --- a/old_docs/API_docs_v40/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v40/constructors/updateShortChatMessage.md @@ -34,6 +34,13 @@ description: updateShortChatMessage attributes, type and 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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateShortMessage.md b/old_docs/API_docs_v40/constructors/updateShortMessage.md index b5d4b85e..9334f223 100644 --- a/old_docs/API_docs_v40/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v40/constructors/updateShortMessage.md @@ -33,6 +33,13 @@ description: updateShortMessage attributes, type and 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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateShortSentMessage.md b/old_docs/API_docs_v40/constructors/updateShortSentMessage.md index d70483fa..b456091c 100644 --- a/old_docs/API_docs_v40/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v40/constructors/updateShortSentMessage.md @@ -29,6 +29,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateUserBlocked.md b/old_docs/API_docs_v40/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v40/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v40/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateUserName.md b/old_docs/API_docs_v40/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v40/constructors/updateUserName.md +++ b/old_docs/API_docs_v40/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateUserPhone.md b/old_docs/API_docs_v40/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v40/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v40/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateUserPhoto.md b/old_docs/API_docs_v40/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v40/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v40/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateUserStatus.md b/old_docs/API_docs_v40/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v40/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v40/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateUserTyping.md b/old_docs/API_docs_v40/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v40/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v40/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updateWebPage.md b/old_docs/API_docs_v40/constructors/updateWebPage.md index 6de5c71e..e074db1d 100644 --- a/old_docs/API_docs_v40/constructors/updateWebPage.md +++ b/old_docs/API_docs_v40/constructors/updateWebPage.md @@ -24,6 +24,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updates.md b/old_docs/API_docs_v40/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v40/constructors/updates.md +++ b/old_docs/API_docs_v40/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updatesCombined.md b/old_docs/API_docs_v40/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v40/constructors/updatesCombined.md +++ b/old_docs/API_docs_v40/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updatesTooLong.md b/old_docs/API_docs_v40/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v40/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v40/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updates_channelDifference.md b/old_docs/API_docs_v40/constructors/updates_channelDifference.md index d6fb47b5..e52d5a33 100644 --- a/old_docs/API_docs_v40/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v40/constructors/updates_channelDifference.md @@ -29,6 +29,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md index 5c17d8f3..34b97329 100644 --- a/old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v40/constructors/updates_channelDifferenceEmpty.md @@ -25,6 +25,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md index 823c30b6..c1ece402 100644 --- a/old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v40/constructors/updates_channelDifferenceTooLong.md @@ -33,6 +33,13 @@ description: updates_channelDifferenceTooLong attributes, type and 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' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updates_difference.md b/old_docs/API_docs_v40/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v40/constructors/updates_difference.md +++ b/old_docs/API_docs_v40/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v40/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v40/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v40/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updates_differenceSlice.md b/old_docs/API_docs_v40/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v40/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v40/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/updates_state.md b/old_docs/API_docs_v40/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v40/constructors/updates_state.md +++ b/old_docs/API_docs_v40/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/upload_file.md b/old_docs/API_docs_v40/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v40/constructors/upload_file.md +++ b/old_docs/API_docs_v40/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/user.md b/old_docs/API_docs_v40/constructors/user.md index 252aab1c..fa220e68 100644 --- a/old_docs/API_docs_v40/constructors/user.md +++ b/old_docs/API_docs_v40/constructors/user.md @@ -32,6 +32,13 @@ description: user attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","id":"int","access_hash":"long","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus","bot_info_version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/userEmpty.md b/old_docs/API_docs_v40/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v40/constructors/userEmpty.md +++ b/old_docs/API_docs_v40/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/userFull.md b/old_docs/API_docs_v40/constructors/userFull.md index eec3fa8c..2e6da813 100644 --- a/old_docs/API_docs_v40/constructors/userFull.md +++ b/old_docs/API_docs_v40/constructors/userFull.md @@ -29,6 +29,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/userProfilePhoto.md b/old_docs/API_docs_v40/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v40/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v40/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v40/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v40/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v40/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/userStatusEmpty.md b/old_docs/API_docs_v40/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v40/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v40/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/userStatusLastMonth.md b/old_docs/API_docs_v40/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v40/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v40/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/userStatusLastWeek.md b/old_docs/API_docs_v40/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v40/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v40/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/userStatusOffline.md b/old_docs/API_docs_v40/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v40/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v40/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/userStatusOnline.md b/old_docs/API_docs_v40/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v40/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v40/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/userStatusRecently.md b/old_docs/API_docs_v40/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v40/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v40/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/vector.md b/old_docs/API_docs_v40/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v40/constructors/vector.md +++ b/old_docs/API_docs_v40/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/video.md b/old_docs/API_docs_v40/constructors/video.md index 7c15f909..d1e2e49e 100644 --- a/old_docs/API_docs_v40/constructors/video.md +++ b/old_docs/API_docs_v40/constructors/video.md @@ -33,6 +33,13 @@ description: video attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/videoEmpty.md b/old_docs/API_docs_v40/constructors/videoEmpty.md index 74b18d58..d5d10973 100644 --- a/old_docs/API_docs_v40/constructors/videoEmpty.md +++ b/old_docs/API_docs_v40/constructors/videoEmpty.md @@ -24,6 +24,13 @@ description: videoEmpty attributes, type and example $videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"videoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/wallPaper.md b/old_docs/API_docs_v40/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v40/constructors/wallPaper.md +++ b/old_docs/API_docs_v40/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/wallPaperSolid.md b/old_docs/API_docs_v40/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v40/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v40/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/webPage.md b/old_docs/API_docs_v40/constructors/webPage.md index 7c0a432f..b4dd86ee 100644 --- a/old_docs/API_docs_v40/constructors/webPage.md +++ b/old_docs/API_docs_v40/constructors/webPage.md @@ -38,6 +38,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/webPageEmpty.md b/old_docs/API_docs_v40/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v40/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v40/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/constructors/webPagePending.md b/old_docs/API_docs_v40/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v40/constructors/webPagePending.md +++ b/old_docs/API_docs_v40/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/account_changePhone.md b/old_docs/API_docs_v40/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v40/methods/account_changePhone.md +++ b/old_docs/API_docs_v40/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_checkUsername.md b/old_docs/API_docs_v40/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v40/methods/account_checkUsername.md +++ b/old_docs/API_docs_v40/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_deleteAccount.md b/old_docs/API_docs_v40/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v40/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v40/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_getAccountTTL.md b/old_docs/API_docs_v40/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v40/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v40/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/account_getAuthorizations.md b/old_docs/API_docs_v40/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v40/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v40/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/account_getNotifySettings.md b/old_docs/API_docs_v40/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v40/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_getPassword.md b/old_docs/API_docs_v40/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v40/methods/account_getPassword.md +++ b/old_docs/API_docs_v40/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/account_getPasswordSettings.md b/old_docs/API_docs_v40/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v40/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v40/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_getPrivacy.md b/old_docs/API_docs_v40/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v40/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v40/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_getWallPapers.md b/old_docs/API_docs_v40/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v40/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v40/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/account_registerDevice.md b/old_docs/API_docs_v40/methods/account_registerDevice.md index 746ac76d..c786c6a8 100644 --- a/old_docs/API_docs_v40/methods/account_registerDevice.md +++ b/old_docs/API_docs_v40/methods/account_registerDevice.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +app_sandbox - Json encoded Bool +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_resetAuthorization.md b/old_docs/API_docs_v40/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v40/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v40/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_resetNotifySettings.md b/old_docs/API_docs_v40/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v40/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md index 002dc1ab..605bcaa3 100644 --- a/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v40/methods/account_sendChangePhoneCode.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_setAccountTTL.md b/old_docs/API_docs_v40/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v40/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v40/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_setPrivacy.md b/old_docs/API_docs_v40/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v40/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v40/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_unregisterDevice.md b/old_docs/API_docs_v40/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v40/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v40/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v40/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_updateNotifySettings.md b/old_docs/API_docs_v40/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v40/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v40/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v40/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_updateProfile.md b/old_docs/API_docs_v40/methods/account_updateProfile.md index 6e8891d0..bf1c3b8f 100644 --- a/old_docs/API_docs_v40/methods/account_updateProfile.md +++ b/old_docs/API_docs_v40/methods/account_updateProfile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_updateStatus.md b/old_docs/API_docs_v40/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v40/methods/account_updateStatus.md +++ b/old_docs/API_docs_v40/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/account_updateUsername.md b/old_docs/API_docs_v40/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v40/methods/account_updateUsername.md +++ b/old_docs/API_docs_v40/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v40/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/auth_checkPassword.md b/old_docs/API_docs_v40/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v40/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v40/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/auth_checkPhone.md b/old_docs/API_docs_v40/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v40/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v40/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/auth_exportAuthorization.md b/old_docs/API_docs_v40/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v40/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/auth_importAuthorization.md b/old_docs/API_docs_v40/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v40/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v40/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/auth_logOut.md b/old_docs/API_docs_v40/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v40/methods/auth_logOut.md +++ b/old_docs/API_docs_v40/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/auth_recoverPassword.md b/old_docs/API_docs_v40/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v40/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v40/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v40/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v40/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/auth_sendCall.md b/old_docs/API_docs_v40/methods/auth_sendCall.md index 9e50a03d..08b4d1d4 100644 --- a/old_docs/API_docs_v40/methods/auth_sendCall.md +++ b/old_docs/API_docs_v40/methods/auth_sendCall.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCall +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCall` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/auth_sendCode.md b/old_docs/API_docs_v40/methods/auth_sendCode.md index 6896bc05..a9009e4b 100644 --- a/old_docs/API_docs_v40/methods/auth_sendCode.md +++ b/old_docs/API_docs_v40/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +phone_number - Json encoded string +sms_type - Json encoded int +api_id - Json encoded int +api_hash - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/auth_sendInvites.md b/old_docs/API_docs_v40/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v40/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v40/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/auth_sendSms.md b/old_docs/API_docs_v40/methods/auth_sendSms.md index 3653ccdd..5e62431c 100644 --- a/old_docs/API_docs_v40/methods/auth_sendSms.md +++ b/old_docs/API_docs_v40/methods/auth_sendSms.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendSms +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendSms` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/auth_signIn.md b/old_docs/API_docs_v40/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v40/methods/auth_signIn.md +++ b/old_docs/API_docs_v40/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/auth_signUp.md b/old_docs/API_docs_v40/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v40/methods/auth_signUp.md +++ b/old_docs/API_docs_v40/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/contacts_block.md b/old_docs/API_docs_v40/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v40/methods/contacts_block.md +++ b/old_docs/API_docs_v40/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/contacts_deleteContact.md b/old_docs/API_docs_v40/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v40/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v40/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/contacts_deleteContacts.md b/old_docs/API_docs_v40/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v40/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/contacts_exportCard.md b/old_docs/API_docs_v40/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v40/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v40/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/contacts_getBlocked.md b/old_docs/API_docs_v40/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v40/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v40/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/contacts_getContacts.md b/old_docs/API_docs_v40/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v40/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/contacts_getStatuses.md b/old_docs/API_docs_v40/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v40/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v40/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/contacts_getSuggested.md b/old_docs/API_docs_v40/methods/contacts_getSuggested.md index 1c9a532d..66e4c1b3 100644 --- a/old_docs/API_docs_v40/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v40/methods/contacts_getSuggested.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getSuggested +* params - {"limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getSuggested` + +Parameters: + +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/contacts_importCard.md b/old_docs/API_docs_v40/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v40/methods/contacts_importCard.md +++ b/old_docs/API_docs_v40/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/contacts_importContacts.md b/old_docs/API_docs_v40/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v40/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v40/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/contacts_resolveUsername.md b/old_docs/API_docs_v40/methods/contacts_resolveUsername.md index b9880602..06cce35c 100644 --- a/old_docs/API_docs_v40/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v40/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/contacts_search.md b/old_docs/API_docs_v40/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v40/methods/contacts_search.md +++ b/old_docs/API_docs_v40/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/contacts_unblock.md b/old_docs/API_docs_v40/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v40/methods/contacts_unblock.md +++ b/old_docs/API_docs_v40/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/help_getAppChangelog.md b/old_docs/API_docs_v40/methods/help_getAppChangelog.md index 337c12be..b93c56db 100644 --- a/old_docs/API_docs_v40/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v40/methods/help_getAppChangelog.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/help_getAppUpdate.md b/old_docs/API_docs_v40/methods/help_getAppUpdate.md index b52e83e8..58430792 100644 --- a/old_docs/API_docs_v40/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v40/methods/help_getAppUpdate.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/help_getConfig.md b/old_docs/API_docs_v40/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v40/methods/help_getConfig.md +++ b/old_docs/API_docs_v40/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/help_getInviteText.md b/old_docs/API_docs_v40/methods/help_getInviteText.md index 2d9c4653..ec75a17f 100644 --- a/old_docs/API_docs_v40/methods/help_getInviteText.md +++ b/old_docs/API_docs_v40/methods/help_getInviteText.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/help_getNearestDc.md b/old_docs/API_docs_v40/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v40/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v40/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/help_getSupport.md b/old_docs/API_docs_v40/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v40/methods/help_getSupport.md +++ b/old_docs/API_docs_v40/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/help_saveAppLog.md b/old_docs/API_docs_v40/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v40/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v40/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/initConnection.md b/old_docs/API_docs_v40/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v40/methods/initConnection.md +++ b/old_docs/API_docs_v40/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/invokeAfterMsg.md b/old_docs/API_docs_v40/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v40/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v40/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/invokeAfterMsgs.md b/old_docs/API_docs_v40/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v40/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v40/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/invokeWithLayer.md b/old_docs/API_docs_v40/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v40/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v40/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v40/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_acceptEncryption.md b/old_docs/API_docs_v40/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v40/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v40/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_addChatUser.md b/old_docs/API_docs_v40/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v40/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v40/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_checkChatInvite.md b/old_docs/API_docs_v40/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v40/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_createChannel.md b/old_docs/API_docs_v40/methods/messages_createChannel.md index 02548916..8aff1f91 100644 --- a/old_docs/API_docs_v40/methods/messages_createChannel.md +++ b/old_docs/API_docs_v40/methods/messages_createChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChannel(['title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChannel +* params - {"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChannel` + +Parameters: + +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_createChat.md b/old_docs/API_docs_v40/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v40/methods/messages_createChat.md +++ b/old_docs/API_docs_v40/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md b/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md index a2e2c90e..43c19441 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md +++ b/old_docs/API_docs_v40/methods/messages_deleteChannelMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteChannelMessages(['peer' => InputPeer, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChannelMessages +* params - {"peer":"InputPeer","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChannelMessages` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_deleteChatUser.md b/old_docs/API_docs_v40/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v40/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_deleteHistory.md b/old_docs/API_docs_v40/methods/messages_deleteHistory.md index 50cb66a0..1182a891 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v40/methods/messages_deleteHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"peer":"InputPeer","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +peer - Json encoded InputPeer +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_deleteMessages.md b/old_docs/API_docs_v40/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v40/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v40/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_discardEncryption.md b/old_docs/API_docs_v40/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v40/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v40/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_editChatPhoto.md b/old_docs/API_docs_v40/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v40/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v40/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_editChatTitle.md b/old_docs/API_docs_v40/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v40/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v40/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_exportChatInvite.md b/old_docs/API_docs_v40/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v40/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_forwardMessage.md b/old_docs/API_docs_v40/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v40/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v40/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_forwardMessages.md b/old_docs/API_docs_v40/methods/messages_forwardMessages.md index 73f7e733..e32455f5 100644 --- a/old_docs/API_docs_v40/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v40/methods/messages_forwardMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"peer":"InputPeer","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_getAllStickers.md b/old_docs/API_docs_v40/methods/messages_getAllStickers.md index 91961b0e..35ba6f74 100644 --- a/old_docs/API_docs_v40/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v40/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md b/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md index ee3323b1..2c0afd32 100644 --- a/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md +++ b/old_docs/API_docs_v40/methods/messages_getChannelDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getChannelDialogs(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChannelDialogs +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChannelDialogs` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_getChats.md b/old_docs/API_docs_v40/methods/messages_getChats.md index f202db1e..38bee8a3 100644 --- a/old_docs/API_docs_v40/methods/messages_getChats.md +++ b/old_docs/API_docs_v40/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [InputChat], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["InputChat"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of InputChat + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_getDhConfig.md b/old_docs/API_docs_v40/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v40/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v40/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_getDialogs.md b/old_docs/API_docs_v40/methods/messages_getDialogs.md index 4336683f..84424892 100644 --- a/old_docs/API_docs_v40/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v40/methods/messages_getDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_getFullChat.md b/old_docs/API_docs_v40/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v40/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v40/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_getHistory.md b/old_docs/API_docs_v40/methods/messages_getHistory.md index 42dc822f..a3915678 100644 --- a/old_docs/API_docs_v40/methods/messages_getHistory.md +++ b/old_docs/API_docs_v40/methods/messages_getHistory.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'min_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset":"int","max_id":"int","min_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset - Json encoded int +max_id - Json encoded int +min_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_getImportantHistory.md b/old_docs/API_docs_v40/methods/messages_getImportantHistory.md index 24918aca..26416bd8 100644 --- a/old_docs/API_docs_v40/methods/messages_getImportantHistory.md +++ b/old_docs/API_docs_v40/methods/messages_getImportantHistory.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getImportantHistory(['peer' => InputPeer, 'max_id' => int, 'min_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getImportantHistory +* params - {"peer":"InputPeer","max_id":"int","min_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getImportantHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int +min_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_getMessages.md b/old_docs/API_docs_v40/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v40/methods/messages_getMessages.md +++ b/old_docs/API_docs_v40/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_getStickerSet.md b/old_docs/API_docs_v40/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v40/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_getStickers.md b/old_docs/API_docs_v40/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v40/methods/messages_getStickers.md +++ b/old_docs/API_docs_v40/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v40/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_importChatInvite.md b/old_docs/API_docs_v40/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v40/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v40/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_installStickerSet.md b/old_docs/API_docs_v40/methods/messages_installStickerSet.md index a3c12183..637005f3 100644 --- a/old_docs/API_docs_v40/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","disabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +disabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_readChannelHistory.md b/old_docs/API_docs_v40/methods/messages_readChannelHistory.md index 3b027133..933a9c8c 100644 --- a/old_docs/API_docs_v40/methods/messages_readChannelHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readChannelHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readChannelHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readChannelHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readChannelHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_readHistory.md b/old_docs/API_docs_v40/methods/messages_readHistory.md index dc13f6f6..e07ef5a3 100644 --- a/old_docs/API_docs_v40/methods/messages_readHistory.md +++ b/old_docs/API_docs_v40/methods/messages_readHistory.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_readMessageContents.md b/old_docs/API_docs_v40/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v40/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v40/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_receivedMessages.md b/old_docs/API_docs_v40/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v40/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v40/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_receivedQueue.md b/old_docs/API_docs_v40/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v40/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v40/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_requestEncryption.md b/old_docs/API_docs_v40/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v40/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v40/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_search.md b/old_docs/API_docs_v40/methods/messages_search.md index d53456d0..a0485ebe 100644 --- a/old_docs/API_docs_v40/methods/messages_search.md +++ b/old_docs/API_docs_v40/methods/messages_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_sendBroadcast.md b/old_docs/API_docs_v40/methods/messages_sendBroadcast.md index d4af6317..81e9c7b8 100644 --- a/old_docs/API_docs_v40/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v40/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_sendEncrypted.md b/old_docs/API_docs_v40/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v40/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_sendMedia.md b/old_docs/API_docs_v40/methods/messages_sendMedia.md index 1000737b..de3efc79 100644 --- a/old_docs/API_docs_v40/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v40/methods/messages_sendMedia.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_sendMessage.md b/old_docs/API_docs_v40/methods/messages_sendMessage.md index 558935d2..e267a588 100644 --- a/old_docs/API_docs_v40/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v40/methods/messages_sendMessage.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v40/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_setTyping.md b/old_docs/API_docs_v40/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v40/methods/messages_setTyping.md +++ b/old_docs/API_docs_v40/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_startBot.md b/old_docs/API_docs_v40/methods/messages_startBot.md index 4b809b0f..804280e9 100644 --- a/old_docs/API_docs_v40/methods/messages_startBot.md +++ b/old_docs/API_docs_v40/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","chat_id":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +chat_id - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v40/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/photos_deletePhotos.md b/old_docs/API_docs_v40/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v40/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v40/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/photos_getUserPhotos.md b/old_docs/API_docs_v40/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v40/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v40/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v40/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v40/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/updates_getChannelDifference.md b/old_docs/API_docs_v40/methods/updates_getChannelDifference.md index 89e70350..d5fb1f7c 100644 --- a/old_docs/API_docs_v40/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v40/methods/updates_getChannelDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['peer' => InputPeer, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"peer":"InputPeer","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +peer - Json encoded InputPeer +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/updates_getDifference.md b/old_docs/API_docs_v40/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v40/methods/updates_getDifference.md +++ b/old_docs/API_docs_v40/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/updates_getState.md b/old_docs/API_docs_v40/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v40/methods/updates_getState.md +++ b/old_docs/API_docs_v40/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v40/methods/upload_getFile.md b/old_docs/API_docs_v40/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v40/methods/upload_getFile.md +++ b/old_docs/API_docs_v40/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v40/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/upload_saveFilePart.md b/old_docs/API_docs_v40/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v40/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v40/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/users_getFullUser.md b/old_docs/API_docs_v40/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v40/methods/users_getFullUser.md +++ b/old_docs/API_docs_v40/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v40/methods/users_getUsers.md b/old_docs/API_docs_v40/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v40/methods/users_getUsers.md +++ b/old_docs/API_docs_v40/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/constructors/accountDaysTTL.md b/old_docs/API_docs_v41/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v41/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v41/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/account_authorizations.md b/old_docs/API_docs_v41/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v41/constructors/account_authorizations.md +++ b/old_docs/API_docs_v41/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/account_noPassword.md b/old_docs/API_docs_v41/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v41/constructors/account_noPassword.md +++ b/old_docs/API_docs_v41/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/account_password.md b/old_docs/API_docs_v41/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v41/constructors/account_password.md +++ b/old_docs/API_docs_v41/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v41/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v41/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v41/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/account_passwordSettings.md b/old_docs/API_docs_v41/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v41/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v41/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/account_privacyRules.md b/old_docs/API_docs_v41/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v41/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v41/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md index 77fbeb66..1b776018 100644 --- a/old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v41/constructors/account_sentChangePhoneCode.md @@ -25,6 +25,13 @@ description: account_sentChangePhoneCode attributes, type and example $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/audio.md b/old_docs/API_docs_v41/constructors/audio.md index b99c9822..d0f34764 100644 --- a/old_docs/API_docs_v41/constructors/audio.md +++ b/old_docs/API_docs_v41/constructors/audio.md @@ -30,6 +30,13 @@ description: audio attributes, type and example $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/audioEmpty.md b/old_docs/API_docs_v41/constructors/audioEmpty.md index 7a3b8772..72e43b19 100644 --- a/old_docs/API_docs_v41/constructors/audioEmpty.md +++ b/old_docs/API_docs_v41/constructors/audioEmpty.md @@ -24,6 +24,13 @@ description: audioEmpty attributes, type and example $audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audioEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/auth_authorization.md b/old_docs/API_docs_v41/constructors/auth_authorization.md index 6b60d2ec..90504507 100644 --- a/old_docs/API_docs_v41/constructors/auth_authorization.md +++ b/old_docs/API_docs_v41/constructors/auth_authorization.md @@ -24,6 +24,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/auth_checkedPhone.md b/old_docs/API_docs_v41/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v41/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v41/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v41/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v41/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v41/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v41/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/auth_sentAppCode.md b/old_docs/API_docs_v41/constructors/auth_sentAppCode.md index d0d99104..4288276f 100644 --- a/old_docs/API_docs_v41/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v41/constructors/auth_sentAppCode.md @@ -27,6 +27,13 @@ description: auth_sentAppCode attributes, type and example $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/auth_sentCode.md b/old_docs/API_docs_v41/constructors/auth_sentCode.md index edadb37e..d393aeae 100644 --- a/old_docs/API_docs_v41/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v41/constructors/auth_sentCode.md @@ -27,6 +27,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/authorization.md b/old_docs/API_docs_v41/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v41/constructors/authorization.md +++ b/old_docs/API_docs_v41/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/botCommand.md b/old_docs/API_docs_v41/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v41/constructors/botCommand.md +++ b/old_docs/API_docs_v41/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/botInfo.md b/old_docs/API_docs_v41/constructors/botInfo.md index 41d6dc96..32328ee5 100644 --- a/old_docs/API_docs_v41/constructors/botInfo.md +++ b/old_docs/API_docs_v41/constructors/botInfo.md @@ -28,6 +28,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/botInfoEmpty.md b/old_docs/API_docs_v41/constructors/botInfoEmpty.md index 0466220a..0e6a5962 100644 --- a/old_docs/API_docs_v41/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v41/constructors/botInfoEmpty.md @@ -19,6 +19,13 @@ description: botInfoEmpty attributes, type and example $botInfoEmpty = ['_' => 'botInfoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channel.md b/old_docs/API_docs_v41/constructors/channel.md index 9f165331..d4ee8d7f 100644 --- a/old_docs/API_docs_v41/constructors/channel.md +++ b/old_docs/API_docs_v41/constructors/channel.md @@ -38,6 +38,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","creator":"Bool","kicked":"Bool","left":"Bool","editor":"Bool","moderator":"Bool","broadcast":"Bool","verified":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelForbidden.md b/old_docs/API_docs_v41/constructors/channelForbidden.md index ea7a1999..7c9a3dae 100644 --- a/old_docs/API_docs_v41/constructors/channelForbidden.md +++ b/old_docs/API_docs_v41/constructors/channelForbidden.md @@ -26,6 +26,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelFull.md b/old_docs/API_docs_v41/constructors/channelFull.md index 6fac3d5b..d44fd8e3 100644 --- a/old_docs/API_docs_v41/constructors/channelFull.md +++ b/old_docs/API_docs_v41/constructors/channelFull.md @@ -38,6 +38,13 @@ description: channelFull attributes, type and example $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, '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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","can_view_participants":"Bool","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":["BotInfo"],"migrated_from_chat_id":"int","migrated_from_max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelMessagesFilter.md b/old_docs/API_docs_v41/constructors/channelMessagesFilter.md index c4ba8094..7d0f95ca 100644 --- a/old_docs/API_docs_v41/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v41/constructors/channelMessagesFilter.md @@ -25,6 +25,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","important_only":"Bool","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v41/constructors/channelMessagesFilterCollapsed.md index 11cebd02..a1563c5b 100644 --- a/old_docs/API_docs_v41/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v41/constructors/channelMessagesFilterCollapsed.md @@ -19,6 +19,13 @@ description: channelMessagesFilterCollapsed attributes, type and example $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterCollapsed"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v41/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v41/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v41/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelParticipant.md b/old_docs/API_docs_v41/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipant.md +++ b/old_docs/API_docs_v41/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelParticipantCreator.md b/old_docs/API_docs_v41/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelParticipantEditor.md b/old_docs/API_docs_v41/constructors/channelParticipantEditor.md index 3c866534..64f84b38 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantEditor.md @@ -26,6 +26,13 @@ description: channelParticipantEditor attributes, type and example $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelParticipantKicked.md b/old_docs/API_docs_v41/constructors/channelParticipantKicked.md index 362872f9..4aedad4d 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantKicked.md @@ -26,6 +26,13 @@ description: channelParticipantKicked attributes, type and example $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelParticipantModerator.md b/old_docs/API_docs_v41/constructors/channelParticipantModerator.md index ff9a7094..634f9de8 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantModerator.md @@ -26,6 +26,13 @@ description: channelParticipantModerator attributes, type and example $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelParticipantSelf.md b/old_docs/API_docs_v41/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v41/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelParticipantsBots.md b/old_docs/API_docs_v41/constructors/channelParticipantsBots.md index 24b68c95..963f155e 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantsBots.md @@ -19,6 +19,13 @@ description: channelParticipantsBots attributes, type and example $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBots"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v41/constructors/channelParticipantsKicked.md index d7889060..37714c3e 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantsKicked.md @@ -19,6 +19,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v41/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/old_docs/API_docs_v41/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v41/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelRoleEditor.md b/old_docs/API_docs_v41/constructors/channelRoleEditor.md index 103b7ae5..fea2e406 100644 --- a/old_docs/API_docs_v41/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v41/constructors/channelRoleEditor.md @@ -19,6 +19,13 @@ description: channelRoleEditor attributes, type and example $channelRoleEditor = ['_' => 'channelRoleEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEditor"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelRoleEmpty.md b/old_docs/API_docs_v41/constructors/channelRoleEmpty.md index b5a7b52c..932c9fb4 100644 --- a/old_docs/API_docs_v41/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v41/constructors/channelRoleEmpty.md @@ -19,6 +19,13 @@ description: channelRoleEmpty attributes, type and example $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channelRoleModerator.md b/old_docs/API_docs_v41/constructors/channelRoleModerator.md index f3aaff68..5d6a37d1 100644 --- a/old_docs/API_docs_v41/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v41/constructors/channelRoleModerator.md @@ -19,6 +19,13 @@ description: channelRoleModerator attributes, type and example $channelRoleModerator = ['_' => 'channelRoleModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleModerator"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channels_channelParticipant.md b/old_docs/API_docs_v41/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/old_docs/API_docs_v41/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v41/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/channels_channelParticipants.md b/old_docs/API_docs_v41/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/old_docs/API_docs_v41/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v41/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chat.md b/old_docs/API_docs_v41/constructors/chat.md index 9bad67b3..70955e06 100644 --- a/old_docs/API_docs_v41/constructors/chat.md +++ b/old_docs/API_docs_v41/constructors/chat.md @@ -36,6 +36,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatEmpty.md b/old_docs/API_docs_v41/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v41/constructors/chatEmpty.md +++ b/old_docs/API_docs_v41/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatForbidden.md b/old_docs/API_docs_v41/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/old_docs/API_docs_v41/constructors/chatForbidden.md +++ b/old_docs/API_docs_v41/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatFull.md b/old_docs/API_docs_v41/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v41/constructors/chatFull.md +++ b/old_docs/API_docs_v41/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatInvite.md b/old_docs/API_docs_v41/constructors/chatInvite.md index 8207c7f1..effead5a 100644 --- a/old_docs/API_docs_v41/constructors/chatInvite.md +++ b/old_docs/API_docs_v41/constructors/chatInvite.md @@ -28,6 +28,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatInviteAlready.md b/old_docs/API_docs_v41/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v41/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v41/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatInviteEmpty.md b/old_docs/API_docs_v41/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v41/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v41/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatInviteExported.md b/old_docs/API_docs_v41/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v41/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v41/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatParticipant.md b/old_docs/API_docs_v41/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipant.md +++ b/old_docs/API_docs_v41/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v41/constructors/chatParticipantAdmin.md index 6740c4a3..775f29c7 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v41/constructors/chatParticipantAdmin.md @@ -26,6 +26,13 @@ description: chatParticipantAdmin attributes, type and example $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatParticipantCreator.md b/old_docs/API_docs_v41/constructors/chatParticipantCreator.md index b80542a7..687dd93f 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v41/constructors/chatParticipantCreator.md @@ -24,6 +24,13 @@ description: chatParticipantCreator attributes, type and example $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatParticipants.md b/old_docs/API_docs_v41/constructors/chatParticipants.md index 2420f15e..c1602888 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipants.md +++ b/old_docs/API_docs_v41/constructors/chatParticipants.md @@ -26,6 +26,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v41/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/old_docs/API_docs_v41/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v41/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatPhoto.md b/old_docs/API_docs_v41/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v41/constructors/chatPhoto.md +++ b/old_docs/API_docs_v41/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v41/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v41/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v41/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/config.md b/old_docs/API_docs_v41/constructors/config.md index 4e23d2e1..7de9a043 100644 --- a/old_docs/API_docs_v41/constructors/config.md +++ b/old_docs/API_docs_v41/constructors/config.md @@ -41,6 +41,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contact.md b/old_docs/API_docs_v41/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v41/constructors/contact.md +++ b/old_docs/API_docs_v41/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contactBlocked.md b/old_docs/API_docs_v41/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v41/constructors/contactBlocked.md +++ b/old_docs/API_docs_v41/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contactLinkContact.md b/old_docs/API_docs_v41/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v41/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v41/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v41/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v41/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v41/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contactLinkNone.md b/old_docs/API_docs_v41/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v41/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v41/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contactLinkUnknown.md b/old_docs/API_docs_v41/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v41/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v41/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contactStatus.md b/old_docs/API_docs_v41/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v41/constructors/contactStatus.md +++ b/old_docs/API_docs_v41/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contactSuggested.md b/old_docs/API_docs_v41/constructors/contactSuggested.md index cf53fa55..0508f837 100644 --- a/old_docs/API_docs_v41/constructors/contactSuggested.md +++ b/old_docs/API_docs_v41/constructors/contactSuggested.md @@ -25,6 +25,13 @@ description: contactSuggested attributes, type and example $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contacts_blocked.md b/old_docs/API_docs_v41/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v41/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v41/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v41/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v41/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v41/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contacts_contacts.md b/old_docs/API_docs_v41/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v41/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v41/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v41/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contacts_found.md b/old_docs/API_docs_v41/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/old_docs/API_docs_v41/constructors/contacts_found.md +++ b/old_docs/API_docs_v41/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contacts_importedContacts.md b/old_docs/API_docs_v41/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v41/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v41/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contacts_link.md b/old_docs/API_docs_v41/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v41/constructors/contacts_link.md +++ b/old_docs/API_docs_v41/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v41/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/contacts_suggested.md b/old_docs/API_docs_v41/constructors/contacts_suggested.md index 90ff7671..e4dd4100 100644 --- a/old_docs/API_docs_v41/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v41/constructors/contacts_suggested.md @@ -25,6 +25,13 @@ description: contacts_suggested attributes, type and example $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/dcOption.md b/old_docs/API_docs_v41/constructors/dcOption.md index 124a7148..85ff3d71 100644 --- a/old_docs/API_docs_v41/constructors/dcOption.md +++ b/old_docs/API_docs_v41/constructors/dcOption.md @@ -28,6 +28,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","ipv6":"Bool","media_only":"Bool","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/dialog.md b/old_docs/API_docs_v41/constructors/dialog.md index 9c6f4d43..d706225d 100644 --- a/old_docs/API_docs_v41/constructors/dialog.md +++ b/old_docs/API_docs_v41/constructors/dialog.md @@ -28,6 +28,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/dialogChannel.md b/old_docs/API_docs_v41/constructors/dialogChannel.md index 160dc27e..f4d28d89 100644 --- a/old_docs/API_docs_v41/constructors/dialogChannel.md +++ b/old_docs/API_docs_v41/constructors/dialogChannel.md @@ -31,6 +31,13 @@ description: dialogChannel attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/disabledFeature.md b/old_docs/API_docs_v41/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v41/constructors/disabledFeature.md +++ b/old_docs/API_docs_v41/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/document.md b/old_docs/API_docs_v41/constructors/document.md index 7153e5a6..7e3482ad 100644 --- a/old_docs/API_docs_v41/constructors/document.md +++ b/old_docs/API_docs_v41/constructors/document.md @@ -31,6 +31,13 @@ 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, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v41/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/documentAttributeAudio.md b/old_docs/API_docs_v41/constructors/documentAttributeAudio.md index 23a48363..d56ef28d 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeAudio.md @@ -26,6 +26,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/documentAttributeFilename.md b/old_docs/API_docs_v41/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v41/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/documentAttributeSticker.md b/old_docs/API_docs_v41/constructors/documentAttributeSticker.md index 9f8168b1..3cb9fcd5 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeSticker.md @@ -25,6 +25,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/documentAttributeVideo.md b/old_docs/API_docs_v41/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v41/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v41/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/documentEmpty.md b/old_docs/API_docs_v41/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v41/constructors/documentEmpty.md +++ b/old_docs/API_docs_v41/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/encryptedChat.md b/old_docs/API_docs_v41/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChat.md +++ b/old_docs/API_docs_v41/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v41/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v41/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v41/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v41/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/encryptedChatRequested.md b/old_docs/API_docs_v41/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v41/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v41/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v41/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v41/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/encryptedFile.md b/old_docs/API_docs_v41/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v41/constructors/encryptedFile.md +++ b/old_docs/API_docs_v41/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v41/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v41/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v41/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/encryptedMessage.md b/old_docs/API_docs_v41/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v41/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v41/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/encryptedMessageService.md b/old_docs/API_docs_v41/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v41/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v41/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/error.md b/old_docs/API_docs_v41/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v41/constructors/error.md +++ b/old_docs/API_docs_v41/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/fileLocation.md b/old_docs/API_docs_v41/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v41/constructors/fileLocation.md +++ b/old_docs/API_docs_v41/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v41/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v41/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v41/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/geoPoint.md b/old_docs/API_docs_v41/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v41/constructors/geoPoint.md +++ b/old_docs/API_docs_v41/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/geoPointEmpty.md b/old_docs/API_docs_v41/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v41/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v41/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/help_appChangelog.md b/old_docs/API_docs_v41/constructors/help_appChangelog.md index 77c1c338..67e40e85 100644 --- a/old_docs/API_docs_v41/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v41/constructors/help_appChangelog.md @@ -24,6 +24,13 @@ description: help_appChangelog attributes, type and example $help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelog","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md index abbb4865..f6ab5ace 100644 --- a/old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v41/constructors/help_appChangelogEmpty.md @@ -19,6 +19,13 @@ description: help_appChangelogEmpty attributes, type and example $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelogEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/help_appUpdate.md b/old_docs/API_docs_v41/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v41/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v41/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/help_inviteText.md b/old_docs/API_docs_v41/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v41/constructors/help_inviteText.md +++ b/old_docs/API_docs_v41/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/help_noAppUpdate.md b/old_docs/API_docs_v41/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v41/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v41/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/help_support.md b/old_docs/API_docs_v41/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v41/constructors/help_support.md +++ b/old_docs/API_docs_v41/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/importedContact.md b/old_docs/API_docs_v41/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v41/constructors/importedContact.md +++ b/old_docs/API_docs_v41/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputAppEvent.md b/old_docs/API_docs_v41/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v41/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v41/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputAudio.md b/old_docs/API_docs_v41/constructors/inputAudio.md index f618b74f..a75e690f 100644 --- a/old_docs/API_docs_v41/constructors/inputAudio.md +++ b/old_docs/API_docs_v41/constructors/inputAudio.md @@ -25,6 +25,13 @@ description: inputAudio attributes, type and example $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudio","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputAudioEmpty.md b/old_docs/API_docs_v41/constructors/inputAudioEmpty.md index f5ca1a6c..4de803d5 100644 --- a/old_docs/API_docs_v41/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputAudioEmpty.md @@ -19,6 +19,13 @@ description: inputAudioEmpty attributes, type and example $inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v41/constructors/inputAudioFileLocation.md index 8624b224..25650826 100644 --- a/old_docs/API_docs_v41/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputAudioFileLocation.md @@ -25,6 +25,13 @@ description: inputAudioFileLocation attributes, type and example $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputChannel.md b/old_docs/API_docs_v41/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/old_docs/API_docs_v41/constructors/inputChannel.md +++ b/old_docs/API_docs_v41/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputChannelEmpty.md b/old_docs/API_docs_v41/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/old_docs/API_docs_v41/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputChatPhoto.md b/old_docs/API_docs_v41/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v41/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v41/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v41/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v41/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v41/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputDocument.md b/old_docs/API_docs_v41/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v41/constructors/inputDocument.md +++ b/old_docs/API_docs_v41/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v41/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v41/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v41/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v41/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputEncryptedChat.md b/old_docs/API_docs_v41/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputEncryptedFile.md b/old_docs/API_docs_v41/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v41/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v41/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v41/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v41/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v41/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v41/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputFile.md b/old_docs/API_docs_v41/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v41/constructors/inputFile.md +++ b/old_docs/API_docs_v41/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputFileBig.md b/old_docs/API_docs_v41/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v41/constructors/inputFileBig.md +++ b/old_docs/API_docs_v41/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputFileLocation.md b/old_docs/API_docs_v41/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v41/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputGeoPoint.md b/old_docs/API_docs_v41/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v41/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v41/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v41/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v41/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaAudio.md b/old_docs/API_docs_v41/constructors/inputMediaAudio.md index 6f477b8b..0c83afd5 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v41/constructors/inputMediaAudio.md @@ -24,6 +24,13 @@ description: inputMediaAudio attributes, type and example $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaAudio","id":"InputAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaContact.md b/old_docs/API_docs_v41/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v41/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaDocument.md b/old_docs/API_docs_v41/constructors/inputMediaDocument.md index 2aa74093..231c733f 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v41/constructors/inputMediaDocument.md @@ -24,6 +24,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaEmpty.md b/old_docs/API_docs_v41/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v41/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v41/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaPhoto.md b/old_docs/API_docs_v41/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v41/constructors/inputMediaUploadedAudio.md index ad427e4f..e3298757 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedAudio.md @@ -26,6 +26,13 @@ description: inputMediaUploadedAudio attributes, type and example $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v41/constructors/inputMediaUploadedDocument.md index 7afb9494..d36bed64 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedDocument.md @@ -26,6 +26,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v41/constructors/inputMediaUploadedPhoto.md index 0c4c9135..923fd903 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbDocument.md index 6711d93a..843b4415 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbVideo.md index ccb3076b..5042784d 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedThumbVideo.md @@ -30,6 +30,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v41/constructors/inputMediaUploadedVideo.md index a6750886..0009243e 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMediaUploadedVideo.md @@ -29,6 +29,13 @@ description: inputMediaUploadedVideo attributes, type and example $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaVenue.md b/old_docs/API_docs_v41/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v41/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMediaVideo.md b/old_docs/API_docs_v41/constructors/inputMediaVideo.md index 7539e85c..8626bf3d 100644 --- a/old_docs/API_docs_v41/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMediaVideo.md @@ -25,6 +25,13 @@ description: inputMediaVideo attributes, type and example $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterAudio.md index c326c700..2c8e29fe 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterAudio.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudio attributes, type and example $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md index 9d6d7b67..8b876e5e 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudioDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v41/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v41/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v41/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputNotifyAll.md b/old_docs/API_docs_v41/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v41/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v41/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputNotifyChats.md b/old_docs/API_docs_v41/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v41/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v41/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputNotifyPeer.md b/old_docs/API_docs_v41/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v41/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v41/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputNotifyUsers.md b/old_docs/API_docs_v41/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v41/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v41/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPeerChannel.md b/old_docs/API_docs_v41/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v41/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPeerChat.md b/old_docs/API_docs_v41/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v41/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPeerEmpty.md b/old_docs/API_docs_v41/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v41/constructors/inputPeerNotifySettings.md index d4c26a38..4881d26e 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v41/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPeerSelf.md b/old_docs/API_docs_v41/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v41/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPeerUser.md b/old_docs/API_docs_v41/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v41/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v41/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPhoneContact.md b/old_docs/API_docs_v41/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v41/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v41/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPhoto.md b/old_docs/API_docs_v41/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v41/constructors/inputPhoto.md +++ b/old_docs/API_docs_v41/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPhotoCrop.md b/old_docs/API_docs_v41/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v41/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v41/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v41/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v41/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v41/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v41/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v41/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v41/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v41/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputStickerSetID.md b/old_docs/API_docs_v41/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v41/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v41/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v41/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v41/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v41/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputUser.md b/old_docs/API_docs_v41/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v41/constructors/inputUser.md +++ b/old_docs/API_docs_v41/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputUserEmpty.md b/old_docs/API_docs_v41/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v41/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputUserSelf.md b/old_docs/API_docs_v41/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v41/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v41/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputVideo.md b/old_docs/API_docs_v41/constructors/inputVideo.md index 79d5a034..e6dc5b1f 100644 --- a/old_docs/API_docs_v41/constructors/inputVideo.md +++ b/old_docs/API_docs_v41/constructors/inputVideo.md @@ -25,6 +25,13 @@ description: inputVideo attributes, type and example $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideo","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputVideoEmpty.md b/old_docs/API_docs_v41/constructors/inputVideoEmpty.md index d1f4e1ec..072ace8d 100644 --- a/old_docs/API_docs_v41/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v41/constructors/inputVideoEmpty.md @@ -19,6 +19,13 @@ description: inputVideoEmpty attributes, type and example $inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v41/constructors/inputVideoFileLocation.md index 2ae12a5c..f4c6646e 100644 --- a/old_docs/API_docs_v41/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v41/constructors/inputVideoFileLocation.md @@ -25,6 +25,13 @@ description: inputVideoFileLocation attributes, type and example $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/keyboardButton.md b/old_docs/API_docs_v41/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v41/constructors/keyboardButton.md +++ b/old_docs/API_docs_v41/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/keyboardButtonRow.md b/old_docs/API_docs_v41/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v41/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v41/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/message.md b/old_docs/API_docs_v41/constructors/message.md index 62a63782..f79f8de6 100644 --- a/old_docs/API_docs_v41/constructors/message.md +++ b/old_docs/API_docs_v41/constructors/message.md @@ -39,6 +39,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"],"views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v41/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v41/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v41/constructors/messageActionChannelMigrateFrom.md index d15c0bf3..b63de131 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v41/constructors/messageActionChannelMigrateFrom.md @@ -25,6 +25,13 @@ description: messageActionChannelMigrateFrom attributes, type and example $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageActionChatActivate.md b/old_docs/API_docs_v41/constructors/messageActionChatActivate.md index 6fcc8e99..38a79031 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatActivate.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatActivate.md @@ -19,6 +19,13 @@ description: messageActionChatActivate attributes, type and example $messageActionChatActivate = ['_' => 'messageActionChatActivate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatActivate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v41/constructors/messageActionChatAddUser.md index 34fd5bd6..ee6711dd 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageActionChatCreate.md b/old_docs/API_docs_v41/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageActionChatDeactivate.md b/old_docs/API_docs_v41/constructors/messageActionChatDeactivate.md index 68e10ee0..25c7921c 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatDeactivate.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatDeactivate.md @@ -19,6 +19,13 @@ description: messageActionChatDeactivate attributes, type and example $messageActionChatDeactivate = ['_' => 'messageActionChatDeactivate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeactivate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v41/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v41/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v41/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v41/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v41/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v41/constructors/messageActionChatMigrateTo.md index fda20a24..7214d295 100644 --- a/old_docs/API_docs_v41/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v41/constructors/messageActionChatMigrateTo.md @@ -24,6 +24,13 @@ description: messageActionChatMigrateTo attributes, type and example $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageActionEmpty.md b/old_docs/API_docs_v41/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v41/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v41/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageEmpty.md b/old_docs/API_docs_v41/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v41/constructors/messageEmpty.md +++ b/old_docs/API_docs_v41/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageEntityBold.md b/old_docs/API_docs_v41/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v41/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v41/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v41/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageEntityCode.md b/old_docs/API_docs_v41/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v41/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageEntityEmail.md b/old_docs/API_docs_v41/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v41/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageEntityHashtag.md b/old_docs/API_docs_v41/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v41/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageEntityItalic.md b/old_docs/API_docs_v41/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v41/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageEntityMention.md b/old_docs/API_docs_v41/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v41/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageEntityPre.md b/old_docs/API_docs_v41/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v41/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v41/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v41/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageEntityUnknown.md b/old_docs/API_docs_v41/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v41/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageEntityUrl.md b/old_docs/API_docs_v41/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v41/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v41/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageGroup.md b/old_docs/API_docs_v41/constructors/messageGroup.md index 5e3992c0..ddbc0e37 100644 --- a/old_docs/API_docs_v41/constructors/messageGroup.md +++ b/old_docs/API_docs_v41/constructors/messageGroup.md @@ -27,6 +27,13 @@ description: messageGroup attributes, type and example $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageMediaAudio.md b/old_docs/API_docs_v41/constructors/messageMediaAudio.md index 0bc53b5e..24ca7823 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v41/constructors/messageMediaAudio.md @@ -24,6 +24,13 @@ description: messageMediaAudio attributes, type and example $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaAudio","audio":"Audio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageMediaContact.md b/old_docs/API_docs_v41/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v41/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageMediaDocument.md b/old_docs/API_docs_v41/constructors/messageMediaDocument.md index 3d50d4ab..ec51032e 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v41/constructors/messageMediaDocument.md @@ -24,6 +24,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageMediaEmpty.md b/old_docs/API_docs_v41/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v41/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageMediaGeo.md b/old_docs/API_docs_v41/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v41/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageMediaPhoto.md b/old_docs/API_docs_v41/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v41/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v41/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v41/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageMediaVenue.md b/old_docs/API_docs_v41/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v41/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageMediaVideo.md b/old_docs/API_docs_v41/constructors/messageMediaVideo.md index 42a6ac76..8e72030c 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v41/constructors/messageMediaVideo.md @@ -25,6 +25,13 @@ description: messageMediaVideo attributes, type and example $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVideo","video":"Video","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageMediaWebPage.md b/old_docs/API_docs_v41/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v41/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v41/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageRange.md b/old_docs/API_docs_v41/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v41/constructors/messageRange.md +++ b/old_docs/API_docs_v41/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messageService.md b/old_docs/API_docs_v41/constructors/messageService.md index 6c59e839..f44b4869 100644 --- a/old_docs/API_docs_v41/constructors/messageService.md +++ b/old_docs/API_docs_v41/constructors/messageService.md @@ -32,6 +32,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_affectedHistory.md b/old_docs/API_docs_v41/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v41/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v41/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_affectedMessages.md b/old_docs/API_docs_v41/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v41/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v41/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_allStickers.md b/old_docs/API_docs_v41/constructors/messages_allStickers.md index 972ba615..21c13447 100644 --- a/old_docs/API_docs_v41/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v41/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"string","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v41/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_channelMessages.md b/old_docs/API_docs_v41/constructors/messages_channelMessages.md index 94236376..d9264977 100644 --- a/old_docs/API_docs_v41/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v41/constructors/messages_channelMessages.md @@ -29,6 +29,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_chatFull.md b/old_docs/API_docs_v41/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v41/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v41/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_chats.md b/old_docs/API_docs_v41/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v41/constructors/messages_chats.md +++ b/old_docs/API_docs_v41/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_dhConfig.md b/old_docs/API_docs_v41/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v41/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v41/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v41/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_dialogs.md b/old_docs/API_docs_v41/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v41/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v41/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v41/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v41/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v41/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_messages.md b/old_docs/API_docs_v41/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v41/constructors/messages_messages.md +++ b/old_docs/API_docs_v41/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_messagesSlice.md b/old_docs/API_docs_v41/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v41/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v41/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v41/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v41/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_stickerSet.md b/old_docs/API_docs_v41/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v41/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v41/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_stickers.md b/old_docs/API_docs_v41/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v41/constructors/messages_stickers.md +++ b/old_docs/API_docs_v41/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v41/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v41/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v41/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/nearestDc.md b/old_docs/API_docs_v41/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v41/constructors/nearestDc.md +++ b/old_docs/API_docs_v41/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/notifyAll.md b/old_docs/API_docs_v41/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v41/constructors/notifyAll.md +++ b/old_docs/API_docs_v41/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/notifyChats.md b/old_docs/API_docs_v41/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v41/constructors/notifyChats.md +++ b/old_docs/API_docs_v41/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/notifyPeer.md b/old_docs/API_docs_v41/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v41/constructors/notifyPeer.md +++ b/old_docs/API_docs_v41/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/notifyUsers.md b/old_docs/API_docs_v41/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v41/constructors/notifyUsers.md +++ b/old_docs/API_docs_v41/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/peerChannel.md b/old_docs/API_docs_v41/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v41/constructors/peerChannel.md +++ b/old_docs/API_docs_v41/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/peerChat.md b/old_docs/API_docs_v41/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v41/constructors/peerChat.md +++ b/old_docs/API_docs_v41/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v41/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v41/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v41/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v41/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v41/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v41/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/peerNotifySettings.md b/old_docs/API_docs_v41/constructors/peerNotifySettings.md index f6dc6c35..d0659143 100644 --- a/old_docs/API_docs_v41/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v41/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v41/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v41/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v41/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/peerUser.md b/old_docs/API_docs_v41/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v41/constructors/peerUser.md +++ b/old_docs/API_docs_v41/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/photo.md b/old_docs/API_docs_v41/constructors/photo.md index f9c9582a..2aaa4efd 100644 --- a/old_docs/API_docs_v41/constructors/photo.md +++ b/old_docs/API_docs_v41/constructors/photo.md @@ -27,6 +27,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/photoCachedSize.md b/old_docs/API_docs_v41/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v41/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v41/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/photoEmpty.md b/old_docs/API_docs_v41/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v41/constructors/photoEmpty.md +++ b/old_docs/API_docs_v41/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/photoSize.md b/old_docs/API_docs_v41/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v41/constructors/photoSize.md +++ b/old_docs/API_docs_v41/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/photoSizeEmpty.md b/old_docs/API_docs_v41/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v41/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v41/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/photos_photo.md b/old_docs/API_docs_v41/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v41/constructors/photos_photo.md +++ b/old_docs/API_docs_v41/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/photos_photos.md b/old_docs/API_docs_v41/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v41/constructors/photos_photos.md +++ b/old_docs/API_docs_v41/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/photos_photosSlice.md b/old_docs/API_docs_v41/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v41/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v41/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v41/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v41/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v41/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v41/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v41/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v41/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v41/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v41/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v41/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v41/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v41/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v41/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v41/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v41/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v41/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v41/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v41/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v41/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v41/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md index 4f319506..02a0779a 100644 --- a/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md @@ -25,6 +25,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/replyKeyboardHide.md b/old_docs/API_docs_v41/constructors/replyKeyboardHide.md index 56faa8dd..8b210933 100644 --- a/old_docs/API_docs_v41/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v41/constructors/replyKeyboardHide.md @@ -24,6 +24,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md index 3cebc41f..4269aeb9 100644 --- a/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md @@ -27,6 +27,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v41/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v41/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v41/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v41/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v41/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v41/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v41/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v41/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v41/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v41/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v41/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v41/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/stickerPack.md b/old_docs/API_docs_v41/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v41/constructors/stickerPack.md +++ b/old_docs/API_docs_v41/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/stickerSet.md b/old_docs/API_docs_v41/constructors/stickerSet.md index bed0beeb..2c2aa5aa 100644 --- a/old_docs/API_docs_v41/constructors/stickerSet.md +++ b/old_docs/API_docs_v41/constructors/stickerSet.md @@ -32,6 +32,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/storage_fileGif.md b/old_docs/API_docs_v41/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v41/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/storage_fileJpeg.md b/old_docs/API_docs_v41/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v41/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/storage_fileMov.md b/old_docs/API_docs_v41/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v41/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/storage_fileMp3.md b/old_docs/API_docs_v41/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v41/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/storage_fileMp4.md b/old_docs/API_docs_v41/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v41/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/storage_filePartial.md b/old_docs/API_docs_v41/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v41/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v41/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/storage_filePdf.md b/old_docs/API_docs_v41/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v41/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v41/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/storage_filePng.md b/old_docs/API_docs_v41/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v41/constructors/storage_filePng.md +++ b/old_docs/API_docs_v41/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/storage_fileUnknown.md b/old_docs/API_docs_v41/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v41/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/storage_fileWebp.md b/old_docs/API_docs_v41/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v41/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v41/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/true.md b/old_docs/API_docs_v41/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v41/constructors/true.md +++ b/old_docs/API_docs_v41/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateChannel.md b/old_docs/API_docs_v41/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/old_docs/API_docs_v41/constructors/updateChannel.md +++ b/old_docs/API_docs_v41/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateChannelGroup.md b/old_docs/API_docs_v41/constructors/updateChannelGroup.md index 6ffad0dd..59290243 100644 --- a/old_docs/API_docs_v41/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v41/constructors/updateChannelGroup.md @@ -25,6 +25,13 @@ description: updateChannelGroup attributes, type and example $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v41/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/old_docs/API_docs_v41/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v41/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateChannelTooLong.md b/old_docs/API_docs_v41/constructors/updateChannelTooLong.md index 632fd0a0..621e7774 100644 --- a/old_docs/API_docs_v41/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v41/constructors/updateChannelTooLong.md @@ -24,6 +24,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateChatAdmins.md b/old_docs/API_docs_v41/constructors/updateChatAdmins.md index 36fb3614..bf391961 100644 --- a/old_docs/API_docs_v41/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v41/constructors/updateChatAdmins.md @@ -26,6 +26,13 @@ description: updateChatAdmins attributes, type and example $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v41/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/old_docs/API_docs_v41/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v41/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v41/constructors/updateChatParticipantAdmin.md index fbb2cdae..ba5bbc95 100644 --- a/old_docs/API_docs_v41/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v41/constructors/updateChatParticipantAdmin.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdmin attributes, type and example $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v41/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v41/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v41/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateChatParticipants.md b/old_docs/API_docs_v41/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v41/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v41/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateChatUserTyping.md b/old_docs/API_docs_v41/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v41/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v41/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateContactLink.md b/old_docs/API_docs_v41/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v41/constructors/updateContactLink.md +++ b/old_docs/API_docs_v41/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateContactRegistered.md b/old_docs/API_docs_v41/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v41/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v41/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateDcOptions.md b/old_docs/API_docs_v41/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v41/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v41/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v41/constructors/updateDeleteChannelMessages.md index 6f8c20d5..a078a880 100644 --- a/old_docs/API_docs_v41/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v41/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateDeleteMessages.md b/old_docs/API_docs_v41/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v41/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v41/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v41/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v41/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v41/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v41/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v41/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v41/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateEncryption.md b/old_docs/API_docs_v41/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v41/constructors/updateEncryption.md +++ b/old_docs/API_docs_v41/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateMessageID.md b/old_docs/API_docs_v41/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v41/constructors/updateMessageID.md +++ b/old_docs/API_docs_v41/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateNewAuthorization.md b/old_docs/API_docs_v41/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v41/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v41/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v41/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/old_docs/API_docs_v41/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v41/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v41/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v41/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v41/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateNewMessage.md b/old_docs/API_docs_v41/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v41/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v41/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateNotifySettings.md b/old_docs/API_docs_v41/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v41/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v41/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updatePrivacy.md b/old_docs/API_docs_v41/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v41/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v41/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v41/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/old_docs/API_docs_v41/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v41/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v41/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v41/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v41/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v41/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v41/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v41/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v41/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v41/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v41/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateServiceNotification.md b/old_docs/API_docs_v41/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v41/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v41/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateShort.md b/old_docs/API_docs_v41/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v41/constructors/updateShort.md +++ b/old_docs/API_docs_v41/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateShortChatMessage.md b/old_docs/API_docs_v41/constructors/updateShortChatMessage.md index ce5d7d88..a5cc5fce 100644 --- a/old_docs/API_docs_v41/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v41/constructors/updateShortChatMessage.md @@ -38,6 +38,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateShortMessage.md b/old_docs/API_docs_v41/constructors/updateShortMessage.md index b3220138..076ffac8 100644 --- a/old_docs/API_docs_v41/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v41/constructors/updateShortMessage.md @@ -37,6 +37,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateShortSentMessage.md b/old_docs/API_docs_v41/constructors/updateShortSentMessage.md index cf123f7b..5005d3a2 100644 --- a/old_docs/API_docs_v41/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v41/constructors/updateShortSentMessage.md @@ -31,6 +31,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","unread":"Bool","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateUserBlocked.md b/old_docs/API_docs_v41/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v41/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v41/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateUserName.md b/old_docs/API_docs_v41/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v41/constructors/updateUserName.md +++ b/old_docs/API_docs_v41/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateUserPhone.md b/old_docs/API_docs_v41/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v41/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v41/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateUserPhoto.md b/old_docs/API_docs_v41/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v41/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v41/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateUserStatus.md b/old_docs/API_docs_v41/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v41/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v41/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateUserTyping.md b/old_docs/API_docs_v41/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v41/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v41/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updateWebPage.md b/old_docs/API_docs_v41/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/old_docs/API_docs_v41/constructors/updateWebPage.md +++ b/old_docs/API_docs_v41/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updates.md b/old_docs/API_docs_v41/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v41/constructors/updates.md +++ b/old_docs/API_docs_v41/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updatesCombined.md b/old_docs/API_docs_v41/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v41/constructors/updatesCombined.md +++ b/old_docs/API_docs_v41/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updatesTooLong.md b/old_docs/API_docs_v41/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v41/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v41/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updates_channelDifference.md b/old_docs/API_docs_v41/constructors/updates_channelDifference.md index c64c69b6..876e8d13 100644 --- a/old_docs/API_docs_v41/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v41/constructors/updates_channelDifference.md @@ -30,6 +30,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md index 6e4d7bde..c596d24a 100644 --- a/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md @@ -26,6 +26,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md index ca05cf53..4302d54b 100644 --- a/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md @@ -34,6 +34,13 @@ description: updates_channelDifferenceTooLong attributes, type and example $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceTooLong","final":"Bool","pts":"int","timeout":"int","top_message":"int","top_important_message":"int","read_inbox_max_id":"int","unread_count":"int","unread_important_count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updates_difference.md b/old_docs/API_docs_v41/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v41/constructors/updates_difference.md +++ b/old_docs/API_docs_v41/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v41/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v41/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v41/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updates_differenceSlice.md b/old_docs/API_docs_v41/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v41/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v41/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/updates_state.md b/old_docs/API_docs_v41/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v41/constructors/updates_state.md +++ b/old_docs/API_docs_v41/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/upload_file.md b/old_docs/API_docs_v41/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v41/constructors/upload_file.md +++ b/old_docs/API_docs_v41/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/user.md b/old_docs/API_docs_v41/constructors/user.md index a2273bef..1098035e 100644 --- a/old_docs/API_docs_v41/constructors/user.md +++ b/old_docs/API_docs_v41/constructors/user.md @@ -40,6 +40,13 @@ description: user attributes, type and example $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","self":"Bool","contact":"Bool","mutual_contact":"Bool","deleted":"Bool","bot":"Bool","bot_chat_history":"Bool","bot_nochats":"Bool","verified":"Bool","id":"int","access_hash":"long","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus","bot_info_version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/userEmpty.md b/old_docs/API_docs_v41/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v41/constructors/userEmpty.md +++ b/old_docs/API_docs_v41/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/userFull.md b/old_docs/API_docs_v41/constructors/userFull.md index eec3fa8c..2e6da813 100644 --- a/old_docs/API_docs_v41/constructors/userFull.md +++ b/old_docs/API_docs_v41/constructors/userFull.md @@ -29,6 +29,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/userProfilePhoto.md b/old_docs/API_docs_v41/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v41/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v41/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v41/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v41/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v41/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/userStatusEmpty.md b/old_docs/API_docs_v41/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v41/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v41/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/userStatusLastMonth.md b/old_docs/API_docs_v41/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v41/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v41/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/userStatusLastWeek.md b/old_docs/API_docs_v41/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v41/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v41/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/userStatusOffline.md b/old_docs/API_docs_v41/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v41/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v41/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/userStatusOnline.md b/old_docs/API_docs_v41/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v41/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v41/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/userStatusRecently.md b/old_docs/API_docs_v41/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v41/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v41/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/vector.md b/old_docs/API_docs_v41/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v41/constructors/vector.md +++ b/old_docs/API_docs_v41/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/video.md b/old_docs/API_docs_v41/constructors/video.md index 7c15f909..d1e2e49e 100644 --- a/old_docs/API_docs_v41/constructors/video.md +++ b/old_docs/API_docs_v41/constructors/video.md @@ -33,6 +33,13 @@ description: video attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/videoEmpty.md b/old_docs/API_docs_v41/constructors/videoEmpty.md index 74b18d58..d5d10973 100644 --- a/old_docs/API_docs_v41/constructors/videoEmpty.md +++ b/old_docs/API_docs_v41/constructors/videoEmpty.md @@ -24,6 +24,13 @@ description: videoEmpty attributes, type and example $videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"videoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/wallPaper.md b/old_docs/API_docs_v41/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v41/constructors/wallPaper.md +++ b/old_docs/API_docs_v41/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/wallPaperSolid.md b/old_docs/API_docs_v41/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v41/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v41/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/webPage.md b/old_docs/API_docs_v41/constructors/webPage.md index 7c0a432f..b4dd86ee 100644 --- a/old_docs/API_docs_v41/constructors/webPage.md +++ b/old_docs/API_docs_v41/constructors/webPage.md @@ -38,6 +38,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/webPageEmpty.md b/old_docs/API_docs_v41/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v41/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v41/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/constructors/webPagePending.md b/old_docs/API_docs_v41/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v41/constructors/webPagePending.md +++ b/old_docs/API_docs_v41/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/account_changePhone.md b/old_docs/API_docs_v41/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v41/methods/account_changePhone.md +++ b/old_docs/API_docs_v41/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_checkUsername.md b/old_docs/API_docs_v41/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v41/methods/account_checkUsername.md +++ b/old_docs/API_docs_v41/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_deleteAccount.md b/old_docs/API_docs_v41/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v41/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v41/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_getAccountTTL.md b/old_docs/API_docs_v41/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v41/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v41/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/account_getAuthorizations.md b/old_docs/API_docs_v41/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v41/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v41/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/account_getNotifySettings.md b/old_docs/API_docs_v41/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v41/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_getPassword.md b/old_docs/API_docs_v41/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v41/methods/account_getPassword.md +++ b/old_docs/API_docs_v41/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/account_getPasswordSettings.md b/old_docs/API_docs_v41/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v41/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v41/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_getPrivacy.md b/old_docs/API_docs_v41/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v41/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v41/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_getWallPapers.md b/old_docs/API_docs_v41/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v41/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v41/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/account_registerDevice.md b/old_docs/API_docs_v41/methods/account_registerDevice.md index 746ac76d..c786c6a8 100644 --- a/old_docs/API_docs_v41/methods/account_registerDevice.md +++ b/old_docs/API_docs_v41/methods/account_registerDevice.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +app_sandbox - Json encoded Bool +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_resetAuthorization.md b/old_docs/API_docs_v41/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v41/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v41/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_resetNotifySettings.md b/old_docs/API_docs_v41/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v41/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md index 002dc1ab..605bcaa3 100644 --- a/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v41/methods/account_sendChangePhoneCode.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_setAccountTTL.md b/old_docs/API_docs_v41/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v41/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v41/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_setPrivacy.md b/old_docs/API_docs_v41/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v41/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v41/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_unregisterDevice.md b/old_docs/API_docs_v41/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v41/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v41/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v41/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_updateNotifySettings.md b/old_docs/API_docs_v41/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v41/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v41/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v41/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_updateProfile.md b/old_docs/API_docs_v41/methods/account_updateProfile.md index 6e8891d0..bf1c3b8f 100644 --- a/old_docs/API_docs_v41/methods/account_updateProfile.md +++ b/old_docs/API_docs_v41/methods/account_updateProfile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_updateStatus.md b/old_docs/API_docs_v41/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v41/methods/account_updateStatus.md +++ b/old_docs/API_docs_v41/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/account_updateUsername.md b/old_docs/API_docs_v41/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v41/methods/account_updateUsername.md +++ b/old_docs/API_docs_v41/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v41/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/auth_checkPassword.md b/old_docs/API_docs_v41/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v41/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v41/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/auth_checkPhone.md b/old_docs/API_docs_v41/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v41/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v41/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/auth_exportAuthorization.md b/old_docs/API_docs_v41/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v41/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/auth_importAuthorization.md b/old_docs/API_docs_v41/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v41/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v41/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/auth_logOut.md b/old_docs/API_docs_v41/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v41/methods/auth_logOut.md +++ b/old_docs/API_docs_v41/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/auth_recoverPassword.md b/old_docs/API_docs_v41/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v41/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v41/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v41/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v41/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/auth_sendCall.md b/old_docs/API_docs_v41/methods/auth_sendCall.md index 9e50a03d..08b4d1d4 100644 --- a/old_docs/API_docs_v41/methods/auth_sendCall.md +++ b/old_docs/API_docs_v41/methods/auth_sendCall.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCall +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCall` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/auth_sendCode.md b/old_docs/API_docs_v41/methods/auth_sendCode.md index 6896bc05..a9009e4b 100644 --- a/old_docs/API_docs_v41/methods/auth_sendCode.md +++ b/old_docs/API_docs_v41/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +phone_number - Json encoded string +sms_type - Json encoded int +api_id - Json encoded int +api_hash - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/auth_sendInvites.md b/old_docs/API_docs_v41/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v41/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v41/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/auth_sendSms.md b/old_docs/API_docs_v41/methods/auth_sendSms.md index 3653ccdd..5e62431c 100644 --- a/old_docs/API_docs_v41/methods/auth_sendSms.md +++ b/old_docs/API_docs_v41/methods/auth_sendSms.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendSms +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendSms` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/auth_signIn.md b/old_docs/API_docs_v41/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v41/methods/auth_signIn.md +++ b/old_docs/API_docs_v41/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/auth_signUp.md b/old_docs/API_docs_v41/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v41/methods/auth_signUp.md +++ b/old_docs/API_docs_v41/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_checkUsername.md b/old_docs/API_docs_v41/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/old_docs/API_docs_v41/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v41/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_createChannel.md b/old_docs/API_docs_v41/methods/channels_createChannel.md index a4819767..853ca900 100644 --- a/old_docs/API_docs_v41/methods/channels_createChannel.md +++ b/old_docs/API_docs_v41/methods/channels_createChannel.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +broadcast - Json encoded Bool +megagroup - Json encoded Bool +title - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_deleteChannel.md b/old_docs/API_docs_v41/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v41/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_deleteMessages.md b/old_docs/API_docs_v41/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v41/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v41/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_editAbout.md b/old_docs/API_docs_v41/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/old_docs/API_docs_v41/methods/channels_editAbout.md +++ b/old_docs/API_docs_v41/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_editAdmin.md b/old_docs/API_docs_v41/methods/channels_editAdmin.md index ad3010f3..e809bc05 100644 --- a/old_docs/API_docs_v41/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v41/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +role - Json encoded ChannelParticipantRole + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_editPhoto.md b/old_docs/API_docs_v41/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/old_docs/API_docs_v41/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v41/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_editTitle.md b/old_docs/API_docs_v41/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/old_docs/API_docs_v41/methods/channels_editTitle.md +++ b/old_docs/API_docs_v41/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_exportInvite.md b/old_docs/API_docs_v41/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/old_docs/API_docs_v41/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v41/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_getChannels.md b/old_docs/API_docs_v41/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/old_docs/API_docs_v41/methods/channels_getChannels.md +++ b/old_docs/API_docs_v41/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_getDialogs.md b/old_docs/API_docs_v41/methods/channels_getDialogs.md index 601510e1..b20fb17c 100644 --- a/old_docs/API_docs_v41/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v41/methods/channels_getDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getDialogs +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getDialogs` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_getFullChannel.md b/old_docs/API_docs_v41/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/old_docs/API_docs_v41/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v41/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_getImportantHistory.md b/old_docs/API_docs_v41/methods/channels_getImportantHistory.md index 2b5f5632..348621e1 100644 --- a/old_docs/API_docs_v41/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v41/methods/channels_getImportantHistory.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getImportantHistory +* params - {"channel":"InputChannel","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getImportantHistory` + +Parameters: + +channel - Json encoded InputChannel +offset_id - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_getMessages.md b/old_docs/API_docs_v41/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/old_docs/API_docs_v41/methods/channels_getMessages.md +++ b/old_docs/API_docs_v41/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_getParticipant.md b/old_docs/API_docs_v41/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_getParticipants.md b/old_docs/API_docs_v41/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/old_docs/API_docs_v41/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v41/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_inviteToChannel.md b/old_docs/API_docs_v41/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/old_docs/API_docs_v41/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v41/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_joinChannel.md b/old_docs/API_docs_v41/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/old_docs/API_docs_v41/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v41/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_kickFromChannel.md b/old_docs/API_docs_v41/methods/channels_kickFromChannel.md index 1dc6b4b7..5e91bc24 100644 --- a/old_docs/API_docs_v41/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v41/methods/channels_kickFromChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.kickFromChannel +* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.kickFromChannel` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +kicked - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_leaveChannel.md b/old_docs/API_docs_v41/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/old_docs/API_docs_v41/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v41/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_readHistory.md b/old_docs/API_docs_v41/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/old_docs/API_docs_v41/methods/channels_readHistory.md +++ b/old_docs/API_docs_v41/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_reportSpam.md b/old_docs/API_docs_v41/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/old_docs/API_docs_v41/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v41/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_toggleComments.md b/old_docs/API_docs_v41/methods/channels_toggleComments.md index 930df0e2..e3b45398 100644 --- a/old_docs/API_docs_v41/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v41/methods/channels_toggleComments.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleComments +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleComments` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/channels_updateUsername.md b/old_docs/API_docs_v41/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/old_docs/API_docs_v41/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v41/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/contacts_block.md b/old_docs/API_docs_v41/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v41/methods/contacts_block.md +++ b/old_docs/API_docs_v41/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/contacts_deleteContact.md b/old_docs/API_docs_v41/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v41/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v41/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/contacts_deleteContacts.md b/old_docs/API_docs_v41/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v41/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/contacts_exportCard.md b/old_docs/API_docs_v41/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v41/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v41/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/contacts_getBlocked.md b/old_docs/API_docs_v41/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v41/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v41/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/contacts_getContacts.md b/old_docs/API_docs_v41/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v41/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/contacts_getStatuses.md b/old_docs/API_docs_v41/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v41/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v41/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/contacts_getSuggested.md b/old_docs/API_docs_v41/methods/contacts_getSuggested.md index 1c9a532d..66e4c1b3 100644 --- a/old_docs/API_docs_v41/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v41/methods/contacts_getSuggested.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getSuggested +* params - {"limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getSuggested` + +Parameters: + +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/contacts_importCard.md b/old_docs/API_docs_v41/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v41/methods/contacts_importCard.md +++ b/old_docs/API_docs_v41/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/contacts_importContacts.md b/old_docs/API_docs_v41/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v41/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v41/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/contacts_resolveUsername.md b/old_docs/API_docs_v41/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/old_docs/API_docs_v41/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v41/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/contacts_search.md b/old_docs/API_docs_v41/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v41/methods/contacts_search.md +++ b/old_docs/API_docs_v41/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/contacts_unblock.md b/old_docs/API_docs_v41/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v41/methods/contacts_unblock.md +++ b/old_docs/API_docs_v41/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/help_getAppChangelog.md b/old_docs/API_docs_v41/methods/help_getAppChangelog.md index 337c12be..b93c56db 100644 --- a/old_docs/API_docs_v41/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v41/methods/help_getAppChangelog.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/help_getAppUpdate.md b/old_docs/API_docs_v41/methods/help_getAppUpdate.md index b52e83e8..58430792 100644 --- a/old_docs/API_docs_v41/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v41/methods/help_getAppUpdate.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/help_getConfig.md b/old_docs/API_docs_v41/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v41/methods/help_getConfig.md +++ b/old_docs/API_docs_v41/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/help_getInviteText.md b/old_docs/API_docs_v41/methods/help_getInviteText.md index 2d9c4653..ec75a17f 100644 --- a/old_docs/API_docs_v41/methods/help_getInviteText.md +++ b/old_docs/API_docs_v41/methods/help_getInviteText.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/help_getNearestDc.md b/old_docs/API_docs_v41/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v41/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v41/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/help_getSupport.md b/old_docs/API_docs_v41/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v41/methods/help_getSupport.md +++ b/old_docs/API_docs_v41/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/help_saveAppLog.md b/old_docs/API_docs_v41/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v41/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v41/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/initConnection.md b/old_docs/API_docs_v41/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v41/methods/initConnection.md +++ b/old_docs/API_docs_v41/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/invokeAfterMsg.md b/old_docs/API_docs_v41/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v41/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v41/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/invokeAfterMsgs.md b/old_docs/API_docs_v41/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v41/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v41/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/invokeWithLayer.md b/old_docs/API_docs_v41/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v41/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v41/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v41/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_acceptEncryption.md b/old_docs/API_docs_v41/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v41/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v41/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_addChatUser.md b/old_docs/API_docs_v41/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v41/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v41/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_checkChatInvite.md b/old_docs/API_docs_v41/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v41/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_createChat.md b/old_docs/API_docs_v41/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v41/methods/messages_createChat.md +++ b/old_docs/API_docs_v41/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_deactivateChat.md b/old_docs/API_docs_v41/methods/messages_deactivateChat.md index 2a963b8d..8ab57c7c 100644 --- a/old_docs/API_docs_v41/methods/messages_deactivateChat.md +++ b/old_docs/API_docs_v41/methods/messages_deactivateChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deactivateChat(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deactivateChat +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deactivateChat` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_deleteChatUser.md b/old_docs/API_docs_v41/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v41/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_deleteHistory.md b/old_docs/API_docs_v41/methods/messages_deleteHistory.md index f37e5d08..e5f132c6 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v41/methods/messages_deleteHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_deleteMessages.md b/old_docs/API_docs_v41/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v41/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v41/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_discardEncryption.md b/old_docs/API_docs_v41/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v41/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v41/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_editChatAdmin.md b/old_docs/API_docs_v41/methods/messages_editChatAdmin.md index 515c2ede..2ad6d72c 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v41/methods/messages_editChatAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatAdmin +* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +is_admin - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_editChatPhoto.md b/old_docs/API_docs_v41/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v41/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_editChatTitle.md b/old_docs/API_docs_v41/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v41/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v41/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_exportChatInvite.md b/old_docs/API_docs_v41/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v41/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_forwardMessage.md b/old_docs/API_docs_v41/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v41/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v41/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_forwardMessages.md b/old_docs/API_docs_v41/methods/messages_forwardMessages.md index 3fbcfee6..812a4214 100644 --- a/old_docs/API_docs_v41/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v41/methods/messages_forwardMessages.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"broadcast":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +broadcast - Json encoded Bool +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_getAllStickers.md b/old_docs/API_docs_v41/methods/messages_getAllStickers.md index 91961b0e..35ba6f74 100644 --- a/old_docs/API_docs_v41/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v41/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_getChats.md b/old_docs/API_docs_v41/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v41/methods/messages_getChats.md +++ b/old_docs/API_docs_v41/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_getDhConfig.md b/old_docs/API_docs_v41/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v41/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v41/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_getDialogs.md b/old_docs/API_docs_v41/methods/messages_getDialogs.md index 4336683f..84424892 100644 --- a/old_docs/API_docs_v41/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v41/methods/messages_getDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_getFullChat.md b/old_docs/API_docs_v41/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v41/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v41/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_getHistory.md b/old_docs/API_docs_v41/methods/messages_getHistory.md index f32402a7..b22bd09e 100644 --- a/old_docs/API_docs_v41/methods/messages_getHistory.md +++ b/old_docs/API_docs_v41/methods/messages_getHistory.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_getMessages.md b/old_docs/API_docs_v41/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v41/methods/messages_getMessages.md +++ b/old_docs/API_docs_v41/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_getMessagesViews.md b/old_docs/API_docs_v41/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/old_docs/API_docs_v41/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v41/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_getStickerSet.md b/old_docs/API_docs_v41/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v41/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_getStickers.md b/old_docs/API_docs_v41/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v41/methods/messages_getStickers.md +++ b/old_docs/API_docs_v41/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v41/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_importChatInvite.md b/old_docs/API_docs_v41/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v41/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v41/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_installStickerSet.md b/old_docs/API_docs_v41/methods/messages_installStickerSet.md index a3c12183..637005f3 100644 --- a/old_docs/API_docs_v41/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","disabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +disabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_migrateChat.md b/old_docs/API_docs_v41/methods/messages_migrateChat.md index eaa988a7..1d8e1ca5 100644 --- a/old_docs/API_docs_v41/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v41/methods/messages_migrateChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.migrateChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.migrateChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v41/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_readHistory.md b/old_docs/API_docs_v41/methods/messages_readHistory.md index c5ddb451..99ce0e57 100644 --- a/old_docs/API_docs_v41/methods/messages_readHistory.md +++ b/old_docs/API_docs_v41/methods/messages_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_readMessageContents.md b/old_docs/API_docs_v41/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v41/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v41/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_receivedMessages.md b/old_docs/API_docs_v41/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v41/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v41/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_receivedQueue.md b/old_docs/API_docs_v41/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v41/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v41/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_reportSpam.md b/old_docs/API_docs_v41/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v41/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v41/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_requestEncryption.md b/old_docs/API_docs_v41/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v41/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v41/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_search.md b/old_docs/API_docs_v41/methods/messages_search.md index 3b082420..bba7fce0 100644 --- a/old_docs/API_docs_v41/methods/messages_search.md +++ b/old_docs/API_docs_v41/methods/messages_search.md @@ -44,6 +44,38 @@ if (isset($number)) { // Login as a user $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, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"important_only":"Bool","peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +important_only - Json encoded Bool +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_searchGlobal.md b/old_docs/API_docs_v41/methods/messages_searchGlobal.md index 36f09366..0095015c 100644 --- a/old_docs/API_docs_v41/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v41/methods/messages_searchGlobal.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGlobal +* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGlobal` + +Parameters: + +q - Json encoded string +offset_date - Json encoded int +offset_peer - Json encoded InputPeer +offset_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_sendBroadcast.md b/old_docs/API_docs_v41/methods/messages_sendBroadcast.md index d4af6317..81e9c7b8 100644 --- a/old_docs/API_docs_v41/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v41/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_sendEncrypted.md b/old_docs/API_docs_v41/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v41/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_sendMedia.md b/old_docs/API_docs_v41/methods/messages_sendMedia.md index a90c27a3..750419ad 100644 --- a/old_docs/API_docs_v41/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v41/methods/messages_sendMedia.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +broadcast - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_sendMessage.md b/old_docs/API_docs_v41/methods/messages_sendMessage.md index 57d70bd1..cb76f655 100644 --- a/old_docs/API_docs_v41/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v41/methods/messages_sendMessage.md @@ -43,6 +43,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"no_webpage":"Bool","broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v41/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_setTyping.md b/old_docs/API_docs_v41/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v41/methods/messages_setTyping.md +++ b/old_docs/API_docs_v41/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_startBot.md b/old_docs/API_docs_v41/methods/messages_startBot.md index 58aadfab..93229d34 100644 --- a/old_docs/API_docs_v41/methods/messages_startBot.md +++ b/old_docs/API_docs_v41/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md index ec1809f3..2edb160a 100644 --- a/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v41/methods/messages_toggleChatAdmins.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleChatAdmins +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleChatAdmins` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v41/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/photos_deletePhotos.md b/old_docs/API_docs_v41/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v41/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v41/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/photos_getUserPhotos.md b/old_docs/API_docs_v41/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v41/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v41/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v41/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v41/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/updates_getChannelDifference.md b/old_docs/API_docs_v41/methods/updates_getChannelDifference.md index 6fe9722a..d2aedcea 100644 --- a/old_docs/API_docs_v41/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v41/methods/updates_getChannelDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/updates_getDifference.md b/old_docs/API_docs_v41/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v41/methods/updates_getDifference.md +++ b/old_docs/API_docs_v41/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/updates_getState.md b/old_docs/API_docs_v41/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v41/methods/updates_getState.md +++ b/old_docs/API_docs_v41/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v41/methods/upload_getFile.md b/old_docs/API_docs_v41/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v41/methods/upload_getFile.md +++ b/old_docs/API_docs_v41/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v41/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/upload_saveFilePart.md b/old_docs/API_docs_v41/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v41/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v41/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/users_getFullUser.md b/old_docs/API_docs_v41/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v41/methods/users_getFullUser.md +++ b/old_docs/API_docs_v41/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v41/methods/users_getUsers.md b/old_docs/API_docs_v41/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v41/methods/users_getUsers.md +++ b/old_docs/API_docs_v41/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/constructors/accountDaysTTL.md b/old_docs/API_docs_v42/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v42/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v42/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/account_authorizations.md b/old_docs/API_docs_v42/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v42/constructors/account_authorizations.md +++ b/old_docs/API_docs_v42/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/account_noPassword.md b/old_docs/API_docs_v42/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v42/constructors/account_noPassword.md +++ b/old_docs/API_docs_v42/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/account_password.md b/old_docs/API_docs_v42/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v42/constructors/account_password.md +++ b/old_docs/API_docs_v42/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v42/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v42/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v42/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/account_passwordSettings.md b/old_docs/API_docs_v42/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v42/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v42/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/account_privacyRules.md b/old_docs/API_docs_v42/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v42/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v42/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md index 77fbeb66..1b776018 100644 --- a/old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v42/constructors/account_sentChangePhoneCode.md @@ -25,6 +25,13 @@ description: account_sentChangePhoneCode attributes, type and example $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/audio.md b/old_docs/API_docs_v42/constructors/audio.md index b99c9822..d0f34764 100644 --- a/old_docs/API_docs_v42/constructors/audio.md +++ b/old_docs/API_docs_v42/constructors/audio.md @@ -30,6 +30,13 @@ description: audio attributes, type and example $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/audioEmpty.md b/old_docs/API_docs_v42/constructors/audioEmpty.md index 7a3b8772..72e43b19 100644 --- a/old_docs/API_docs_v42/constructors/audioEmpty.md +++ b/old_docs/API_docs_v42/constructors/audioEmpty.md @@ -24,6 +24,13 @@ description: audioEmpty attributes, type and example $audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audioEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/auth_authorization.md b/old_docs/API_docs_v42/constructors/auth_authorization.md index 6b60d2ec..90504507 100644 --- a/old_docs/API_docs_v42/constructors/auth_authorization.md +++ b/old_docs/API_docs_v42/constructors/auth_authorization.md @@ -24,6 +24,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/auth_checkedPhone.md b/old_docs/API_docs_v42/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v42/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v42/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v42/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v42/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v42/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v42/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/auth_sentAppCode.md b/old_docs/API_docs_v42/constructors/auth_sentAppCode.md index d0d99104..4288276f 100644 --- a/old_docs/API_docs_v42/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v42/constructors/auth_sentAppCode.md @@ -27,6 +27,13 @@ description: auth_sentAppCode attributes, type and example $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/auth_sentCode.md b/old_docs/API_docs_v42/constructors/auth_sentCode.md index edadb37e..d393aeae 100644 --- a/old_docs/API_docs_v42/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v42/constructors/auth_sentCode.md @@ -27,6 +27,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/authorization.md b/old_docs/API_docs_v42/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v42/constructors/authorization.md +++ b/old_docs/API_docs_v42/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/botCommand.md b/old_docs/API_docs_v42/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v42/constructors/botCommand.md +++ b/old_docs/API_docs_v42/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/botInfo.md b/old_docs/API_docs_v42/constructors/botInfo.md index 41d6dc96..32328ee5 100644 --- a/old_docs/API_docs_v42/constructors/botInfo.md +++ b/old_docs/API_docs_v42/constructors/botInfo.md @@ -28,6 +28,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/botInfoEmpty.md b/old_docs/API_docs_v42/constructors/botInfoEmpty.md index 0466220a..0e6a5962 100644 --- a/old_docs/API_docs_v42/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v42/constructors/botInfoEmpty.md @@ -19,6 +19,13 @@ description: botInfoEmpty attributes, type and example $botInfoEmpty = ['_' => 'botInfoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channel.md b/old_docs/API_docs_v42/constructors/channel.md index 9f165331..d4ee8d7f 100644 --- a/old_docs/API_docs_v42/constructors/channel.md +++ b/old_docs/API_docs_v42/constructors/channel.md @@ -38,6 +38,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","creator":"Bool","kicked":"Bool","left":"Bool","editor":"Bool","moderator":"Bool","broadcast":"Bool","verified":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelForbidden.md b/old_docs/API_docs_v42/constructors/channelForbidden.md index ea7a1999..7c9a3dae 100644 --- a/old_docs/API_docs_v42/constructors/channelForbidden.md +++ b/old_docs/API_docs_v42/constructors/channelForbidden.md @@ -26,6 +26,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelFull.md b/old_docs/API_docs_v42/constructors/channelFull.md index 6fac3d5b..d44fd8e3 100644 --- a/old_docs/API_docs_v42/constructors/channelFull.md +++ b/old_docs/API_docs_v42/constructors/channelFull.md @@ -38,6 +38,13 @@ description: channelFull attributes, type and example $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, '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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","can_view_participants":"Bool","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":["BotInfo"],"migrated_from_chat_id":"int","migrated_from_max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelMessagesFilter.md b/old_docs/API_docs_v42/constructors/channelMessagesFilter.md index fe0318da..b6f94861 100644 --- a/old_docs/API_docs_v42/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v42/constructors/channelMessagesFilter.md @@ -26,6 +26,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","important_only":"Bool","exclude_new_messages":"Bool","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v42/constructors/channelMessagesFilterCollapsed.md index 11cebd02..a1563c5b 100644 --- a/old_docs/API_docs_v42/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v42/constructors/channelMessagesFilterCollapsed.md @@ -19,6 +19,13 @@ description: channelMessagesFilterCollapsed attributes, type and example $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterCollapsed"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v42/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v42/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v42/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelParticipant.md b/old_docs/API_docs_v42/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipant.md +++ b/old_docs/API_docs_v42/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelParticipantCreator.md b/old_docs/API_docs_v42/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelParticipantEditor.md b/old_docs/API_docs_v42/constructors/channelParticipantEditor.md index 3c866534..64f84b38 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantEditor.md @@ -26,6 +26,13 @@ description: channelParticipantEditor attributes, type and example $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelParticipantKicked.md b/old_docs/API_docs_v42/constructors/channelParticipantKicked.md index 362872f9..4aedad4d 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantKicked.md @@ -26,6 +26,13 @@ description: channelParticipantKicked attributes, type and example $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelParticipantModerator.md b/old_docs/API_docs_v42/constructors/channelParticipantModerator.md index ff9a7094..634f9de8 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantModerator.md @@ -26,6 +26,13 @@ description: channelParticipantModerator attributes, type and example $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelParticipantSelf.md b/old_docs/API_docs_v42/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v42/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelParticipantsBots.md b/old_docs/API_docs_v42/constructors/channelParticipantsBots.md index 24b68c95..963f155e 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantsBots.md @@ -19,6 +19,13 @@ description: channelParticipantsBots attributes, type and example $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBots"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v42/constructors/channelParticipantsKicked.md index d7889060..37714c3e 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantsKicked.md @@ -19,6 +19,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v42/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/old_docs/API_docs_v42/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v42/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelRoleEditor.md b/old_docs/API_docs_v42/constructors/channelRoleEditor.md index 103b7ae5..fea2e406 100644 --- a/old_docs/API_docs_v42/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v42/constructors/channelRoleEditor.md @@ -19,6 +19,13 @@ description: channelRoleEditor attributes, type and example $channelRoleEditor = ['_' => 'channelRoleEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEditor"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelRoleEmpty.md b/old_docs/API_docs_v42/constructors/channelRoleEmpty.md index b5a7b52c..932c9fb4 100644 --- a/old_docs/API_docs_v42/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v42/constructors/channelRoleEmpty.md @@ -19,6 +19,13 @@ description: channelRoleEmpty attributes, type and example $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channelRoleModerator.md b/old_docs/API_docs_v42/constructors/channelRoleModerator.md index f3aaff68..5d6a37d1 100644 --- a/old_docs/API_docs_v42/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v42/constructors/channelRoleModerator.md @@ -19,6 +19,13 @@ description: channelRoleModerator attributes, type and example $channelRoleModerator = ['_' => 'channelRoleModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleModerator"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channels_channelParticipant.md b/old_docs/API_docs_v42/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/old_docs/API_docs_v42/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v42/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/channels_channelParticipants.md b/old_docs/API_docs_v42/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/old_docs/API_docs_v42/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v42/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chat.md b/old_docs/API_docs_v42/constructors/chat.md index 9bad67b3..70955e06 100644 --- a/old_docs/API_docs_v42/constructors/chat.md +++ b/old_docs/API_docs_v42/constructors/chat.md @@ -36,6 +36,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatEmpty.md b/old_docs/API_docs_v42/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v42/constructors/chatEmpty.md +++ b/old_docs/API_docs_v42/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatForbidden.md b/old_docs/API_docs_v42/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/old_docs/API_docs_v42/constructors/chatForbidden.md +++ b/old_docs/API_docs_v42/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatFull.md b/old_docs/API_docs_v42/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v42/constructors/chatFull.md +++ b/old_docs/API_docs_v42/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatInvite.md b/old_docs/API_docs_v42/constructors/chatInvite.md index 8207c7f1..effead5a 100644 --- a/old_docs/API_docs_v42/constructors/chatInvite.md +++ b/old_docs/API_docs_v42/constructors/chatInvite.md @@ -28,6 +28,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatInviteAlready.md b/old_docs/API_docs_v42/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v42/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v42/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatInviteEmpty.md b/old_docs/API_docs_v42/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v42/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v42/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatInviteExported.md b/old_docs/API_docs_v42/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v42/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v42/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatParticipant.md b/old_docs/API_docs_v42/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipant.md +++ b/old_docs/API_docs_v42/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v42/constructors/chatParticipantAdmin.md index 6740c4a3..775f29c7 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v42/constructors/chatParticipantAdmin.md @@ -26,6 +26,13 @@ description: chatParticipantAdmin attributes, type and example $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatParticipantCreator.md b/old_docs/API_docs_v42/constructors/chatParticipantCreator.md index b80542a7..687dd93f 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v42/constructors/chatParticipantCreator.md @@ -24,6 +24,13 @@ description: chatParticipantCreator attributes, type and example $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatParticipants.md b/old_docs/API_docs_v42/constructors/chatParticipants.md index 2420f15e..c1602888 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipants.md +++ b/old_docs/API_docs_v42/constructors/chatParticipants.md @@ -26,6 +26,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v42/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/old_docs/API_docs_v42/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v42/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatPhoto.md b/old_docs/API_docs_v42/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v42/constructors/chatPhoto.md +++ b/old_docs/API_docs_v42/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v42/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v42/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v42/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/config.md b/old_docs/API_docs_v42/constructors/config.md index 4e23d2e1..7de9a043 100644 --- a/old_docs/API_docs_v42/constructors/config.md +++ b/old_docs/API_docs_v42/constructors/config.md @@ -41,6 +41,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contact.md b/old_docs/API_docs_v42/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v42/constructors/contact.md +++ b/old_docs/API_docs_v42/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contactBlocked.md b/old_docs/API_docs_v42/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v42/constructors/contactBlocked.md +++ b/old_docs/API_docs_v42/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contactLinkContact.md b/old_docs/API_docs_v42/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v42/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v42/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v42/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v42/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v42/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contactLinkNone.md b/old_docs/API_docs_v42/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v42/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v42/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contactLinkUnknown.md b/old_docs/API_docs_v42/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v42/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v42/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contactStatus.md b/old_docs/API_docs_v42/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v42/constructors/contactStatus.md +++ b/old_docs/API_docs_v42/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contactSuggested.md b/old_docs/API_docs_v42/constructors/contactSuggested.md index cf53fa55..0508f837 100644 --- a/old_docs/API_docs_v42/constructors/contactSuggested.md +++ b/old_docs/API_docs_v42/constructors/contactSuggested.md @@ -25,6 +25,13 @@ description: contactSuggested attributes, type and example $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contacts_blocked.md b/old_docs/API_docs_v42/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v42/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v42/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v42/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v42/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v42/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contacts_contacts.md b/old_docs/API_docs_v42/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v42/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v42/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v42/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contacts_found.md b/old_docs/API_docs_v42/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/old_docs/API_docs_v42/constructors/contacts_found.md +++ b/old_docs/API_docs_v42/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contacts_importedContacts.md b/old_docs/API_docs_v42/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v42/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v42/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contacts_link.md b/old_docs/API_docs_v42/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v42/constructors/contacts_link.md +++ b/old_docs/API_docs_v42/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v42/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/contacts_suggested.md b/old_docs/API_docs_v42/constructors/contacts_suggested.md index 90ff7671..e4dd4100 100644 --- a/old_docs/API_docs_v42/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v42/constructors/contacts_suggested.md @@ -25,6 +25,13 @@ description: contacts_suggested attributes, type and example $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/dcOption.md b/old_docs/API_docs_v42/constructors/dcOption.md index 124a7148..85ff3d71 100644 --- a/old_docs/API_docs_v42/constructors/dcOption.md +++ b/old_docs/API_docs_v42/constructors/dcOption.md @@ -28,6 +28,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","ipv6":"Bool","media_only":"Bool","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/dialog.md b/old_docs/API_docs_v42/constructors/dialog.md index 9c6f4d43..d706225d 100644 --- a/old_docs/API_docs_v42/constructors/dialog.md +++ b/old_docs/API_docs_v42/constructors/dialog.md @@ -28,6 +28,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/dialogChannel.md b/old_docs/API_docs_v42/constructors/dialogChannel.md index 160dc27e..f4d28d89 100644 --- a/old_docs/API_docs_v42/constructors/dialogChannel.md +++ b/old_docs/API_docs_v42/constructors/dialogChannel.md @@ -31,6 +31,13 @@ description: dialogChannel attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/disabledFeature.md b/old_docs/API_docs_v42/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v42/constructors/disabledFeature.md +++ b/old_docs/API_docs_v42/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/document.md b/old_docs/API_docs_v42/constructors/document.md index 7153e5a6..7e3482ad 100644 --- a/old_docs/API_docs_v42/constructors/document.md +++ b/old_docs/API_docs_v42/constructors/document.md @@ -31,6 +31,13 @@ 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, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v42/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/documentAttributeAudio.md b/old_docs/API_docs_v42/constructors/documentAttributeAudio.md index 23a48363..d56ef28d 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeAudio.md @@ -26,6 +26,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/documentAttributeFilename.md b/old_docs/API_docs_v42/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v42/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/documentAttributeSticker.md b/old_docs/API_docs_v42/constructors/documentAttributeSticker.md index 9f8168b1..3cb9fcd5 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeSticker.md @@ -25,6 +25,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/documentAttributeVideo.md b/old_docs/API_docs_v42/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v42/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v42/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/documentEmpty.md b/old_docs/API_docs_v42/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v42/constructors/documentEmpty.md +++ b/old_docs/API_docs_v42/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/encryptedChat.md b/old_docs/API_docs_v42/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChat.md +++ b/old_docs/API_docs_v42/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v42/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v42/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v42/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v42/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/encryptedChatRequested.md b/old_docs/API_docs_v42/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v42/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v42/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v42/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v42/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/encryptedFile.md b/old_docs/API_docs_v42/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v42/constructors/encryptedFile.md +++ b/old_docs/API_docs_v42/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v42/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v42/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v42/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/encryptedMessage.md b/old_docs/API_docs_v42/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v42/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v42/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/encryptedMessageService.md b/old_docs/API_docs_v42/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v42/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v42/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/error.md b/old_docs/API_docs_v42/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v42/constructors/error.md +++ b/old_docs/API_docs_v42/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/fileLocation.md b/old_docs/API_docs_v42/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v42/constructors/fileLocation.md +++ b/old_docs/API_docs_v42/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v42/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v42/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v42/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/geoPoint.md b/old_docs/API_docs_v42/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v42/constructors/geoPoint.md +++ b/old_docs/API_docs_v42/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/geoPointEmpty.md b/old_docs/API_docs_v42/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v42/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v42/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/help_appChangelog.md b/old_docs/API_docs_v42/constructors/help_appChangelog.md index 77c1c338..67e40e85 100644 --- a/old_docs/API_docs_v42/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v42/constructors/help_appChangelog.md @@ -24,6 +24,13 @@ description: help_appChangelog attributes, type and example $help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelog","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md index abbb4865..f6ab5ace 100644 --- a/old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v42/constructors/help_appChangelogEmpty.md @@ -19,6 +19,13 @@ description: help_appChangelogEmpty attributes, type and example $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelogEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/help_appUpdate.md b/old_docs/API_docs_v42/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v42/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v42/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/help_inviteText.md b/old_docs/API_docs_v42/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v42/constructors/help_inviteText.md +++ b/old_docs/API_docs_v42/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/help_noAppUpdate.md b/old_docs/API_docs_v42/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v42/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v42/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/help_support.md b/old_docs/API_docs_v42/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v42/constructors/help_support.md +++ b/old_docs/API_docs_v42/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/importedContact.md b/old_docs/API_docs_v42/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v42/constructors/importedContact.md +++ b/old_docs/API_docs_v42/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputAppEvent.md b/old_docs/API_docs_v42/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v42/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v42/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputAudio.md b/old_docs/API_docs_v42/constructors/inputAudio.md index f618b74f..a75e690f 100644 --- a/old_docs/API_docs_v42/constructors/inputAudio.md +++ b/old_docs/API_docs_v42/constructors/inputAudio.md @@ -25,6 +25,13 @@ description: inputAudio attributes, type and example $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudio","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputAudioEmpty.md b/old_docs/API_docs_v42/constructors/inputAudioEmpty.md index f5ca1a6c..4de803d5 100644 --- a/old_docs/API_docs_v42/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputAudioEmpty.md @@ -19,6 +19,13 @@ description: inputAudioEmpty attributes, type and example $inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v42/constructors/inputAudioFileLocation.md index 8624b224..25650826 100644 --- a/old_docs/API_docs_v42/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputAudioFileLocation.md @@ -25,6 +25,13 @@ description: inputAudioFileLocation attributes, type and example $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputChannel.md b/old_docs/API_docs_v42/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/old_docs/API_docs_v42/constructors/inputChannel.md +++ b/old_docs/API_docs_v42/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputChannelEmpty.md b/old_docs/API_docs_v42/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/old_docs/API_docs_v42/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputChatPhoto.md b/old_docs/API_docs_v42/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v42/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v42/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v42/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v42/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v42/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputDocument.md b/old_docs/API_docs_v42/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v42/constructors/inputDocument.md +++ b/old_docs/API_docs_v42/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v42/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v42/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v42/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v42/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputEncryptedChat.md b/old_docs/API_docs_v42/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputEncryptedFile.md b/old_docs/API_docs_v42/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v42/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v42/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v42/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v42/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v42/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v42/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputFile.md b/old_docs/API_docs_v42/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v42/constructors/inputFile.md +++ b/old_docs/API_docs_v42/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputFileBig.md b/old_docs/API_docs_v42/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v42/constructors/inputFileBig.md +++ b/old_docs/API_docs_v42/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputFileLocation.md b/old_docs/API_docs_v42/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v42/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputGeoPoint.md b/old_docs/API_docs_v42/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v42/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v42/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v42/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v42/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaAudio.md b/old_docs/API_docs_v42/constructors/inputMediaAudio.md index 6f477b8b..0c83afd5 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v42/constructors/inputMediaAudio.md @@ -24,6 +24,13 @@ description: inputMediaAudio attributes, type and example $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaAudio","id":"InputAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaContact.md b/old_docs/API_docs_v42/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v42/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaDocument.md b/old_docs/API_docs_v42/constructors/inputMediaDocument.md index 2aa74093..231c733f 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v42/constructors/inputMediaDocument.md @@ -24,6 +24,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaEmpty.md b/old_docs/API_docs_v42/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v42/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v42/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaPhoto.md b/old_docs/API_docs_v42/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v42/constructors/inputMediaUploadedAudio.md index ad427e4f..e3298757 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedAudio.md @@ -26,6 +26,13 @@ description: inputMediaUploadedAudio attributes, type and example $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v42/constructors/inputMediaUploadedDocument.md index 7afb9494..d36bed64 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedDocument.md @@ -26,6 +26,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v42/constructors/inputMediaUploadedPhoto.md index 0c4c9135..923fd903 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbDocument.md index 6711d93a..843b4415 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbVideo.md index ccb3076b..5042784d 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedThumbVideo.md @@ -30,6 +30,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v42/constructors/inputMediaUploadedVideo.md index a6750886..0009243e 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMediaUploadedVideo.md @@ -29,6 +29,13 @@ description: inputMediaUploadedVideo attributes, type and example $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaVenue.md b/old_docs/API_docs_v42/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v42/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMediaVideo.md b/old_docs/API_docs_v42/constructors/inputMediaVideo.md index 7539e85c..8626bf3d 100644 --- a/old_docs/API_docs_v42/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMediaVideo.md @@ -25,6 +25,13 @@ description: inputMediaVideo attributes, type and example $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterAudio.md index c326c700..2c8e29fe 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterAudio.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudio attributes, type and example $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md index 9d6d7b67..8b876e5e 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudioDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v42/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v42/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v42/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputNotifyAll.md b/old_docs/API_docs_v42/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v42/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v42/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputNotifyChats.md b/old_docs/API_docs_v42/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v42/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v42/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputNotifyPeer.md b/old_docs/API_docs_v42/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v42/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v42/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputNotifyUsers.md b/old_docs/API_docs_v42/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v42/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v42/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPeerChannel.md b/old_docs/API_docs_v42/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v42/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPeerChat.md b/old_docs/API_docs_v42/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v42/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPeerEmpty.md b/old_docs/API_docs_v42/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v42/constructors/inputPeerNotifySettings.md index d4c26a38..4881d26e 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v42/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPeerSelf.md b/old_docs/API_docs_v42/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v42/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPeerUser.md b/old_docs/API_docs_v42/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v42/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v42/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPhoneContact.md b/old_docs/API_docs_v42/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v42/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v42/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPhoto.md b/old_docs/API_docs_v42/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v42/constructors/inputPhoto.md +++ b/old_docs/API_docs_v42/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPhotoCrop.md b/old_docs/API_docs_v42/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v42/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v42/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v42/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v42/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v42/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v42/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v42/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v42/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v42/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputStickerSetID.md b/old_docs/API_docs_v42/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v42/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v42/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v42/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v42/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v42/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputUser.md b/old_docs/API_docs_v42/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v42/constructors/inputUser.md +++ b/old_docs/API_docs_v42/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputUserEmpty.md b/old_docs/API_docs_v42/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v42/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputUserSelf.md b/old_docs/API_docs_v42/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v42/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v42/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputVideo.md b/old_docs/API_docs_v42/constructors/inputVideo.md index 79d5a034..e6dc5b1f 100644 --- a/old_docs/API_docs_v42/constructors/inputVideo.md +++ b/old_docs/API_docs_v42/constructors/inputVideo.md @@ -25,6 +25,13 @@ description: inputVideo attributes, type and example $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideo","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputVideoEmpty.md b/old_docs/API_docs_v42/constructors/inputVideoEmpty.md index d1f4e1ec..072ace8d 100644 --- a/old_docs/API_docs_v42/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v42/constructors/inputVideoEmpty.md @@ -19,6 +19,13 @@ description: inputVideoEmpty attributes, type and example $inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v42/constructors/inputVideoFileLocation.md index 2ae12a5c..f4c6646e 100644 --- a/old_docs/API_docs_v42/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v42/constructors/inputVideoFileLocation.md @@ -25,6 +25,13 @@ description: inputVideoFileLocation attributes, type and example $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/keyboardButton.md b/old_docs/API_docs_v42/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v42/constructors/keyboardButton.md +++ b/old_docs/API_docs_v42/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/keyboardButtonRow.md b/old_docs/API_docs_v42/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v42/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v42/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/message.md b/old_docs/API_docs_v42/constructors/message.md index 62a63782..f79f8de6 100644 --- a/old_docs/API_docs_v42/constructors/message.md +++ b/old_docs/API_docs_v42/constructors/message.md @@ -39,6 +39,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"],"views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v42/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v42/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v42/constructors/messageActionChannelMigrateFrom.md index d15c0bf3..b63de131 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v42/constructors/messageActionChannelMigrateFrom.md @@ -25,6 +25,13 @@ description: messageActionChannelMigrateFrom attributes, type and example $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v42/constructors/messageActionChatAddUser.md index 135e16de..5edc7d3b 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageActionChatCreate.md b/old_docs/API_docs_v42/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v42/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v42/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v42/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v42/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v42/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v42/constructors/messageActionChatMigrateTo.md index fda20a24..7214d295 100644 --- a/old_docs/API_docs_v42/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v42/constructors/messageActionChatMigrateTo.md @@ -24,6 +24,13 @@ description: messageActionChatMigrateTo attributes, type and example $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageActionEmpty.md b/old_docs/API_docs_v42/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v42/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v42/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageEmpty.md b/old_docs/API_docs_v42/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v42/constructors/messageEmpty.md +++ b/old_docs/API_docs_v42/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageEntityBold.md b/old_docs/API_docs_v42/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v42/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v42/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v42/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageEntityCode.md b/old_docs/API_docs_v42/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v42/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageEntityEmail.md b/old_docs/API_docs_v42/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v42/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageEntityHashtag.md b/old_docs/API_docs_v42/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v42/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageEntityItalic.md b/old_docs/API_docs_v42/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v42/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageEntityMention.md b/old_docs/API_docs_v42/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v42/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageEntityPre.md b/old_docs/API_docs_v42/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v42/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v42/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v42/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageEntityUnknown.md b/old_docs/API_docs_v42/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v42/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageEntityUrl.md b/old_docs/API_docs_v42/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v42/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v42/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageGroup.md b/old_docs/API_docs_v42/constructors/messageGroup.md index 5e3992c0..ddbc0e37 100644 --- a/old_docs/API_docs_v42/constructors/messageGroup.md +++ b/old_docs/API_docs_v42/constructors/messageGroup.md @@ -27,6 +27,13 @@ description: messageGroup attributes, type and example $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageMediaAudio.md b/old_docs/API_docs_v42/constructors/messageMediaAudio.md index 0bc53b5e..24ca7823 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v42/constructors/messageMediaAudio.md @@ -24,6 +24,13 @@ description: messageMediaAudio attributes, type and example $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaAudio","audio":"Audio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageMediaContact.md b/old_docs/API_docs_v42/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v42/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageMediaDocument.md b/old_docs/API_docs_v42/constructors/messageMediaDocument.md index 3d50d4ab..ec51032e 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v42/constructors/messageMediaDocument.md @@ -24,6 +24,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageMediaEmpty.md b/old_docs/API_docs_v42/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v42/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageMediaGeo.md b/old_docs/API_docs_v42/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v42/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageMediaPhoto.md b/old_docs/API_docs_v42/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v42/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v42/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v42/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageMediaVenue.md b/old_docs/API_docs_v42/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v42/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageMediaVideo.md b/old_docs/API_docs_v42/constructors/messageMediaVideo.md index 42a6ac76..8e72030c 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v42/constructors/messageMediaVideo.md @@ -25,6 +25,13 @@ description: messageMediaVideo attributes, type and example $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVideo","video":"Video","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageMediaWebPage.md b/old_docs/API_docs_v42/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v42/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v42/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageRange.md b/old_docs/API_docs_v42/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v42/constructors/messageRange.md +++ b/old_docs/API_docs_v42/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messageService.md b/old_docs/API_docs_v42/constructors/messageService.md index 6c59e839..f44b4869 100644 --- a/old_docs/API_docs_v42/constructors/messageService.md +++ b/old_docs/API_docs_v42/constructors/messageService.md @@ -32,6 +32,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_affectedHistory.md b/old_docs/API_docs_v42/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v42/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v42/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_affectedMessages.md b/old_docs/API_docs_v42/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v42/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v42/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_allStickers.md b/old_docs/API_docs_v42/constructors/messages_allStickers.md index 972ba615..21c13447 100644 --- a/old_docs/API_docs_v42/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v42/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => string, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"string","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v42/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_channelMessages.md b/old_docs/API_docs_v42/constructors/messages_channelMessages.md index 94236376..d9264977 100644 --- a/old_docs/API_docs_v42/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v42/constructors/messages_channelMessages.md @@ -29,6 +29,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_chatFull.md b/old_docs/API_docs_v42/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v42/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v42/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_chats.md b/old_docs/API_docs_v42/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v42/constructors/messages_chats.md +++ b/old_docs/API_docs_v42/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_dhConfig.md b/old_docs/API_docs_v42/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v42/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v42/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v42/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_dialogs.md b/old_docs/API_docs_v42/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v42/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v42/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v42/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v42/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v42/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_messages.md b/old_docs/API_docs_v42/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v42/constructors/messages_messages.md +++ b/old_docs/API_docs_v42/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_messagesSlice.md b/old_docs/API_docs_v42/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v42/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v42/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v42/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v42/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_stickerSet.md b/old_docs/API_docs_v42/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v42/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v42/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_stickers.md b/old_docs/API_docs_v42/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v42/constructors/messages_stickers.md +++ b/old_docs/API_docs_v42/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v42/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v42/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v42/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/nearestDc.md b/old_docs/API_docs_v42/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v42/constructors/nearestDc.md +++ b/old_docs/API_docs_v42/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/notifyAll.md b/old_docs/API_docs_v42/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v42/constructors/notifyAll.md +++ b/old_docs/API_docs_v42/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/notifyChats.md b/old_docs/API_docs_v42/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v42/constructors/notifyChats.md +++ b/old_docs/API_docs_v42/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/notifyPeer.md b/old_docs/API_docs_v42/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v42/constructors/notifyPeer.md +++ b/old_docs/API_docs_v42/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/notifyUsers.md b/old_docs/API_docs_v42/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v42/constructors/notifyUsers.md +++ b/old_docs/API_docs_v42/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/peerChannel.md b/old_docs/API_docs_v42/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v42/constructors/peerChannel.md +++ b/old_docs/API_docs_v42/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/peerChat.md b/old_docs/API_docs_v42/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v42/constructors/peerChat.md +++ b/old_docs/API_docs_v42/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v42/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v42/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v42/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v42/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v42/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v42/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/peerNotifySettings.md b/old_docs/API_docs_v42/constructors/peerNotifySettings.md index f6dc6c35..d0659143 100644 --- a/old_docs/API_docs_v42/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v42/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v42/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v42/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v42/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/peerUser.md b/old_docs/API_docs_v42/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v42/constructors/peerUser.md +++ b/old_docs/API_docs_v42/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/photo.md b/old_docs/API_docs_v42/constructors/photo.md index f9c9582a..2aaa4efd 100644 --- a/old_docs/API_docs_v42/constructors/photo.md +++ b/old_docs/API_docs_v42/constructors/photo.md @@ -27,6 +27,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/photoCachedSize.md b/old_docs/API_docs_v42/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v42/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v42/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/photoEmpty.md b/old_docs/API_docs_v42/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v42/constructors/photoEmpty.md +++ b/old_docs/API_docs_v42/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/photoSize.md b/old_docs/API_docs_v42/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v42/constructors/photoSize.md +++ b/old_docs/API_docs_v42/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/photoSizeEmpty.md b/old_docs/API_docs_v42/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v42/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v42/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/photos_photo.md b/old_docs/API_docs_v42/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v42/constructors/photos_photo.md +++ b/old_docs/API_docs_v42/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/photos_photos.md b/old_docs/API_docs_v42/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v42/constructors/photos_photos.md +++ b/old_docs/API_docs_v42/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/photos_photosSlice.md b/old_docs/API_docs_v42/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v42/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v42/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v42/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v42/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v42/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v42/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v42/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v42/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v42/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v42/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v42/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v42/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v42/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v42/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v42/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v42/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v42/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v42/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v42/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v42/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v42/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md index 4f319506..02a0779a 100644 --- a/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md @@ -25,6 +25,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/replyKeyboardHide.md b/old_docs/API_docs_v42/constructors/replyKeyboardHide.md index 56faa8dd..8b210933 100644 --- a/old_docs/API_docs_v42/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v42/constructors/replyKeyboardHide.md @@ -24,6 +24,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md index 3cebc41f..4269aeb9 100644 --- a/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md @@ -27,6 +27,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v42/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v42/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v42/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v42/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v42/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v42/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v42/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v42/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v42/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v42/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v42/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v42/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/stickerPack.md b/old_docs/API_docs_v42/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v42/constructors/stickerPack.md +++ b/old_docs/API_docs_v42/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/stickerSet.md b/old_docs/API_docs_v42/constructors/stickerSet.md index bed0beeb..2c2aa5aa 100644 --- a/old_docs/API_docs_v42/constructors/stickerSet.md +++ b/old_docs/API_docs_v42/constructors/stickerSet.md @@ -32,6 +32,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/storage_fileGif.md b/old_docs/API_docs_v42/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v42/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/storage_fileJpeg.md b/old_docs/API_docs_v42/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v42/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/storage_fileMov.md b/old_docs/API_docs_v42/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v42/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/storage_fileMp3.md b/old_docs/API_docs_v42/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v42/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/storage_fileMp4.md b/old_docs/API_docs_v42/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v42/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/storage_filePartial.md b/old_docs/API_docs_v42/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v42/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v42/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/storage_filePdf.md b/old_docs/API_docs_v42/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v42/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v42/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/storage_filePng.md b/old_docs/API_docs_v42/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v42/constructors/storage_filePng.md +++ b/old_docs/API_docs_v42/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/storage_fileUnknown.md b/old_docs/API_docs_v42/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v42/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/storage_fileWebp.md b/old_docs/API_docs_v42/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v42/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v42/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/true.md b/old_docs/API_docs_v42/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v42/constructors/true.md +++ b/old_docs/API_docs_v42/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateChannel.md b/old_docs/API_docs_v42/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/old_docs/API_docs_v42/constructors/updateChannel.md +++ b/old_docs/API_docs_v42/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateChannelGroup.md b/old_docs/API_docs_v42/constructors/updateChannelGroup.md index 6ffad0dd..59290243 100644 --- a/old_docs/API_docs_v42/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v42/constructors/updateChannelGroup.md @@ -25,6 +25,13 @@ description: updateChannelGroup attributes, type and example $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v42/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/old_docs/API_docs_v42/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v42/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateChannelTooLong.md b/old_docs/API_docs_v42/constructors/updateChannelTooLong.md index 632fd0a0..621e7774 100644 --- a/old_docs/API_docs_v42/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v42/constructors/updateChannelTooLong.md @@ -24,6 +24,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateChatAdmins.md b/old_docs/API_docs_v42/constructors/updateChatAdmins.md index 36fb3614..bf391961 100644 --- a/old_docs/API_docs_v42/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v42/constructors/updateChatAdmins.md @@ -26,6 +26,13 @@ description: updateChatAdmins attributes, type and example $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v42/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/old_docs/API_docs_v42/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v42/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v42/constructors/updateChatParticipantAdmin.md index fbb2cdae..ba5bbc95 100644 --- a/old_docs/API_docs_v42/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v42/constructors/updateChatParticipantAdmin.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdmin attributes, type and example $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v42/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v42/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v42/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateChatParticipants.md b/old_docs/API_docs_v42/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v42/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v42/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateChatUserTyping.md b/old_docs/API_docs_v42/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v42/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v42/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateContactLink.md b/old_docs/API_docs_v42/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v42/constructors/updateContactLink.md +++ b/old_docs/API_docs_v42/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateContactRegistered.md b/old_docs/API_docs_v42/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v42/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v42/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateDcOptions.md b/old_docs/API_docs_v42/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v42/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v42/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v42/constructors/updateDeleteChannelMessages.md index 6f8c20d5..a078a880 100644 --- a/old_docs/API_docs_v42/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v42/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateDeleteMessages.md b/old_docs/API_docs_v42/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v42/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v42/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v42/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v42/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v42/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v42/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v42/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v42/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateEncryption.md b/old_docs/API_docs_v42/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v42/constructors/updateEncryption.md +++ b/old_docs/API_docs_v42/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateMessageID.md b/old_docs/API_docs_v42/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v42/constructors/updateMessageID.md +++ b/old_docs/API_docs_v42/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateNewAuthorization.md b/old_docs/API_docs_v42/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v42/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v42/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v42/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/old_docs/API_docs_v42/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v42/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v42/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v42/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v42/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateNewMessage.md b/old_docs/API_docs_v42/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v42/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v42/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateNotifySettings.md b/old_docs/API_docs_v42/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v42/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v42/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updatePrivacy.md b/old_docs/API_docs_v42/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v42/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v42/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v42/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/old_docs/API_docs_v42/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v42/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v42/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v42/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v42/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v42/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v42/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v42/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v42/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v42/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v42/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateServiceNotification.md b/old_docs/API_docs_v42/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v42/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v42/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateShort.md b/old_docs/API_docs_v42/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v42/constructors/updateShort.md +++ b/old_docs/API_docs_v42/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateShortChatMessage.md b/old_docs/API_docs_v42/constructors/updateShortChatMessage.md index ce5d7d88..a5cc5fce 100644 --- a/old_docs/API_docs_v42/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v42/constructors/updateShortChatMessage.md @@ -38,6 +38,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateShortMessage.md b/old_docs/API_docs_v42/constructors/updateShortMessage.md index b3220138..076ffac8 100644 --- a/old_docs/API_docs_v42/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v42/constructors/updateShortMessage.md @@ -37,6 +37,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateShortSentMessage.md b/old_docs/API_docs_v42/constructors/updateShortSentMessage.md index cf123f7b..5005d3a2 100644 --- a/old_docs/API_docs_v42/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v42/constructors/updateShortSentMessage.md @@ -31,6 +31,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","unread":"Bool","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateUserBlocked.md b/old_docs/API_docs_v42/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v42/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v42/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateUserName.md b/old_docs/API_docs_v42/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v42/constructors/updateUserName.md +++ b/old_docs/API_docs_v42/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateUserPhone.md b/old_docs/API_docs_v42/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v42/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v42/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateUserPhoto.md b/old_docs/API_docs_v42/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v42/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v42/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateUserStatus.md b/old_docs/API_docs_v42/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v42/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v42/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateUserTyping.md b/old_docs/API_docs_v42/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v42/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v42/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updateWebPage.md b/old_docs/API_docs_v42/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/old_docs/API_docs_v42/constructors/updateWebPage.md +++ b/old_docs/API_docs_v42/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updates.md b/old_docs/API_docs_v42/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v42/constructors/updates.md +++ b/old_docs/API_docs_v42/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updatesCombined.md b/old_docs/API_docs_v42/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v42/constructors/updatesCombined.md +++ b/old_docs/API_docs_v42/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updatesTooLong.md b/old_docs/API_docs_v42/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v42/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v42/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updates_channelDifference.md b/old_docs/API_docs_v42/constructors/updates_channelDifference.md index c64c69b6..876e8d13 100644 --- a/old_docs/API_docs_v42/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v42/constructors/updates_channelDifference.md @@ -30,6 +30,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md index 6e4d7bde..c596d24a 100644 --- a/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md @@ -26,6 +26,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md index ca05cf53..4302d54b 100644 --- a/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md @@ -34,6 +34,13 @@ description: updates_channelDifferenceTooLong attributes, type and example $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceTooLong","final":"Bool","pts":"int","timeout":"int","top_message":"int","top_important_message":"int","read_inbox_max_id":"int","unread_count":"int","unread_important_count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updates_difference.md b/old_docs/API_docs_v42/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v42/constructors/updates_difference.md +++ b/old_docs/API_docs_v42/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v42/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v42/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v42/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updates_differenceSlice.md b/old_docs/API_docs_v42/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v42/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v42/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/updates_state.md b/old_docs/API_docs_v42/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v42/constructors/updates_state.md +++ b/old_docs/API_docs_v42/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/upload_file.md b/old_docs/API_docs_v42/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v42/constructors/upload_file.md +++ b/old_docs/API_docs_v42/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/user.md b/old_docs/API_docs_v42/constructors/user.md index a2273bef..1098035e 100644 --- a/old_docs/API_docs_v42/constructors/user.md +++ b/old_docs/API_docs_v42/constructors/user.md @@ -40,6 +40,13 @@ description: user attributes, type and example $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","self":"Bool","contact":"Bool","mutual_contact":"Bool","deleted":"Bool","bot":"Bool","bot_chat_history":"Bool","bot_nochats":"Bool","verified":"Bool","id":"int","access_hash":"long","first_name":"string","last_name":"string","username":"string","phone":"string","photo":"UserProfilePhoto","status":"UserStatus","bot_info_version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/userEmpty.md b/old_docs/API_docs_v42/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v42/constructors/userEmpty.md +++ b/old_docs/API_docs_v42/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/userFull.md b/old_docs/API_docs_v42/constructors/userFull.md index eec3fa8c..2e6da813 100644 --- a/old_docs/API_docs_v42/constructors/userFull.md +++ b/old_docs/API_docs_v42/constructors/userFull.md @@ -29,6 +29,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/userProfilePhoto.md b/old_docs/API_docs_v42/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v42/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v42/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v42/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v42/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v42/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/userStatusEmpty.md b/old_docs/API_docs_v42/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v42/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v42/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/userStatusLastMonth.md b/old_docs/API_docs_v42/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v42/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v42/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/userStatusLastWeek.md b/old_docs/API_docs_v42/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v42/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v42/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/userStatusOffline.md b/old_docs/API_docs_v42/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v42/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v42/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/userStatusOnline.md b/old_docs/API_docs_v42/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v42/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v42/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/userStatusRecently.md b/old_docs/API_docs_v42/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v42/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v42/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/vector.md b/old_docs/API_docs_v42/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v42/constructors/vector.md +++ b/old_docs/API_docs_v42/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/video.md b/old_docs/API_docs_v42/constructors/video.md index 7c15f909..d1e2e49e 100644 --- a/old_docs/API_docs_v42/constructors/video.md +++ b/old_docs/API_docs_v42/constructors/video.md @@ -33,6 +33,13 @@ description: video attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/videoEmpty.md b/old_docs/API_docs_v42/constructors/videoEmpty.md index 74b18d58..d5d10973 100644 --- a/old_docs/API_docs_v42/constructors/videoEmpty.md +++ b/old_docs/API_docs_v42/constructors/videoEmpty.md @@ -24,6 +24,13 @@ description: videoEmpty attributes, type and example $videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"videoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/wallPaper.md b/old_docs/API_docs_v42/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v42/constructors/wallPaper.md +++ b/old_docs/API_docs_v42/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/wallPaperSolid.md b/old_docs/API_docs_v42/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v42/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v42/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/webPage.md b/old_docs/API_docs_v42/constructors/webPage.md index 7c0a432f..b4dd86ee 100644 --- a/old_docs/API_docs_v42/constructors/webPage.md +++ b/old_docs/API_docs_v42/constructors/webPage.md @@ -38,6 +38,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/webPageEmpty.md b/old_docs/API_docs_v42/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v42/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v42/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/constructors/webPagePending.md b/old_docs/API_docs_v42/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v42/constructors/webPagePending.md +++ b/old_docs/API_docs_v42/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/account_changePhone.md b/old_docs/API_docs_v42/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v42/methods/account_changePhone.md +++ b/old_docs/API_docs_v42/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_checkUsername.md b/old_docs/API_docs_v42/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v42/methods/account_checkUsername.md +++ b/old_docs/API_docs_v42/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_deleteAccount.md b/old_docs/API_docs_v42/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v42/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v42/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_getAccountTTL.md b/old_docs/API_docs_v42/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v42/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v42/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/account_getAuthorizations.md b/old_docs/API_docs_v42/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v42/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v42/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/account_getNotifySettings.md b/old_docs/API_docs_v42/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v42/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_getPassword.md b/old_docs/API_docs_v42/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v42/methods/account_getPassword.md +++ b/old_docs/API_docs_v42/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/account_getPasswordSettings.md b/old_docs/API_docs_v42/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v42/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v42/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_getPrivacy.md b/old_docs/API_docs_v42/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v42/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v42/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_getWallPapers.md b/old_docs/API_docs_v42/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v42/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v42/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/account_registerDevice.md b/old_docs/API_docs_v42/methods/account_registerDevice.md index 746ac76d..c786c6a8 100644 --- a/old_docs/API_docs_v42/methods/account_registerDevice.md +++ b/old_docs/API_docs_v42/methods/account_registerDevice.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +app_sandbox - Json encoded Bool +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_resetAuthorization.md b/old_docs/API_docs_v42/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v42/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v42/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_resetNotifySettings.md b/old_docs/API_docs_v42/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v42/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md index 002dc1ab..605bcaa3 100644 --- a/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v42/methods/account_sendChangePhoneCode.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_setAccountTTL.md b/old_docs/API_docs_v42/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v42/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v42/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_setPrivacy.md b/old_docs/API_docs_v42/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v42/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v42/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_unregisterDevice.md b/old_docs/API_docs_v42/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v42/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v42/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v42/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_updateNotifySettings.md b/old_docs/API_docs_v42/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v42/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v42/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v42/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_updateProfile.md b/old_docs/API_docs_v42/methods/account_updateProfile.md index 6e8891d0..bf1c3b8f 100644 --- a/old_docs/API_docs_v42/methods/account_updateProfile.md +++ b/old_docs/API_docs_v42/methods/account_updateProfile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_updateStatus.md b/old_docs/API_docs_v42/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v42/methods/account_updateStatus.md +++ b/old_docs/API_docs_v42/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/account_updateUsername.md b/old_docs/API_docs_v42/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v42/methods/account_updateUsername.md +++ b/old_docs/API_docs_v42/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v42/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/auth_checkPassword.md b/old_docs/API_docs_v42/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v42/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v42/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/auth_checkPhone.md b/old_docs/API_docs_v42/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v42/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v42/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/auth_exportAuthorization.md b/old_docs/API_docs_v42/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v42/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/auth_importAuthorization.md b/old_docs/API_docs_v42/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v42/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v42/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/auth_logOut.md b/old_docs/API_docs_v42/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v42/methods/auth_logOut.md +++ b/old_docs/API_docs_v42/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/auth_recoverPassword.md b/old_docs/API_docs_v42/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v42/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v42/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v42/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v42/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/auth_sendCall.md b/old_docs/API_docs_v42/methods/auth_sendCall.md index 9e50a03d..08b4d1d4 100644 --- a/old_docs/API_docs_v42/methods/auth_sendCall.md +++ b/old_docs/API_docs_v42/methods/auth_sendCall.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCall +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCall` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/auth_sendCode.md b/old_docs/API_docs_v42/methods/auth_sendCode.md index 6896bc05..a9009e4b 100644 --- a/old_docs/API_docs_v42/methods/auth_sendCode.md +++ b/old_docs/API_docs_v42/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +phone_number - Json encoded string +sms_type - Json encoded int +api_id - Json encoded int +api_hash - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/auth_sendInvites.md b/old_docs/API_docs_v42/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v42/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v42/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/auth_sendSms.md b/old_docs/API_docs_v42/methods/auth_sendSms.md index 3653ccdd..5e62431c 100644 --- a/old_docs/API_docs_v42/methods/auth_sendSms.md +++ b/old_docs/API_docs_v42/methods/auth_sendSms.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendSms +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendSms` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/auth_signIn.md b/old_docs/API_docs_v42/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v42/methods/auth_signIn.md +++ b/old_docs/API_docs_v42/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/auth_signUp.md b/old_docs/API_docs_v42/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v42/methods/auth_signUp.md +++ b/old_docs/API_docs_v42/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_checkUsername.md b/old_docs/API_docs_v42/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/old_docs/API_docs_v42/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v42/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_createChannel.md b/old_docs/API_docs_v42/methods/channels_createChannel.md index a4819767..853ca900 100644 --- a/old_docs/API_docs_v42/methods/channels_createChannel.md +++ b/old_docs/API_docs_v42/methods/channels_createChannel.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +broadcast - Json encoded Bool +megagroup - Json encoded Bool +title - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_deleteChannel.md b/old_docs/API_docs_v42/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v42/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_deleteMessages.md b/old_docs/API_docs_v42/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v42/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v42/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_editAbout.md b/old_docs/API_docs_v42/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/old_docs/API_docs_v42/methods/channels_editAbout.md +++ b/old_docs/API_docs_v42/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_editAdmin.md b/old_docs/API_docs_v42/methods/channels_editAdmin.md index 4596e082..729d5e28 100644 --- a/old_docs/API_docs_v42/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v42/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +role - Json encoded ChannelParticipantRole + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_editPhoto.md b/old_docs/API_docs_v42/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/old_docs/API_docs_v42/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v42/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_editTitle.md b/old_docs/API_docs_v42/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/old_docs/API_docs_v42/methods/channels_editTitle.md +++ b/old_docs/API_docs_v42/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_exportInvite.md b/old_docs/API_docs_v42/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/old_docs/API_docs_v42/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v42/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_getChannels.md b/old_docs/API_docs_v42/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/old_docs/API_docs_v42/methods/channels_getChannels.md +++ b/old_docs/API_docs_v42/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_getDialogs.md b/old_docs/API_docs_v42/methods/channels_getDialogs.md index 601510e1..b20fb17c 100644 --- a/old_docs/API_docs_v42/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v42/methods/channels_getDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getDialogs +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getDialogs` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_getFullChannel.md b/old_docs/API_docs_v42/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/old_docs/API_docs_v42/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v42/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_getImportantHistory.md b/old_docs/API_docs_v42/methods/channels_getImportantHistory.md index 2b5f5632..348621e1 100644 --- a/old_docs/API_docs_v42/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v42/methods/channels_getImportantHistory.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getImportantHistory +* params - {"channel":"InputChannel","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getImportantHistory` + +Parameters: + +channel - Json encoded InputChannel +offset_id - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_getMessages.md b/old_docs/API_docs_v42/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/old_docs/API_docs_v42/methods/channels_getMessages.md +++ b/old_docs/API_docs_v42/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_getParticipant.md b/old_docs/API_docs_v42/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_getParticipants.md b/old_docs/API_docs_v42/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/old_docs/API_docs_v42/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v42/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_inviteToChannel.md b/old_docs/API_docs_v42/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/old_docs/API_docs_v42/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v42/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_joinChannel.md b/old_docs/API_docs_v42/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/old_docs/API_docs_v42/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v42/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_kickFromChannel.md b/old_docs/API_docs_v42/methods/channels_kickFromChannel.md index 1dc6b4b7..5e91bc24 100644 --- a/old_docs/API_docs_v42/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v42/methods/channels_kickFromChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.kickFromChannel +* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.kickFromChannel` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +kicked - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_leaveChannel.md b/old_docs/API_docs_v42/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/old_docs/API_docs_v42/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v42/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_readHistory.md b/old_docs/API_docs_v42/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/old_docs/API_docs_v42/methods/channels_readHistory.md +++ b/old_docs/API_docs_v42/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_reportSpam.md b/old_docs/API_docs_v42/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/old_docs/API_docs_v42/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v42/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_toggleComments.md b/old_docs/API_docs_v42/methods/channels_toggleComments.md index 930df0e2..e3b45398 100644 --- a/old_docs/API_docs_v42/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v42/methods/channels_toggleComments.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleComments +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleComments` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/channels_updateUsername.md b/old_docs/API_docs_v42/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/old_docs/API_docs_v42/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v42/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/contacts_block.md b/old_docs/API_docs_v42/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v42/methods/contacts_block.md +++ b/old_docs/API_docs_v42/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/contacts_deleteContact.md b/old_docs/API_docs_v42/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v42/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v42/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/contacts_deleteContacts.md b/old_docs/API_docs_v42/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v42/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/contacts_exportCard.md b/old_docs/API_docs_v42/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v42/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v42/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/contacts_getBlocked.md b/old_docs/API_docs_v42/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v42/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v42/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/contacts_getContacts.md b/old_docs/API_docs_v42/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v42/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/contacts_getStatuses.md b/old_docs/API_docs_v42/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v42/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v42/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/contacts_getSuggested.md b/old_docs/API_docs_v42/methods/contacts_getSuggested.md index 1c9a532d..66e4c1b3 100644 --- a/old_docs/API_docs_v42/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v42/methods/contacts_getSuggested.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getSuggested +* params - {"limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getSuggested` + +Parameters: + +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/contacts_importCard.md b/old_docs/API_docs_v42/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v42/methods/contacts_importCard.md +++ b/old_docs/API_docs_v42/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/contacts_importContacts.md b/old_docs/API_docs_v42/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v42/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v42/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/contacts_resolveUsername.md b/old_docs/API_docs_v42/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/old_docs/API_docs_v42/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v42/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/contacts_search.md b/old_docs/API_docs_v42/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v42/methods/contacts_search.md +++ b/old_docs/API_docs_v42/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/contacts_unblock.md b/old_docs/API_docs_v42/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v42/methods/contacts_unblock.md +++ b/old_docs/API_docs_v42/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/help_getAppChangelog.md b/old_docs/API_docs_v42/methods/help_getAppChangelog.md index 337c12be..b93c56db 100644 --- a/old_docs/API_docs_v42/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v42/methods/help_getAppChangelog.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/help_getAppUpdate.md b/old_docs/API_docs_v42/methods/help_getAppUpdate.md index b52e83e8..58430792 100644 --- a/old_docs/API_docs_v42/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v42/methods/help_getAppUpdate.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/help_getConfig.md b/old_docs/API_docs_v42/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v42/methods/help_getConfig.md +++ b/old_docs/API_docs_v42/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/help_getInviteText.md b/old_docs/API_docs_v42/methods/help_getInviteText.md index 2d9c4653..ec75a17f 100644 --- a/old_docs/API_docs_v42/methods/help_getInviteText.md +++ b/old_docs/API_docs_v42/methods/help_getInviteText.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/help_getNearestDc.md b/old_docs/API_docs_v42/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v42/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v42/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/help_getSupport.md b/old_docs/API_docs_v42/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v42/methods/help_getSupport.md +++ b/old_docs/API_docs_v42/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/help_saveAppLog.md b/old_docs/API_docs_v42/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v42/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v42/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/initConnection.md b/old_docs/API_docs_v42/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v42/methods/initConnection.md +++ b/old_docs/API_docs_v42/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/invokeAfterMsg.md b/old_docs/API_docs_v42/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v42/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v42/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/invokeAfterMsgs.md b/old_docs/API_docs_v42/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v42/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v42/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/invokeWithLayer.md b/old_docs/API_docs_v42/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v42/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v42/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v42/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_acceptEncryption.md b/old_docs/API_docs_v42/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v42/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v42/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_addChatUser.md b/old_docs/API_docs_v42/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v42/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v42/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_checkChatInvite.md b/old_docs/API_docs_v42/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v42/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_createChat.md b/old_docs/API_docs_v42/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v42/methods/messages_createChat.md +++ b/old_docs/API_docs_v42/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_deleteChatUser.md b/old_docs/API_docs_v42/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v42/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_deleteHistory.md b/old_docs/API_docs_v42/methods/messages_deleteHistory.md index f37e5d08..e5f132c6 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v42/methods/messages_deleteHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_deleteMessages.md b/old_docs/API_docs_v42/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v42/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v42/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_discardEncryption.md b/old_docs/API_docs_v42/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v42/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v42/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_editChatAdmin.md b/old_docs/API_docs_v42/methods/messages_editChatAdmin.md index 515c2ede..2ad6d72c 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v42/methods/messages_editChatAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatAdmin +* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +is_admin - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_editChatPhoto.md b/old_docs/API_docs_v42/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v42/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_editChatTitle.md b/old_docs/API_docs_v42/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v42/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v42/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_exportChatInvite.md b/old_docs/API_docs_v42/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v42/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_forwardMessage.md b/old_docs/API_docs_v42/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v42/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v42/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_forwardMessages.md b/old_docs/API_docs_v42/methods/messages_forwardMessages.md index 3fbcfee6..812a4214 100644 --- a/old_docs/API_docs_v42/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v42/methods/messages_forwardMessages.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"broadcast":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +broadcast - Json encoded Bool +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_getAllStickers.md b/old_docs/API_docs_v42/methods/messages_getAllStickers.md index 91961b0e..35ba6f74 100644 --- a/old_docs/API_docs_v42/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v42/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_getChats.md b/old_docs/API_docs_v42/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v42/methods/messages_getChats.md +++ b/old_docs/API_docs_v42/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_getDhConfig.md b/old_docs/API_docs_v42/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v42/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v42/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_getDialogs.md b/old_docs/API_docs_v42/methods/messages_getDialogs.md index 61fa3149..a0884730 100644 --- a/old_docs/API_docs_v42/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v42/methods/messages_getDialogs.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset_date - Json encoded int +offset_id - Json encoded int +offset_peer - Json encoded InputPeer +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_getFullChat.md b/old_docs/API_docs_v42/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v42/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v42/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_getHistory.md b/old_docs/API_docs_v42/methods/messages_getHistory.md index f32402a7..b22bd09e 100644 --- a/old_docs/API_docs_v42/methods/messages_getHistory.md +++ b/old_docs/API_docs_v42/methods/messages_getHistory.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_getMessages.md b/old_docs/API_docs_v42/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v42/methods/messages_getMessages.md +++ b/old_docs/API_docs_v42/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_getMessagesViews.md b/old_docs/API_docs_v42/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/old_docs/API_docs_v42/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v42/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_getStickerSet.md b/old_docs/API_docs_v42/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v42/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_getStickers.md b/old_docs/API_docs_v42/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v42/methods/messages_getStickers.md +++ b/old_docs/API_docs_v42/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v42/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_importChatInvite.md b/old_docs/API_docs_v42/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v42/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v42/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_installStickerSet.md b/old_docs/API_docs_v42/methods/messages_installStickerSet.md index a3c12183..637005f3 100644 --- a/old_docs/API_docs_v42/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","disabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +disabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_migrateChat.md b/old_docs/API_docs_v42/methods/messages_migrateChat.md index eaa988a7..1d8e1ca5 100644 --- a/old_docs/API_docs_v42/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v42/methods/messages_migrateChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.migrateChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.migrateChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v42/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_readHistory.md b/old_docs/API_docs_v42/methods/messages_readHistory.md index c5ddb451..99ce0e57 100644 --- a/old_docs/API_docs_v42/methods/messages_readHistory.md +++ b/old_docs/API_docs_v42/methods/messages_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_readMessageContents.md b/old_docs/API_docs_v42/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v42/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v42/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_receivedMessages.md b/old_docs/API_docs_v42/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v42/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v42/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_receivedQueue.md b/old_docs/API_docs_v42/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v42/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v42/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_reportSpam.md b/old_docs/API_docs_v42/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v42/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v42/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_requestEncryption.md b/old_docs/API_docs_v42/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v42/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v42/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_search.md b/old_docs/API_docs_v42/methods/messages_search.md index 3b082420..bba7fce0 100644 --- a/old_docs/API_docs_v42/methods/messages_search.md +++ b/old_docs/API_docs_v42/methods/messages_search.md @@ -44,6 +44,38 @@ if (isset($number)) { // Login as a user $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, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"important_only":"Bool","peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +important_only - Json encoded Bool +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_searchGlobal.md b/old_docs/API_docs_v42/methods/messages_searchGlobal.md index 36f09366..0095015c 100644 --- a/old_docs/API_docs_v42/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v42/methods/messages_searchGlobal.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGlobal +* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGlobal` + +Parameters: + +q - Json encoded string +offset_date - Json encoded int +offset_peer - Json encoded InputPeer +offset_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_sendBroadcast.md b/old_docs/API_docs_v42/methods/messages_sendBroadcast.md index d4af6317..81e9c7b8 100644 --- a/old_docs/API_docs_v42/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v42/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_sendEncrypted.md b/old_docs/API_docs_v42/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v42/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_sendMedia.md b/old_docs/API_docs_v42/methods/messages_sendMedia.md index a90c27a3..750419ad 100644 --- a/old_docs/API_docs_v42/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v42/methods/messages_sendMedia.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +broadcast - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_sendMessage.md b/old_docs/API_docs_v42/methods/messages_sendMessage.md index 57d70bd1..cb76f655 100644 --- a/old_docs/API_docs_v42/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v42/methods/messages_sendMessage.md @@ -43,6 +43,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"no_webpage":"Bool","broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v42/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_setTyping.md b/old_docs/API_docs_v42/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v42/methods/messages_setTyping.md +++ b/old_docs/API_docs_v42/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_startBot.md b/old_docs/API_docs_v42/methods/messages_startBot.md index 58aadfab..93229d34 100644 --- a/old_docs/API_docs_v42/methods/messages_startBot.md +++ b/old_docs/API_docs_v42/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md index ec1809f3..2edb160a 100644 --- a/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v42/methods/messages_toggleChatAdmins.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleChatAdmins +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleChatAdmins` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v42/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/photos_deletePhotos.md b/old_docs/API_docs_v42/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v42/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v42/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/photos_getUserPhotos.md b/old_docs/API_docs_v42/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v42/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v42/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v42/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v42/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/updates_getChannelDifference.md b/old_docs/API_docs_v42/methods/updates_getChannelDifference.md index 6fe9722a..d2aedcea 100644 --- a/old_docs/API_docs_v42/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v42/methods/updates_getChannelDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/updates_getDifference.md b/old_docs/API_docs_v42/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v42/methods/updates_getDifference.md +++ b/old_docs/API_docs_v42/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/updates_getState.md b/old_docs/API_docs_v42/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v42/methods/updates_getState.md +++ b/old_docs/API_docs_v42/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v42/methods/upload_getFile.md b/old_docs/API_docs_v42/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v42/methods/upload_getFile.md +++ b/old_docs/API_docs_v42/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v42/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/upload_saveFilePart.md b/old_docs/API_docs_v42/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v42/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v42/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/users_getFullUser.md b/old_docs/API_docs_v42/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v42/methods/users_getFullUser.md +++ b/old_docs/API_docs_v42/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v42/methods/users_getUsers.md b/old_docs/API_docs_v42/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v42/methods/users_getUsers.md +++ b/old_docs/API_docs_v42/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/constructors/accountDaysTTL.md b/old_docs/API_docs_v44/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v44/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v44/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/account_authorizations.md b/old_docs/API_docs_v44/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v44/constructors/account_authorizations.md +++ b/old_docs/API_docs_v44/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/account_noPassword.md b/old_docs/API_docs_v44/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v44/constructors/account_noPassword.md +++ b/old_docs/API_docs_v44/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/account_password.md b/old_docs/API_docs_v44/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v44/constructors/account_password.md +++ b/old_docs/API_docs_v44/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v44/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v44/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v44/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/account_passwordSettings.md b/old_docs/API_docs_v44/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v44/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v44/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/account_privacyRules.md b/old_docs/API_docs_v44/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v44/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v44/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md index 77fbeb66..1b776018 100644 --- a/old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v44/constructors/account_sentChangePhoneCode.md @@ -25,6 +25,13 @@ description: account_sentChangePhoneCode attributes, type and example $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/audio.md b/old_docs/API_docs_v44/constructors/audio.md index b99c9822..d0f34764 100644 --- a/old_docs/API_docs_v44/constructors/audio.md +++ b/old_docs/API_docs_v44/constructors/audio.md @@ -30,6 +30,13 @@ description: audio attributes, type and example $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/audioEmpty.md b/old_docs/API_docs_v44/constructors/audioEmpty.md index 7a3b8772..72e43b19 100644 --- a/old_docs/API_docs_v44/constructors/audioEmpty.md +++ b/old_docs/API_docs_v44/constructors/audioEmpty.md @@ -24,6 +24,13 @@ description: audioEmpty attributes, type and example $audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audioEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/auth_authorization.md b/old_docs/API_docs_v44/constructors/auth_authorization.md index 6b60d2ec..90504507 100644 --- a/old_docs/API_docs_v44/constructors/auth_authorization.md +++ b/old_docs/API_docs_v44/constructors/auth_authorization.md @@ -24,6 +24,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/auth_checkedPhone.md b/old_docs/API_docs_v44/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v44/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v44/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v44/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v44/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v44/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v44/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/auth_sentAppCode.md b/old_docs/API_docs_v44/constructors/auth_sentAppCode.md index d0d99104..4288276f 100644 --- a/old_docs/API_docs_v44/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v44/constructors/auth_sentAppCode.md @@ -27,6 +27,13 @@ description: auth_sentAppCode attributes, type and example $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/auth_sentCode.md b/old_docs/API_docs_v44/constructors/auth_sentCode.md index edadb37e..d393aeae 100644 --- a/old_docs/API_docs_v44/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v44/constructors/auth_sentCode.md @@ -27,6 +27,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/authorization.md b/old_docs/API_docs_v44/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v44/constructors/authorization.md +++ b/old_docs/API_docs_v44/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/botCommand.md b/old_docs/API_docs_v44/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v44/constructors/botCommand.md +++ b/old_docs/API_docs_v44/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/botInfo.md b/old_docs/API_docs_v44/constructors/botInfo.md index 41d6dc96..32328ee5 100644 --- a/old_docs/API_docs_v44/constructors/botInfo.md +++ b/old_docs/API_docs_v44/constructors/botInfo.md @@ -28,6 +28,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/botInfoEmpty.md b/old_docs/API_docs_v44/constructors/botInfoEmpty.md index 0466220a..0e6a5962 100644 --- a/old_docs/API_docs_v44/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v44/constructors/botInfoEmpty.md @@ -19,6 +19,13 @@ description: botInfoEmpty attributes, type and example $botInfoEmpty = ['_' => 'botInfoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channel.md b/old_docs/API_docs_v44/constructors/channel.md index daeaf2ed..81987071 100644 --- a/old_docs/API_docs_v44/constructors/channel.md +++ b/old_docs/API_docs_v44/constructors/channel.md @@ -40,6 +40,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restiction_reason' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","creator":"Bool","kicked":"Bool","left":"Bool","editor":"Bool","moderator":"Bool","broadcast":"Bool","verified":"Bool","megagroup":"Bool","restricted":"Bool","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int","restiction_reason":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelForbidden.md b/old_docs/API_docs_v44/constructors/channelForbidden.md index ea7a1999..7c9a3dae 100644 --- a/old_docs/API_docs_v44/constructors/channelForbidden.md +++ b/old_docs/API_docs_v44/constructors/channelForbidden.md @@ -26,6 +26,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelFull.md b/old_docs/API_docs_v44/constructors/channelFull.md index 6fac3d5b..d44fd8e3 100644 --- a/old_docs/API_docs_v44/constructors/channelFull.md +++ b/old_docs/API_docs_v44/constructors/channelFull.md @@ -38,6 +38,13 @@ description: channelFull attributes, type and example $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, '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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","can_view_participants":"Bool","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":["BotInfo"],"migrated_from_chat_id":"int","migrated_from_max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelMessagesFilter.md b/old_docs/API_docs_v44/constructors/channelMessagesFilter.md index fe0318da..b6f94861 100644 --- a/old_docs/API_docs_v44/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v44/constructors/channelMessagesFilter.md @@ -26,6 +26,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","important_only":"Bool","exclude_new_messages":"Bool","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v44/constructors/channelMessagesFilterCollapsed.md index 11cebd02..a1563c5b 100644 --- a/old_docs/API_docs_v44/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v44/constructors/channelMessagesFilterCollapsed.md @@ -19,6 +19,13 @@ description: channelMessagesFilterCollapsed attributes, type and example $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterCollapsed"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v44/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v44/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v44/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelParticipant.md b/old_docs/API_docs_v44/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipant.md +++ b/old_docs/API_docs_v44/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelParticipantCreator.md b/old_docs/API_docs_v44/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelParticipantEditor.md b/old_docs/API_docs_v44/constructors/channelParticipantEditor.md index 3c866534..64f84b38 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantEditor.md @@ -26,6 +26,13 @@ description: channelParticipantEditor attributes, type and example $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelParticipantKicked.md b/old_docs/API_docs_v44/constructors/channelParticipantKicked.md index 362872f9..4aedad4d 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantKicked.md @@ -26,6 +26,13 @@ description: channelParticipantKicked attributes, type and example $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelParticipantModerator.md b/old_docs/API_docs_v44/constructors/channelParticipantModerator.md index ff9a7094..634f9de8 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantModerator.md @@ -26,6 +26,13 @@ description: channelParticipantModerator attributes, type and example $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelParticipantSelf.md b/old_docs/API_docs_v44/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v44/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelParticipantsBots.md b/old_docs/API_docs_v44/constructors/channelParticipantsBots.md index 24b68c95..963f155e 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantsBots.md @@ -19,6 +19,13 @@ description: channelParticipantsBots attributes, type and example $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBots"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v44/constructors/channelParticipantsKicked.md index d7889060..37714c3e 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantsKicked.md @@ -19,6 +19,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v44/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/old_docs/API_docs_v44/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v44/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelRoleEditor.md b/old_docs/API_docs_v44/constructors/channelRoleEditor.md index 103b7ae5..fea2e406 100644 --- a/old_docs/API_docs_v44/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v44/constructors/channelRoleEditor.md @@ -19,6 +19,13 @@ description: channelRoleEditor attributes, type and example $channelRoleEditor = ['_' => 'channelRoleEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEditor"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelRoleEmpty.md b/old_docs/API_docs_v44/constructors/channelRoleEmpty.md index b5a7b52c..932c9fb4 100644 --- a/old_docs/API_docs_v44/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v44/constructors/channelRoleEmpty.md @@ -19,6 +19,13 @@ description: channelRoleEmpty attributes, type and example $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channelRoleModerator.md b/old_docs/API_docs_v44/constructors/channelRoleModerator.md index f3aaff68..5d6a37d1 100644 --- a/old_docs/API_docs_v44/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v44/constructors/channelRoleModerator.md @@ -19,6 +19,13 @@ description: channelRoleModerator attributes, type and example $channelRoleModerator = ['_' => 'channelRoleModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleModerator"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channels_channelParticipant.md b/old_docs/API_docs_v44/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/old_docs/API_docs_v44/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v44/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/channels_channelParticipants.md b/old_docs/API_docs_v44/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/old_docs/API_docs_v44/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v44/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chat.md b/old_docs/API_docs_v44/constructors/chat.md index 9bad67b3..70955e06 100644 --- a/old_docs/API_docs_v44/constructors/chat.md +++ b/old_docs/API_docs_v44/constructors/chat.md @@ -36,6 +36,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatEmpty.md b/old_docs/API_docs_v44/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v44/constructors/chatEmpty.md +++ b/old_docs/API_docs_v44/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatForbidden.md b/old_docs/API_docs_v44/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/old_docs/API_docs_v44/constructors/chatForbidden.md +++ b/old_docs/API_docs_v44/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatFull.md b/old_docs/API_docs_v44/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v44/constructors/chatFull.md +++ b/old_docs/API_docs_v44/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatInvite.md b/old_docs/API_docs_v44/constructors/chatInvite.md index 8207c7f1..effead5a 100644 --- a/old_docs/API_docs_v44/constructors/chatInvite.md +++ b/old_docs/API_docs_v44/constructors/chatInvite.md @@ -28,6 +28,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatInviteAlready.md b/old_docs/API_docs_v44/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v44/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v44/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatInviteEmpty.md b/old_docs/API_docs_v44/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v44/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v44/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatInviteExported.md b/old_docs/API_docs_v44/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v44/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v44/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatParticipant.md b/old_docs/API_docs_v44/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipant.md +++ b/old_docs/API_docs_v44/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v44/constructors/chatParticipantAdmin.md index 6740c4a3..775f29c7 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v44/constructors/chatParticipantAdmin.md @@ -26,6 +26,13 @@ description: chatParticipantAdmin attributes, type and example $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatParticipantCreator.md b/old_docs/API_docs_v44/constructors/chatParticipantCreator.md index b80542a7..687dd93f 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v44/constructors/chatParticipantCreator.md @@ -24,6 +24,13 @@ description: chatParticipantCreator attributes, type and example $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatParticipants.md b/old_docs/API_docs_v44/constructors/chatParticipants.md index 2420f15e..c1602888 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipants.md +++ b/old_docs/API_docs_v44/constructors/chatParticipants.md @@ -26,6 +26,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v44/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/old_docs/API_docs_v44/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v44/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatPhoto.md b/old_docs/API_docs_v44/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v44/constructors/chatPhoto.md +++ b/old_docs/API_docs_v44/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v44/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v44/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v44/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/config.md b/old_docs/API_docs_v44/constructors/config.md index 4e23d2e1..7de9a043 100644 --- a/old_docs/API_docs_v44/constructors/config.md +++ b/old_docs/API_docs_v44/constructors/config.md @@ -41,6 +41,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contact.md b/old_docs/API_docs_v44/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v44/constructors/contact.md +++ b/old_docs/API_docs_v44/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contactBlocked.md b/old_docs/API_docs_v44/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v44/constructors/contactBlocked.md +++ b/old_docs/API_docs_v44/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contactLinkContact.md b/old_docs/API_docs_v44/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v44/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v44/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v44/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v44/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v44/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contactLinkNone.md b/old_docs/API_docs_v44/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v44/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v44/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contactLinkUnknown.md b/old_docs/API_docs_v44/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v44/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v44/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contactStatus.md b/old_docs/API_docs_v44/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v44/constructors/contactStatus.md +++ b/old_docs/API_docs_v44/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contactSuggested.md b/old_docs/API_docs_v44/constructors/contactSuggested.md index cf53fa55..0508f837 100644 --- a/old_docs/API_docs_v44/constructors/contactSuggested.md +++ b/old_docs/API_docs_v44/constructors/contactSuggested.md @@ -25,6 +25,13 @@ description: contactSuggested attributes, type and example $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contacts_blocked.md b/old_docs/API_docs_v44/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v44/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v44/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v44/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v44/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v44/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contacts_contacts.md b/old_docs/API_docs_v44/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v44/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v44/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v44/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contacts_found.md b/old_docs/API_docs_v44/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/old_docs/API_docs_v44/constructors/contacts_found.md +++ b/old_docs/API_docs_v44/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contacts_importedContacts.md b/old_docs/API_docs_v44/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v44/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v44/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contacts_link.md b/old_docs/API_docs_v44/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v44/constructors/contacts_link.md +++ b/old_docs/API_docs_v44/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v44/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/contacts_suggested.md b/old_docs/API_docs_v44/constructors/contacts_suggested.md index 90ff7671..e4dd4100 100644 --- a/old_docs/API_docs_v44/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v44/constructors/contacts_suggested.md @@ -25,6 +25,13 @@ description: contacts_suggested attributes, type and example $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/dcOption.md b/old_docs/API_docs_v44/constructors/dcOption.md index 124a7148..85ff3d71 100644 --- a/old_docs/API_docs_v44/constructors/dcOption.md +++ b/old_docs/API_docs_v44/constructors/dcOption.md @@ -28,6 +28,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","ipv6":"Bool","media_only":"Bool","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/dialog.md b/old_docs/API_docs_v44/constructors/dialog.md index 9c6f4d43..d706225d 100644 --- a/old_docs/API_docs_v44/constructors/dialog.md +++ b/old_docs/API_docs_v44/constructors/dialog.md @@ -28,6 +28,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/dialogChannel.md b/old_docs/API_docs_v44/constructors/dialogChannel.md index 160dc27e..f4d28d89 100644 --- a/old_docs/API_docs_v44/constructors/dialogChannel.md +++ b/old_docs/API_docs_v44/constructors/dialogChannel.md @@ -31,6 +31,13 @@ description: dialogChannel attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/disabledFeature.md b/old_docs/API_docs_v44/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v44/constructors/disabledFeature.md +++ b/old_docs/API_docs_v44/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/document.md b/old_docs/API_docs_v44/constructors/document.md index 7153e5a6..7e3482ad 100644 --- a/old_docs/API_docs_v44/constructors/document.md +++ b/old_docs/API_docs_v44/constructors/document.md @@ -31,6 +31,13 @@ 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, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v44/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/documentAttributeAudio.md b/old_docs/API_docs_v44/constructors/documentAttributeAudio.md index 23a48363..d56ef28d 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeAudio.md @@ -26,6 +26,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/documentAttributeFilename.md b/old_docs/API_docs_v44/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v44/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/documentAttributeSticker.md b/old_docs/API_docs_v44/constructors/documentAttributeSticker.md index 9f8168b1..3cb9fcd5 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeSticker.md @@ -25,6 +25,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/documentAttributeVideo.md b/old_docs/API_docs_v44/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v44/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v44/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/documentEmpty.md b/old_docs/API_docs_v44/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v44/constructors/documentEmpty.md +++ b/old_docs/API_docs_v44/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/encryptedChat.md b/old_docs/API_docs_v44/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChat.md +++ b/old_docs/API_docs_v44/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v44/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v44/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v44/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v44/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/encryptedChatRequested.md b/old_docs/API_docs_v44/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v44/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v44/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v44/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v44/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/encryptedFile.md b/old_docs/API_docs_v44/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v44/constructors/encryptedFile.md +++ b/old_docs/API_docs_v44/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v44/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v44/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v44/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/encryptedMessage.md b/old_docs/API_docs_v44/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v44/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v44/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/encryptedMessageService.md b/old_docs/API_docs_v44/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v44/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v44/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/error.md b/old_docs/API_docs_v44/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v44/constructors/error.md +++ b/old_docs/API_docs_v44/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/fileLocation.md b/old_docs/API_docs_v44/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v44/constructors/fileLocation.md +++ b/old_docs/API_docs_v44/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v44/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v44/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v44/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/foundGif.md b/old_docs/API_docs_v44/constructors/foundGif.md index 9b11e9dd..580015f0 100644 --- a/old_docs/API_docs_v44/constructors/foundGif.md +++ b/old_docs/API_docs_v44/constructors/foundGif.md @@ -24,6 +24,13 @@ description: foundGif attributes, type and example $foundGif = ['_' => 'foundGif', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGif","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/geoPoint.md b/old_docs/API_docs_v44/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v44/constructors/geoPoint.md +++ b/old_docs/API_docs_v44/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/geoPointEmpty.md b/old_docs/API_docs_v44/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v44/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v44/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/help_appChangelog.md b/old_docs/API_docs_v44/constructors/help_appChangelog.md index 77c1c338..67e40e85 100644 --- a/old_docs/API_docs_v44/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v44/constructors/help_appChangelog.md @@ -24,6 +24,13 @@ description: help_appChangelog attributes, type and example $help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelog","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md index abbb4865..f6ab5ace 100644 --- a/old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v44/constructors/help_appChangelogEmpty.md @@ -19,6 +19,13 @@ description: help_appChangelogEmpty attributes, type and example $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelogEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/help_appUpdate.md b/old_docs/API_docs_v44/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v44/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v44/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/help_inviteText.md b/old_docs/API_docs_v44/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v44/constructors/help_inviteText.md +++ b/old_docs/API_docs_v44/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/help_noAppUpdate.md b/old_docs/API_docs_v44/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v44/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v44/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/help_support.md b/old_docs/API_docs_v44/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v44/constructors/help_support.md +++ b/old_docs/API_docs_v44/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/help_termsOfService.md b/old_docs/API_docs_v44/constructors/help_termsOfService.md index a945b971..6af3d9e5 100644 --- a/old_docs/API_docs_v44/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v44/constructors/help_termsOfService.md @@ -24,6 +24,13 @@ description: help_termsOfService attributes, type and example $help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.termsOfService","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/importedContact.md b/old_docs/API_docs_v44/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v44/constructors/importedContact.md +++ b/old_docs/API_docs_v44/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputAppEvent.md b/old_docs/API_docs_v44/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v44/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v44/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputAudio.md b/old_docs/API_docs_v44/constructors/inputAudio.md index f618b74f..a75e690f 100644 --- a/old_docs/API_docs_v44/constructors/inputAudio.md +++ b/old_docs/API_docs_v44/constructors/inputAudio.md @@ -25,6 +25,13 @@ description: inputAudio attributes, type and example $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudio","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputAudioEmpty.md b/old_docs/API_docs_v44/constructors/inputAudioEmpty.md index f5ca1a6c..4de803d5 100644 --- a/old_docs/API_docs_v44/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputAudioEmpty.md @@ -19,6 +19,13 @@ description: inputAudioEmpty attributes, type and example $inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v44/constructors/inputAudioFileLocation.md index 8624b224..25650826 100644 --- a/old_docs/API_docs_v44/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputAudioFileLocation.md @@ -25,6 +25,13 @@ description: inputAudioFileLocation attributes, type and example $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputChannel.md b/old_docs/API_docs_v44/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/old_docs/API_docs_v44/constructors/inputChannel.md +++ b/old_docs/API_docs_v44/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputChannelEmpty.md b/old_docs/API_docs_v44/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/old_docs/API_docs_v44/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputChatPhoto.md b/old_docs/API_docs_v44/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v44/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v44/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v44/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v44/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v44/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputDocument.md b/old_docs/API_docs_v44/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v44/constructors/inputDocument.md +++ b/old_docs/API_docs_v44/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v44/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v44/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v44/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v44/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputEncryptedChat.md b/old_docs/API_docs_v44/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputEncryptedFile.md b/old_docs/API_docs_v44/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v44/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v44/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v44/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v44/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v44/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v44/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputFile.md b/old_docs/API_docs_v44/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v44/constructors/inputFile.md +++ b/old_docs/API_docs_v44/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputFileBig.md b/old_docs/API_docs_v44/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v44/constructors/inputFileBig.md +++ b/old_docs/API_docs_v44/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputFileLocation.md b/old_docs/API_docs_v44/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v44/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputGeoPoint.md b/old_docs/API_docs_v44/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v44/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v44/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v44/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v44/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaAudio.md b/old_docs/API_docs_v44/constructors/inputMediaAudio.md index 6f477b8b..0c83afd5 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v44/constructors/inputMediaAudio.md @@ -24,6 +24,13 @@ description: inputMediaAudio attributes, type and example $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaAudio","id":"InputAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaContact.md b/old_docs/API_docs_v44/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v44/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaDocument.md b/old_docs/API_docs_v44/constructors/inputMediaDocument.md index 2aa74093..231c733f 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v44/constructors/inputMediaDocument.md @@ -24,6 +24,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaEmpty.md b/old_docs/API_docs_v44/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v44/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v44/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v44/constructors/inputMediaGifExternal.md index af227d69..284e3cdd 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v44/constructors/inputMediaGifExternal.md @@ -25,6 +25,13 @@ description: inputMediaGifExternal attributes, type and example $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGifExternal","url":"string","q":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaPhoto.md b/old_docs/API_docs_v44/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v44/constructors/inputMediaUploadedAudio.md index ad427e4f..e3298757 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedAudio.md @@ -26,6 +26,13 @@ description: inputMediaUploadedAudio attributes, type and example $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v44/constructors/inputMediaUploadedDocument.md index 7afb9494..d36bed64 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedDocument.md @@ -26,6 +26,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v44/constructors/inputMediaUploadedPhoto.md index 0c4c9135..923fd903 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbDocument.md index 6711d93a..843b4415 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbVideo.md index ccb3076b..5042784d 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedThumbVideo.md @@ -30,6 +30,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v44/constructors/inputMediaUploadedVideo.md index a6750886..0009243e 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMediaUploadedVideo.md @@ -29,6 +29,13 @@ description: inputMediaUploadedVideo attributes, type and example $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaVenue.md b/old_docs/API_docs_v44/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v44/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMediaVideo.md b/old_docs/API_docs_v44/constructors/inputMediaVideo.md index 7539e85c..8626bf3d 100644 --- a/old_docs/API_docs_v44/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMediaVideo.md @@ -25,6 +25,13 @@ description: inputMediaVideo attributes, type and example $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterAudio.md index c326c700..2c8e29fe 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterAudio.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudio attributes, type and example $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md index 9d6d7b67..8b876e5e 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudioDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v44/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v44/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v44/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputNotifyAll.md b/old_docs/API_docs_v44/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v44/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v44/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputNotifyChats.md b/old_docs/API_docs_v44/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v44/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v44/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputNotifyPeer.md b/old_docs/API_docs_v44/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v44/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v44/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputNotifyUsers.md b/old_docs/API_docs_v44/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v44/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v44/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPeerChannel.md b/old_docs/API_docs_v44/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v44/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPeerChat.md b/old_docs/API_docs_v44/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v44/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPeerEmpty.md b/old_docs/API_docs_v44/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v44/constructors/inputPeerNotifySettings.md index d4c26a38..4881d26e 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v44/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPeerSelf.md b/old_docs/API_docs_v44/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v44/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPeerUser.md b/old_docs/API_docs_v44/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v44/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v44/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPhoneContact.md b/old_docs/API_docs_v44/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v44/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v44/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPhoto.md b/old_docs/API_docs_v44/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v44/constructors/inputPhoto.md +++ b/old_docs/API_docs_v44/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPhotoCrop.md b/old_docs/API_docs_v44/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v44/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v44/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v44/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v44/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v44/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v44/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v44/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputReportReasonOther.md b/old_docs/API_docs_v44/constructors/inputReportReasonOther.md index 547711c4..ffd351a0 100644 --- a/old_docs/API_docs_v44/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v44/constructors/inputReportReasonOther.md @@ -24,6 +24,13 @@ description: inputReportReasonOther attributes, type and example $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonOther","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v44/constructors/inputReportReasonPornography.md index f73c6f4d..866d691c 100644 --- a/old_docs/API_docs_v44/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v44/constructors/inputReportReasonPornography.md @@ -19,6 +19,13 @@ description: inputReportReasonPornography attributes, type and example $inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonPornography"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v44/constructors/inputReportReasonSpam.md index ea2a9257..4cf6f414 100644 --- a/old_docs/API_docs_v44/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v44/constructors/inputReportReasonSpam.md @@ -19,6 +19,13 @@ description: inputReportReasonSpam attributes, type and example $inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonSpam"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v44/constructors/inputReportReasonViolence.md index 18a2ba4c..f2046d6e 100644 --- a/old_docs/API_docs_v44/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v44/constructors/inputReportReasonViolence.md @@ -19,6 +19,13 @@ description: inputReportReasonViolence attributes, type and example $inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonViolence"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v44/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v44/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputStickerSetID.md b/old_docs/API_docs_v44/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v44/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v44/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v44/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v44/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v44/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputUser.md b/old_docs/API_docs_v44/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v44/constructors/inputUser.md +++ b/old_docs/API_docs_v44/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputUserEmpty.md b/old_docs/API_docs_v44/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v44/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputUserSelf.md b/old_docs/API_docs_v44/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v44/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v44/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputVideo.md b/old_docs/API_docs_v44/constructors/inputVideo.md index 79d5a034..e6dc5b1f 100644 --- a/old_docs/API_docs_v44/constructors/inputVideo.md +++ b/old_docs/API_docs_v44/constructors/inputVideo.md @@ -25,6 +25,13 @@ description: inputVideo attributes, type and example $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideo","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputVideoEmpty.md b/old_docs/API_docs_v44/constructors/inputVideoEmpty.md index d1f4e1ec..072ace8d 100644 --- a/old_docs/API_docs_v44/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v44/constructors/inputVideoEmpty.md @@ -19,6 +19,13 @@ description: inputVideoEmpty attributes, type and example $inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v44/constructors/inputVideoFileLocation.md index 2ae12a5c..f4c6646e 100644 --- a/old_docs/API_docs_v44/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v44/constructors/inputVideoFileLocation.md @@ -25,6 +25,13 @@ description: inputVideoFileLocation attributes, type and example $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/keyboardButton.md b/old_docs/API_docs_v44/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v44/constructors/keyboardButton.md +++ b/old_docs/API_docs_v44/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/keyboardButtonRow.md b/old_docs/API_docs_v44/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v44/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v44/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/message.md b/old_docs/API_docs_v44/constructors/message.md index 62a63782..f79f8de6 100644 --- a/old_docs/API_docs_v44/constructors/message.md +++ b/old_docs/API_docs_v44/constructors/message.md @@ -39,6 +39,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"],"views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v44/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v44/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v44/constructors/messageActionChannelMigrateFrom.md index d15c0bf3..b63de131 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v44/constructors/messageActionChannelMigrateFrom.md @@ -25,6 +25,13 @@ description: messageActionChannelMigrateFrom attributes, type and example $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v44/constructors/messageActionChatAddUser.md index 135e16de..5edc7d3b 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageActionChatCreate.md b/old_docs/API_docs_v44/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v44/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v44/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v44/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v44/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v44/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v44/constructors/messageActionChatMigrateTo.md index fda20a24..7214d295 100644 --- a/old_docs/API_docs_v44/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v44/constructors/messageActionChatMigrateTo.md @@ -24,6 +24,13 @@ description: messageActionChatMigrateTo attributes, type and example $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageActionEmpty.md b/old_docs/API_docs_v44/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v44/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v44/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageEmpty.md b/old_docs/API_docs_v44/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v44/constructors/messageEmpty.md +++ b/old_docs/API_docs_v44/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageEntityBold.md b/old_docs/API_docs_v44/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v44/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v44/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v44/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageEntityCode.md b/old_docs/API_docs_v44/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v44/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageEntityEmail.md b/old_docs/API_docs_v44/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v44/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageEntityHashtag.md b/old_docs/API_docs_v44/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v44/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageEntityItalic.md b/old_docs/API_docs_v44/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v44/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageEntityMention.md b/old_docs/API_docs_v44/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v44/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageEntityPre.md b/old_docs/API_docs_v44/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v44/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v44/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v44/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageEntityUnknown.md b/old_docs/API_docs_v44/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v44/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageEntityUrl.md b/old_docs/API_docs_v44/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v44/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v44/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageGroup.md b/old_docs/API_docs_v44/constructors/messageGroup.md index 5e3992c0..ddbc0e37 100644 --- a/old_docs/API_docs_v44/constructors/messageGroup.md +++ b/old_docs/API_docs_v44/constructors/messageGroup.md @@ -27,6 +27,13 @@ description: messageGroup attributes, type and example $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageMediaAudio.md b/old_docs/API_docs_v44/constructors/messageMediaAudio.md index 0bc53b5e..24ca7823 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v44/constructors/messageMediaAudio.md @@ -24,6 +24,13 @@ description: messageMediaAudio attributes, type and example $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaAudio","audio":"Audio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageMediaContact.md b/old_docs/API_docs_v44/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v44/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageMediaDocument.md b/old_docs/API_docs_v44/constructors/messageMediaDocument.md index 3d50d4ab..ec51032e 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v44/constructors/messageMediaDocument.md @@ -24,6 +24,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageMediaEmpty.md b/old_docs/API_docs_v44/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v44/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageMediaGeo.md b/old_docs/API_docs_v44/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v44/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageMediaPhoto.md b/old_docs/API_docs_v44/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v44/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v44/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v44/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageMediaVenue.md b/old_docs/API_docs_v44/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v44/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageMediaVideo.md b/old_docs/API_docs_v44/constructors/messageMediaVideo.md index 42a6ac76..8e72030c 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v44/constructors/messageMediaVideo.md @@ -25,6 +25,13 @@ description: messageMediaVideo attributes, type and example $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVideo","video":"Video","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageMediaWebPage.md b/old_docs/API_docs_v44/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v44/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v44/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageRange.md b/old_docs/API_docs_v44/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v44/constructors/messageRange.md +++ b/old_docs/API_docs_v44/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messageService.md b/old_docs/API_docs_v44/constructors/messageService.md index 6c59e839..f44b4869 100644 --- a/old_docs/API_docs_v44/constructors/messageService.md +++ b/old_docs/API_docs_v44/constructors/messageService.md @@ -32,6 +32,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_affectedHistory.md b/old_docs/API_docs_v44/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v44/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v44/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_affectedMessages.md b/old_docs/API_docs_v44/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v44/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v44/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_allStickers.md b/old_docs/API_docs_v44/constructors/messages_allStickers.md index 7a5fe6af..a16f30e8 100644 --- a/old_docs/API_docs_v44/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v44/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v44/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_channelMessages.md b/old_docs/API_docs_v44/constructors/messages_channelMessages.md index 94236376..d9264977 100644 --- a/old_docs/API_docs_v44/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v44/constructors/messages_channelMessages.md @@ -29,6 +29,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_chatFull.md b/old_docs/API_docs_v44/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v44/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v44/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_chats.md b/old_docs/API_docs_v44/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v44/constructors/messages_chats.md +++ b/old_docs/API_docs_v44/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_dhConfig.md b/old_docs/API_docs_v44/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v44/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v44/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v44/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_dialogs.md b/old_docs/API_docs_v44/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v44/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v44/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v44/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v44/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v44/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_foundGifs.md b/old_docs/API_docs_v44/constructors/messages_foundGifs.md index 5db1a1db..7cf2eaac 100644 --- a/old_docs/API_docs_v44/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v44/constructors/messages_foundGifs.md @@ -25,6 +25,13 @@ description: messages_foundGifs attributes, type and example $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_messages.md b/old_docs/API_docs_v44/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v44/constructors/messages_messages.md +++ b/old_docs/API_docs_v44/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_messagesSlice.md b/old_docs/API_docs_v44/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v44/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v44/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v44/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v44/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_stickerSet.md b/old_docs/API_docs_v44/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v44/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v44/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_stickers.md b/old_docs/API_docs_v44/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v44/constructors/messages_stickers.md +++ b/old_docs/API_docs_v44/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v44/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v44/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v44/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/nearestDc.md b/old_docs/API_docs_v44/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v44/constructors/nearestDc.md +++ b/old_docs/API_docs_v44/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/notifyAll.md b/old_docs/API_docs_v44/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v44/constructors/notifyAll.md +++ b/old_docs/API_docs_v44/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/notifyChats.md b/old_docs/API_docs_v44/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v44/constructors/notifyChats.md +++ b/old_docs/API_docs_v44/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/notifyPeer.md b/old_docs/API_docs_v44/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v44/constructors/notifyPeer.md +++ b/old_docs/API_docs_v44/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/notifyUsers.md b/old_docs/API_docs_v44/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v44/constructors/notifyUsers.md +++ b/old_docs/API_docs_v44/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/peerChannel.md b/old_docs/API_docs_v44/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v44/constructors/peerChannel.md +++ b/old_docs/API_docs_v44/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/peerChat.md b/old_docs/API_docs_v44/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v44/constructors/peerChat.md +++ b/old_docs/API_docs_v44/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v44/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v44/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v44/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v44/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v44/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v44/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/peerNotifySettings.md b/old_docs/API_docs_v44/constructors/peerNotifySettings.md index f6dc6c35..d0659143 100644 --- a/old_docs/API_docs_v44/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v44/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v44/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v44/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v44/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/peerUser.md b/old_docs/API_docs_v44/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v44/constructors/peerUser.md +++ b/old_docs/API_docs_v44/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/photo.md b/old_docs/API_docs_v44/constructors/photo.md index f9c9582a..2aaa4efd 100644 --- a/old_docs/API_docs_v44/constructors/photo.md +++ b/old_docs/API_docs_v44/constructors/photo.md @@ -27,6 +27,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/photoCachedSize.md b/old_docs/API_docs_v44/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v44/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v44/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/photoEmpty.md b/old_docs/API_docs_v44/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v44/constructors/photoEmpty.md +++ b/old_docs/API_docs_v44/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/photoSize.md b/old_docs/API_docs_v44/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v44/constructors/photoSize.md +++ b/old_docs/API_docs_v44/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/photoSizeEmpty.md b/old_docs/API_docs_v44/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v44/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v44/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/photos_photo.md b/old_docs/API_docs_v44/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v44/constructors/photos_photo.md +++ b/old_docs/API_docs_v44/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/photos_photos.md b/old_docs/API_docs_v44/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v44/constructors/photos_photos.md +++ b/old_docs/API_docs_v44/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/photos_photosSlice.md b/old_docs/API_docs_v44/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v44/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v44/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v44/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v44/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v44/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v44/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v44/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v44/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v44/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v44/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v44/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v44/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v44/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v44/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v44/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v44/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v44/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v44/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v44/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v44/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v44/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md index 4f319506..02a0779a 100644 --- a/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md @@ -25,6 +25,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/replyKeyboardHide.md b/old_docs/API_docs_v44/constructors/replyKeyboardHide.md index 56faa8dd..8b210933 100644 --- a/old_docs/API_docs_v44/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v44/constructors/replyKeyboardHide.md @@ -24,6 +24,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md index 3cebc41f..4269aeb9 100644 --- a/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md @@ -27,6 +27,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v44/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v44/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v44/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v44/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v44/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v44/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v44/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v44/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v44/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v44/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v44/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v44/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/stickerPack.md b/old_docs/API_docs_v44/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v44/constructors/stickerPack.md +++ b/old_docs/API_docs_v44/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/stickerSet.md b/old_docs/API_docs_v44/constructors/stickerSet.md index bed0beeb..2c2aa5aa 100644 --- a/old_docs/API_docs_v44/constructors/stickerSet.md +++ b/old_docs/API_docs_v44/constructors/stickerSet.md @@ -32,6 +32,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/storage_fileGif.md b/old_docs/API_docs_v44/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v44/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/storage_fileJpeg.md b/old_docs/API_docs_v44/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v44/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/storage_fileMov.md b/old_docs/API_docs_v44/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v44/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/storage_fileMp3.md b/old_docs/API_docs_v44/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v44/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/storage_fileMp4.md b/old_docs/API_docs_v44/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v44/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/storage_filePartial.md b/old_docs/API_docs_v44/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v44/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v44/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/storage_filePdf.md b/old_docs/API_docs_v44/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v44/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v44/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/storage_filePng.md b/old_docs/API_docs_v44/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v44/constructors/storage_filePng.md +++ b/old_docs/API_docs_v44/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/storage_fileUnknown.md b/old_docs/API_docs_v44/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v44/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/storage_fileWebp.md b/old_docs/API_docs_v44/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v44/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v44/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/true.md b/old_docs/API_docs_v44/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v44/constructors/true.md +++ b/old_docs/API_docs_v44/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateChannel.md b/old_docs/API_docs_v44/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/old_docs/API_docs_v44/constructors/updateChannel.md +++ b/old_docs/API_docs_v44/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateChannelGroup.md b/old_docs/API_docs_v44/constructors/updateChannelGroup.md index 6ffad0dd..59290243 100644 --- a/old_docs/API_docs_v44/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v44/constructors/updateChannelGroup.md @@ -25,6 +25,13 @@ description: updateChannelGroup attributes, type and example $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v44/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/old_docs/API_docs_v44/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v44/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateChannelTooLong.md b/old_docs/API_docs_v44/constructors/updateChannelTooLong.md index 632fd0a0..621e7774 100644 --- a/old_docs/API_docs_v44/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v44/constructors/updateChannelTooLong.md @@ -24,6 +24,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateChatAdmins.md b/old_docs/API_docs_v44/constructors/updateChatAdmins.md index 36fb3614..bf391961 100644 --- a/old_docs/API_docs_v44/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v44/constructors/updateChatAdmins.md @@ -26,6 +26,13 @@ description: updateChatAdmins attributes, type and example $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v44/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/old_docs/API_docs_v44/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v44/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v44/constructors/updateChatParticipantAdmin.md index fbb2cdae..ba5bbc95 100644 --- a/old_docs/API_docs_v44/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v44/constructors/updateChatParticipantAdmin.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdmin attributes, type and example $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v44/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v44/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v44/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateChatParticipants.md b/old_docs/API_docs_v44/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v44/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v44/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateChatUserTyping.md b/old_docs/API_docs_v44/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v44/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v44/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateContactLink.md b/old_docs/API_docs_v44/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v44/constructors/updateContactLink.md +++ b/old_docs/API_docs_v44/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateContactRegistered.md b/old_docs/API_docs_v44/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v44/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v44/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateDcOptions.md b/old_docs/API_docs_v44/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v44/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v44/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v44/constructors/updateDeleteChannelMessages.md index 6f8c20d5..a078a880 100644 --- a/old_docs/API_docs_v44/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v44/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateDeleteMessages.md b/old_docs/API_docs_v44/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v44/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v44/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v44/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v44/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v44/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v44/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v44/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v44/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateEncryption.md b/old_docs/API_docs_v44/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v44/constructors/updateEncryption.md +++ b/old_docs/API_docs_v44/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateMessageID.md b/old_docs/API_docs_v44/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v44/constructors/updateMessageID.md +++ b/old_docs/API_docs_v44/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateNewAuthorization.md b/old_docs/API_docs_v44/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v44/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v44/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v44/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/old_docs/API_docs_v44/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v44/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v44/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v44/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v44/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateNewMessage.md b/old_docs/API_docs_v44/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v44/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v44/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateNewStickerSet.md b/old_docs/API_docs_v44/constructors/updateNewStickerSet.md index ccb4f17f..919c3ad8 100644 --- a/old_docs/API_docs_v44/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v44/constructors/updateNewStickerSet.md @@ -24,6 +24,13 @@ description: updateNewStickerSet attributes, type and example $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateNotifySettings.md b/old_docs/API_docs_v44/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v44/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v44/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updatePrivacy.md b/old_docs/API_docs_v44/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v44/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v44/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v44/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/old_docs/API_docs_v44/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v44/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v44/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v44/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v44/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v44/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v44/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v44/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v44/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v44/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v44/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateServiceNotification.md b/old_docs/API_docs_v44/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v44/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v44/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateShort.md b/old_docs/API_docs_v44/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v44/constructors/updateShort.md +++ b/old_docs/API_docs_v44/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateShortChatMessage.md b/old_docs/API_docs_v44/constructors/updateShortChatMessage.md index ce5d7d88..a5cc5fce 100644 --- a/old_docs/API_docs_v44/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v44/constructors/updateShortChatMessage.md @@ -38,6 +38,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateShortMessage.md b/old_docs/API_docs_v44/constructors/updateShortMessage.md index b3220138..076ffac8 100644 --- a/old_docs/API_docs_v44/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v44/constructors/updateShortMessage.md @@ -37,6 +37,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateShortSentMessage.md b/old_docs/API_docs_v44/constructors/updateShortSentMessage.md index cf123f7b..5005d3a2 100644 --- a/old_docs/API_docs_v44/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v44/constructors/updateShortSentMessage.md @@ -31,6 +31,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","unread":"Bool","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateStickerSets.md b/old_docs/API_docs_v44/constructors/updateStickerSets.md index 0affa36f..69c53b51 100644 --- a/old_docs/API_docs_v44/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v44/constructors/updateStickerSets.md @@ -19,6 +19,13 @@ description: updateStickerSets attributes, type and example $updateStickerSets = ['_' => 'updateStickerSets', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSets"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v44/constructors/updateStickerSetsOrder.md index ee954112..950fdb48 100644 --- a/old_docs/API_docs_v44/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v44/constructors/updateStickerSetsOrder.md @@ -24,6 +24,13 @@ description: updateStickerSetsOrder attributes, type and example $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSetsOrder","order":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateUserBlocked.md b/old_docs/API_docs_v44/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v44/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v44/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateUserName.md b/old_docs/API_docs_v44/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v44/constructors/updateUserName.md +++ b/old_docs/API_docs_v44/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateUserPhone.md b/old_docs/API_docs_v44/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v44/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v44/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateUserPhoto.md b/old_docs/API_docs_v44/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v44/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v44/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateUserStatus.md b/old_docs/API_docs_v44/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v44/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v44/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateUserTyping.md b/old_docs/API_docs_v44/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v44/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v44/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updateWebPage.md b/old_docs/API_docs_v44/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/old_docs/API_docs_v44/constructors/updateWebPage.md +++ b/old_docs/API_docs_v44/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updates.md b/old_docs/API_docs_v44/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v44/constructors/updates.md +++ b/old_docs/API_docs_v44/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updatesCombined.md b/old_docs/API_docs_v44/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v44/constructors/updatesCombined.md +++ b/old_docs/API_docs_v44/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updatesTooLong.md b/old_docs/API_docs_v44/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v44/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v44/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updates_channelDifference.md b/old_docs/API_docs_v44/constructors/updates_channelDifference.md index c64c69b6..876e8d13 100644 --- a/old_docs/API_docs_v44/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v44/constructors/updates_channelDifference.md @@ -30,6 +30,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md index 6e4d7bde..c596d24a 100644 --- a/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md @@ -26,6 +26,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md index ca05cf53..4302d54b 100644 --- a/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md @@ -34,6 +34,13 @@ description: updates_channelDifferenceTooLong attributes, type and example $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceTooLong","final":"Bool","pts":"int","timeout":"int","top_message":"int","top_important_message":"int","read_inbox_max_id":"int","unread_count":"int","unread_important_count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updates_difference.md b/old_docs/API_docs_v44/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v44/constructors/updates_difference.md +++ b/old_docs/API_docs_v44/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v44/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v44/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v44/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updates_differenceSlice.md b/old_docs/API_docs_v44/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v44/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v44/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/updates_state.md b/old_docs/API_docs_v44/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v44/constructors/updates_state.md +++ b/old_docs/API_docs_v44/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/upload_file.md b/old_docs/API_docs_v44/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v44/constructors/upload_file.md +++ b/old_docs/API_docs_v44/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/user.md b/old_docs/API_docs_v44/constructors/user.md index 39c781e8..cb179e83 100644 --- a/old_docs/API_docs_v44/constructors/user.md +++ b/old_docs/API_docs_v44/constructors/user.md @@ -42,6 +42,13 @@ description: user attributes, type and example $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, '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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","self":"Bool","contact":"Bool","mutual_contact":"Bool","deleted":"Bool","bot":"Bool","bot_chat_history":"Bool","bot_nochats":"Bool","verified":"Bool","restricted":"Bool","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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/userEmpty.md b/old_docs/API_docs_v44/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v44/constructors/userEmpty.md +++ b/old_docs/API_docs_v44/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/userFull.md b/old_docs/API_docs_v44/constructors/userFull.md index eec3fa8c..2e6da813 100644 --- a/old_docs/API_docs_v44/constructors/userFull.md +++ b/old_docs/API_docs_v44/constructors/userFull.md @@ -29,6 +29,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/userProfilePhoto.md b/old_docs/API_docs_v44/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v44/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v44/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v44/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v44/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v44/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/userStatusEmpty.md b/old_docs/API_docs_v44/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v44/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v44/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/userStatusLastMonth.md b/old_docs/API_docs_v44/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v44/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v44/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/userStatusLastWeek.md b/old_docs/API_docs_v44/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v44/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v44/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/userStatusOffline.md b/old_docs/API_docs_v44/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v44/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v44/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/userStatusOnline.md b/old_docs/API_docs_v44/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v44/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v44/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/userStatusRecently.md b/old_docs/API_docs_v44/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v44/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v44/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/vector.md b/old_docs/API_docs_v44/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v44/constructors/vector.md +++ b/old_docs/API_docs_v44/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/video.md b/old_docs/API_docs_v44/constructors/video.md index 7c15f909..d1e2e49e 100644 --- a/old_docs/API_docs_v44/constructors/video.md +++ b/old_docs/API_docs_v44/constructors/video.md @@ -33,6 +33,13 @@ description: video attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/videoEmpty.md b/old_docs/API_docs_v44/constructors/videoEmpty.md index 74b18d58..d5d10973 100644 --- a/old_docs/API_docs_v44/constructors/videoEmpty.md +++ b/old_docs/API_docs_v44/constructors/videoEmpty.md @@ -24,6 +24,13 @@ description: videoEmpty attributes, type and example $videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"videoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/wallPaper.md b/old_docs/API_docs_v44/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v44/constructors/wallPaper.md +++ b/old_docs/API_docs_v44/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/wallPaperSolid.md b/old_docs/API_docs_v44/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v44/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v44/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/webPage.md b/old_docs/API_docs_v44/constructors/webPage.md index 7c0a432f..b4dd86ee 100644 --- a/old_docs/API_docs_v44/constructors/webPage.md +++ b/old_docs/API_docs_v44/constructors/webPage.md @@ -38,6 +38,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/webPageEmpty.md b/old_docs/API_docs_v44/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v44/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v44/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/webPageExternal.md b/old_docs/API_docs_v44/constructors/webPageExternal.md index a01a1c79..f7c3d7d8 100644 --- a/old_docs/API_docs_v44/constructors/webPageExternal.md +++ b/old_docs/API_docs_v44/constructors/webPageExternal.md @@ -33,6 +33,13 @@ description: webPageExternal attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageExternal","url":"string","display_url":"string","type":"string","title":"string","description":"string","thumb_url":"string","content_url":"string","w":"int","h":"int","duration":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/constructors/webPagePending.md b/old_docs/API_docs_v44/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v44/constructors/webPagePending.md +++ b/old_docs/API_docs_v44/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/account_changePhone.md b/old_docs/API_docs_v44/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v44/methods/account_changePhone.md +++ b/old_docs/API_docs_v44/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_checkUsername.md b/old_docs/API_docs_v44/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v44/methods/account_checkUsername.md +++ b/old_docs/API_docs_v44/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_deleteAccount.md b/old_docs/API_docs_v44/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v44/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v44/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_getAccountTTL.md b/old_docs/API_docs_v44/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v44/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v44/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/account_getAuthorizations.md b/old_docs/API_docs_v44/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v44/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v44/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/account_getNotifySettings.md b/old_docs/API_docs_v44/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v44/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_getPassword.md b/old_docs/API_docs_v44/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v44/methods/account_getPassword.md +++ b/old_docs/API_docs_v44/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/account_getPasswordSettings.md b/old_docs/API_docs_v44/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v44/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v44/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_getPrivacy.md b/old_docs/API_docs_v44/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v44/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v44/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_getWallPapers.md b/old_docs/API_docs_v44/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v44/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v44/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/account_registerDevice.md b/old_docs/API_docs_v44/methods/account_registerDevice.md index 746ac76d..c786c6a8 100644 --- a/old_docs/API_docs_v44/methods/account_registerDevice.md +++ b/old_docs/API_docs_v44/methods/account_registerDevice.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +app_sandbox - Json encoded Bool +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_reportPeer.md b/old_docs/API_docs_v44/methods/account_reportPeer.md index 019e88a5..08c8d0d5 100644 --- a/old_docs/API_docs_v44/methods/account_reportPeer.md +++ b/old_docs/API_docs_v44/methods/account_reportPeer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.reportPeer +* params - {"peer":"InputPeer","reason":"ReportReason"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.reportPeer` + +Parameters: + +peer - Json encoded InputPeer +reason - Json encoded ReportReason + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_resetAuthorization.md b/old_docs/API_docs_v44/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v44/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v44/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_resetNotifySettings.md b/old_docs/API_docs_v44/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v44/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md index 002dc1ab..605bcaa3 100644 --- a/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v44/methods/account_sendChangePhoneCode.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_setAccountTTL.md b/old_docs/API_docs_v44/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v44/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v44/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_setPrivacy.md b/old_docs/API_docs_v44/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v44/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v44/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_unregisterDevice.md b/old_docs/API_docs_v44/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v44/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v44/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v44/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_updateNotifySettings.md b/old_docs/API_docs_v44/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v44/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v44/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v44/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_updateProfile.md b/old_docs/API_docs_v44/methods/account_updateProfile.md index 6e8891d0..bf1c3b8f 100644 --- a/old_docs/API_docs_v44/methods/account_updateProfile.md +++ b/old_docs/API_docs_v44/methods/account_updateProfile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_updateStatus.md b/old_docs/API_docs_v44/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v44/methods/account_updateStatus.md +++ b/old_docs/API_docs_v44/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/account_updateUsername.md b/old_docs/API_docs_v44/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v44/methods/account_updateUsername.md +++ b/old_docs/API_docs_v44/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v44/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/auth_checkPassword.md b/old_docs/API_docs_v44/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v44/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v44/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/auth_checkPhone.md b/old_docs/API_docs_v44/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v44/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v44/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/auth_exportAuthorization.md b/old_docs/API_docs_v44/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v44/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/auth_importAuthorization.md b/old_docs/API_docs_v44/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v44/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v44/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/auth_logOut.md b/old_docs/API_docs_v44/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v44/methods/auth_logOut.md +++ b/old_docs/API_docs_v44/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/auth_recoverPassword.md b/old_docs/API_docs_v44/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v44/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v44/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v44/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v44/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/auth_sendCall.md b/old_docs/API_docs_v44/methods/auth_sendCall.md index 9e50a03d..08b4d1d4 100644 --- a/old_docs/API_docs_v44/methods/auth_sendCall.md +++ b/old_docs/API_docs_v44/methods/auth_sendCall.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCall +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCall` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/auth_sendCode.md b/old_docs/API_docs_v44/methods/auth_sendCode.md index 6896bc05..a9009e4b 100644 --- a/old_docs/API_docs_v44/methods/auth_sendCode.md +++ b/old_docs/API_docs_v44/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +phone_number - Json encoded string +sms_type - Json encoded int +api_id - Json encoded int +api_hash - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/auth_sendInvites.md b/old_docs/API_docs_v44/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v44/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v44/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/auth_sendSms.md b/old_docs/API_docs_v44/methods/auth_sendSms.md index 3653ccdd..5e62431c 100644 --- a/old_docs/API_docs_v44/methods/auth_sendSms.md +++ b/old_docs/API_docs_v44/methods/auth_sendSms.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendSms +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendSms` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/auth_signIn.md b/old_docs/API_docs_v44/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v44/methods/auth_signIn.md +++ b/old_docs/API_docs_v44/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/auth_signUp.md b/old_docs/API_docs_v44/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v44/methods/auth_signUp.md +++ b/old_docs/API_docs_v44/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_checkUsername.md b/old_docs/API_docs_v44/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/old_docs/API_docs_v44/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v44/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_createChannel.md b/old_docs/API_docs_v44/methods/channels_createChannel.md index a4819767..853ca900 100644 --- a/old_docs/API_docs_v44/methods/channels_createChannel.md +++ b/old_docs/API_docs_v44/methods/channels_createChannel.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +broadcast - Json encoded Bool +megagroup - Json encoded Bool +title - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_deleteChannel.md b/old_docs/API_docs_v44/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v44/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_deleteMessages.md b/old_docs/API_docs_v44/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v44/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v44/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_editAbout.md b/old_docs/API_docs_v44/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/old_docs/API_docs_v44/methods/channels_editAbout.md +++ b/old_docs/API_docs_v44/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_editAdmin.md b/old_docs/API_docs_v44/methods/channels_editAdmin.md index 4596e082..729d5e28 100644 --- a/old_docs/API_docs_v44/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v44/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +role - Json encoded ChannelParticipantRole + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_editPhoto.md b/old_docs/API_docs_v44/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/old_docs/API_docs_v44/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v44/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_editTitle.md b/old_docs/API_docs_v44/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/old_docs/API_docs_v44/methods/channels_editTitle.md +++ b/old_docs/API_docs_v44/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_exportInvite.md b/old_docs/API_docs_v44/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/old_docs/API_docs_v44/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v44/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_getChannels.md b/old_docs/API_docs_v44/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/old_docs/API_docs_v44/methods/channels_getChannels.md +++ b/old_docs/API_docs_v44/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_getDialogs.md b/old_docs/API_docs_v44/methods/channels_getDialogs.md index 601510e1..b20fb17c 100644 --- a/old_docs/API_docs_v44/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v44/methods/channels_getDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getDialogs +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getDialogs` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_getFullChannel.md b/old_docs/API_docs_v44/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/old_docs/API_docs_v44/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v44/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_getImportantHistory.md b/old_docs/API_docs_v44/methods/channels_getImportantHistory.md index 2b5f5632..348621e1 100644 --- a/old_docs/API_docs_v44/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v44/methods/channels_getImportantHistory.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getImportantHistory +* params - {"channel":"InputChannel","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getImportantHistory` + +Parameters: + +channel - Json encoded InputChannel +offset_id - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_getMessages.md b/old_docs/API_docs_v44/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/old_docs/API_docs_v44/methods/channels_getMessages.md +++ b/old_docs/API_docs_v44/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_getParticipant.md b/old_docs/API_docs_v44/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_getParticipants.md b/old_docs/API_docs_v44/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/old_docs/API_docs_v44/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v44/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_inviteToChannel.md b/old_docs/API_docs_v44/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/old_docs/API_docs_v44/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v44/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_joinChannel.md b/old_docs/API_docs_v44/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/old_docs/API_docs_v44/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v44/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_kickFromChannel.md b/old_docs/API_docs_v44/methods/channels_kickFromChannel.md index 1dc6b4b7..5e91bc24 100644 --- a/old_docs/API_docs_v44/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v44/methods/channels_kickFromChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.kickFromChannel +* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.kickFromChannel` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +kicked - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_leaveChannel.md b/old_docs/API_docs_v44/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/old_docs/API_docs_v44/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v44/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_readHistory.md b/old_docs/API_docs_v44/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/old_docs/API_docs_v44/methods/channels_readHistory.md +++ b/old_docs/API_docs_v44/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_reportSpam.md b/old_docs/API_docs_v44/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/old_docs/API_docs_v44/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v44/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_toggleComments.md b/old_docs/API_docs_v44/methods/channels_toggleComments.md index 930df0e2..e3b45398 100644 --- a/old_docs/API_docs_v44/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v44/methods/channels_toggleComments.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleComments +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleComments` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/channels_updateUsername.md b/old_docs/API_docs_v44/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/old_docs/API_docs_v44/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v44/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/contacts_block.md b/old_docs/API_docs_v44/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v44/methods/contacts_block.md +++ b/old_docs/API_docs_v44/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/contacts_deleteContact.md b/old_docs/API_docs_v44/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v44/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v44/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/contacts_deleteContacts.md b/old_docs/API_docs_v44/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v44/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/contacts_exportCard.md b/old_docs/API_docs_v44/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v44/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v44/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/contacts_getBlocked.md b/old_docs/API_docs_v44/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v44/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v44/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/contacts_getContacts.md b/old_docs/API_docs_v44/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v44/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/contacts_getStatuses.md b/old_docs/API_docs_v44/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v44/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v44/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/contacts_getSuggested.md b/old_docs/API_docs_v44/methods/contacts_getSuggested.md index 1c9a532d..66e4c1b3 100644 --- a/old_docs/API_docs_v44/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v44/methods/contacts_getSuggested.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getSuggested +* params - {"limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getSuggested` + +Parameters: + +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/contacts_importCard.md b/old_docs/API_docs_v44/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v44/methods/contacts_importCard.md +++ b/old_docs/API_docs_v44/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/contacts_importContacts.md b/old_docs/API_docs_v44/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v44/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v44/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/contacts_resolveUsername.md b/old_docs/API_docs_v44/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/old_docs/API_docs_v44/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v44/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/contacts_search.md b/old_docs/API_docs_v44/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v44/methods/contacts_search.md +++ b/old_docs/API_docs_v44/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/contacts_unblock.md b/old_docs/API_docs_v44/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v44/methods/contacts_unblock.md +++ b/old_docs/API_docs_v44/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/help_getAppChangelog.md b/old_docs/API_docs_v44/methods/help_getAppChangelog.md index 337c12be..b93c56db 100644 --- a/old_docs/API_docs_v44/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v44/methods/help_getAppChangelog.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/help_getAppUpdate.md b/old_docs/API_docs_v44/methods/help_getAppUpdate.md index b52e83e8..58430792 100644 --- a/old_docs/API_docs_v44/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v44/methods/help_getAppUpdate.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/help_getConfig.md b/old_docs/API_docs_v44/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v44/methods/help_getConfig.md +++ b/old_docs/API_docs_v44/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/help_getInviteText.md b/old_docs/API_docs_v44/methods/help_getInviteText.md index 2d9c4653..ec75a17f 100644 --- a/old_docs/API_docs_v44/methods/help_getInviteText.md +++ b/old_docs/API_docs_v44/methods/help_getInviteText.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/help_getNearestDc.md b/old_docs/API_docs_v44/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v44/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v44/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/help_getSupport.md b/old_docs/API_docs_v44/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v44/methods/help_getSupport.md +++ b/old_docs/API_docs_v44/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/help_getTermsOfService.md b/old_docs/API_docs_v44/methods/help_getTermsOfService.md index 41d8b978..c6bfce8a 100644 --- a/old_docs/API_docs_v44/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v44/methods/help_getTermsOfService.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getTermsOfService +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getTermsOfService` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/help_saveAppLog.md b/old_docs/API_docs_v44/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v44/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v44/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/initConnection.md b/old_docs/API_docs_v44/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v44/methods/initConnection.md +++ b/old_docs/API_docs_v44/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/invokeAfterMsg.md b/old_docs/API_docs_v44/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v44/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v44/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/invokeAfterMsgs.md b/old_docs/API_docs_v44/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v44/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v44/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/invokeWithLayer.md b/old_docs/API_docs_v44/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v44/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v44/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v44/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_acceptEncryption.md b/old_docs/API_docs_v44/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v44/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v44/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_addChatUser.md b/old_docs/API_docs_v44/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v44/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v44/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_checkChatInvite.md b/old_docs/API_docs_v44/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v44/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_createChat.md b/old_docs/API_docs_v44/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v44/methods/messages_createChat.md +++ b/old_docs/API_docs_v44/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_deleteChatUser.md b/old_docs/API_docs_v44/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v44/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_deleteHistory.md b/old_docs/API_docs_v44/methods/messages_deleteHistory.md index f37e5d08..e5f132c6 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v44/methods/messages_deleteHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_deleteMessages.md b/old_docs/API_docs_v44/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v44/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v44/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_discardEncryption.md b/old_docs/API_docs_v44/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v44/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v44/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_editChatAdmin.md b/old_docs/API_docs_v44/methods/messages_editChatAdmin.md index 515c2ede..2ad6d72c 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v44/methods/messages_editChatAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatAdmin +* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +is_admin - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_editChatPhoto.md b/old_docs/API_docs_v44/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v44/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_editChatTitle.md b/old_docs/API_docs_v44/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v44/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v44/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_exportChatInvite.md b/old_docs/API_docs_v44/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v44/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_forwardMessage.md b/old_docs/API_docs_v44/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v44/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v44/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_forwardMessages.md b/old_docs/API_docs_v44/methods/messages_forwardMessages.md index 3fbcfee6..812a4214 100644 --- a/old_docs/API_docs_v44/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v44/methods/messages_forwardMessages.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"broadcast":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +broadcast - Json encoded Bool +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_getAllStickers.md b/old_docs/API_docs_v44/methods/messages_getAllStickers.md index bc49bdd6..b2f1eb71 100644 --- a/old_docs/API_docs_v44/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v44/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_getChats.md b/old_docs/API_docs_v44/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v44/methods/messages_getChats.md +++ b/old_docs/API_docs_v44/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_getDhConfig.md b/old_docs/API_docs_v44/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v44/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v44/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_getDialogs.md b/old_docs/API_docs_v44/methods/messages_getDialogs.md index 61fa3149..a0884730 100644 --- a/old_docs/API_docs_v44/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v44/methods/messages_getDialogs.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset_date - Json encoded int +offset_id - Json encoded int +offset_peer - Json encoded InputPeer +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md index 2daac691..ca541c7e 100644 --- a/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v44/methods/messages_getDocumentByHash.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDocumentByHash +* params - {"sha256":"bytes","size":"int","mime_type":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDocumentByHash` + +Parameters: + +sha256 - Json encoded bytes +size - Json encoded int +mime_type - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_getFullChat.md b/old_docs/API_docs_v44/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v44/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v44/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_getHistory.md b/old_docs/API_docs_v44/methods/messages_getHistory.md index f32402a7..b22bd09e 100644 --- a/old_docs/API_docs_v44/methods/messages_getHistory.md +++ b/old_docs/API_docs_v44/methods/messages_getHistory.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_getMessages.md b/old_docs/API_docs_v44/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v44/methods/messages_getMessages.md +++ b/old_docs/API_docs_v44/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_getMessagesViews.md b/old_docs/API_docs_v44/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/old_docs/API_docs_v44/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v44/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_getStickerSet.md b/old_docs/API_docs_v44/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v44/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_getStickers.md b/old_docs/API_docs_v44/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v44/methods/messages_getStickers.md +++ b/old_docs/API_docs_v44/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v44/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_importChatInvite.md b/old_docs/API_docs_v44/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v44/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v44/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_installStickerSet.md b/old_docs/API_docs_v44/methods/messages_installStickerSet.md index a3c12183..637005f3 100644 --- a/old_docs/API_docs_v44/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","disabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +disabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_migrateChat.md b/old_docs/API_docs_v44/methods/messages_migrateChat.md index eaa988a7..1d8e1ca5 100644 --- a/old_docs/API_docs_v44/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v44/methods/messages_migrateChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.migrateChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.migrateChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v44/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_readHistory.md b/old_docs/API_docs_v44/methods/messages_readHistory.md index c5ddb451..99ce0e57 100644 --- a/old_docs/API_docs_v44/methods/messages_readHistory.md +++ b/old_docs/API_docs_v44/methods/messages_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_readMessageContents.md b/old_docs/API_docs_v44/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v44/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v44/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_receivedMessages.md b/old_docs/API_docs_v44/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v44/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v44/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_receivedQueue.md b/old_docs/API_docs_v44/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v44/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v44/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md index eda07dd9..3187ba89 100644 --- a/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v44/methods/messages_reorderStickerSets.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderStickerSets +* params - {"order":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderStickerSets` + +Parameters: + +order - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_reportSpam.md b/old_docs/API_docs_v44/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v44/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v44/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_requestEncryption.md b/old_docs/API_docs_v44/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v44/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v44/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_search.md b/old_docs/API_docs_v44/methods/messages_search.md index 3b082420..bba7fce0 100644 --- a/old_docs/API_docs_v44/methods/messages_search.md +++ b/old_docs/API_docs_v44/methods/messages_search.md @@ -44,6 +44,38 @@ if (isset($number)) { // Login as a user $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, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"important_only":"Bool","peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +important_only - Json encoded Bool +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_searchGifs.md b/old_docs/API_docs_v44/methods/messages_searchGifs.md index ca0934be..24658214 100644 --- a/old_docs/API_docs_v44/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v44/methods/messages_searchGifs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGifs +* params - {"q":"string","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGifs` + +Parameters: + +q - Json encoded string +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_searchGlobal.md b/old_docs/API_docs_v44/methods/messages_searchGlobal.md index 36f09366..0095015c 100644 --- a/old_docs/API_docs_v44/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v44/methods/messages_searchGlobal.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGlobal +* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGlobal` + +Parameters: + +q - Json encoded string +offset_date - Json encoded int +offset_peer - Json encoded InputPeer +offset_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_sendBroadcast.md b/old_docs/API_docs_v44/methods/messages_sendBroadcast.md index d4af6317..81e9c7b8 100644 --- a/old_docs/API_docs_v44/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v44/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_sendEncrypted.md b/old_docs/API_docs_v44/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v44/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_sendMedia.md b/old_docs/API_docs_v44/methods/messages_sendMedia.md index a90c27a3..750419ad 100644 --- a/old_docs/API_docs_v44/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v44/methods/messages_sendMedia.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +broadcast - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_sendMessage.md b/old_docs/API_docs_v44/methods/messages_sendMessage.md index 57d70bd1..cb76f655 100644 --- a/old_docs/API_docs_v44/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v44/methods/messages_sendMessage.md @@ -43,6 +43,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"no_webpage":"Bool","broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v44/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_setTyping.md b/old_docs/API_docs_v44/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v44/methods/messages_setTyping.md +++ b/old_docs/API_docs_v44/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_startBot.md b/old_docs/API_docs_v44/methods/messages_startBot.md index 58aadfab..93229d34 100644 --- a/old_docs/API_docs_v44/methods/messages_startBot.md +++ b/old_docs/API_docs_v44/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md index ec1809f3..2edb160a 100644 --- a/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v44/methods/messages_toggleChatAdmins.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleChatAdmins +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleChatAdmins` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v44/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/photos_deletePhotos.md b/old_docs/API_docs_v44/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v44/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v44/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/photos_getUserPhotos.md b/old_docs/API_docs_v44/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v44/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v44/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v44/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v44/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/updates_getChannelDifference.md b/old_docs/API_docs_v44/methods/updates_getChannelDifference.md index 6fe9722a..d2aedcea 100644 --- a/old_docs/API_docs_v44/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v44/methods/updates_getChannelDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/updates_getDifference.md b/old_docs/API_docs_v44/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v44/methods/updates_getDifference.md +++ b/old_docs/API_docs_v44/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/updates_getState.md b/old_docs/API_docs_v44/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v44/methods/updates_getState.md +++ b/old_docs/API_docs_v44/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v44/methods/upload_getFile.md b/old_docs/API_docs_v44/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v44/methods/upload_getFile.md +++ b/old_docs/API_docs_v44/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v44/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/upload_saveFilePart.md b/old_docs/API_docs_v44/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v44/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v44/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/users_getFullUser.md b/old_docs/API_docs_v44/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v44/methods/users_getFullUser.md +++ b/old_docs/API_docs_v44/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v44/methods/users_getUsers.md b/old_docs/API_docs_v44/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v44/methods/users_getUsers.md +++ b/old_docs/API_docs_v44/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/constructors/accountDaysTTL.md b/old_docs/API_docs_v45/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v45/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v45/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/account_authorizations.md b/old_docs/API_docs_v45/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v45/constructors/account_authorizations.md +++ b/old_docs/API_docs_v45/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/account_noPassword.md b/old_docs/API_docs_v45/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v45/constructors/account_noPassword.md +++ b/old_docs/API_docs_v45/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/account_password.md b/old_docs/API_docs_v45/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v45/constructors/account_password.md +++ b/old_docs/API_docs_v45/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v45/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v45/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v45/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/account_passwordSettings.md b/old_docs/API_docs_v45/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v45/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v45/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/account_privacyRules.md b/old_docs/API_docs_v45/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v45/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v45/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md index 77fbeb66..1b776018 100644 --- a/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v45/constructors/account_sentChangePhoneCode.md @@ -25,6 +25,13 @@ description: account_sentChangePhoneCode attributes, type and example $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/audio.md b/old_docs/API_docs_v45/constructors/audio.md index b99c9822..d0f34764 100644 --- a/old_docs/API_docs_v45/constructors/audio.md +++ b/old_docs/API_docs_v45/constructors/audio.md @@ -30,6 +30,13 @@ description: audio attributes, type and example $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/audioEmpty.md b/old_docs/API_docs_v45/constructors/audioEmpty.md index 7a3b8772..72e43b19 100644 --- a/old_docs/API_docs_v45/constructors/audioEmpty.md +++ b/old_docs/API_docs_v45/constructors/audioEmpty.md @@ -24,6 +24,13 @@ description: audioEmpty attributes, type and example $audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audioEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/auth_authorization.md b/old_docs/API_docs_v45/constructors/auth_authorization.md index 6b60d2ec..90504507 100644 --- a/old_docs/API_docs_v45/constructors/auth_authorization.md +++ b/old_docs/API_docs_v45/constructors/auth_authorization.md @@ -24,6 +24,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/auth_checkedPhone.md b/old_docs/API_docs_v45/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v45/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v45/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v45/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v45/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v45/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v45/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/auth_sentAppCode.md b/old_docs/API_docs_v45/constructors/auth_sentAppCode.md index d0d99104..4288276f 100644 --- a/old_docs/API_docs_v45/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v45/constructors/auth_sentAppCode.md @@ -27,6 +27,13 @@ description: auth_sentAppCode attributes, type and example $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/auth_sentCode.md b/old_docs/API_docs_v45/constructors/auth_sentCode.md index edadb37e..d393aeae 100644 --- a/old_docs/API_docs_v45/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v45/constructors/auth_sentCode.md @@ -27,6 +27,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/authorization.md b/old_docs/API_docs_v45/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v45/constructors/authorization.md +++ b/old_docs/API_docs_v45/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/botCommand.md b/old_docs/API_docs_v45/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v45/constructors/botCommand.md +++ b/old_docs/API_docs_v45/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/botInfo.md b/old_docs/API_docs_v45/constructors/botInfo.md index 41d6dc96..32328ee5 100644 --- a/old_docs/API_docs_v45/constructors/botInfo.md +++ b/old_docs/API_docs_v45/constructors/botInfo.md @@ -28,6 +28,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/botInfoEmpty.md b/old_docs/API_docs_v45/constructors/botInfoEmpty.md index 0466220a..0e6a5962 100644 --- a/old_docs/API_docs_v45/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v45/constructors/botInfoEmpty.md @@ -19,6 +19,13 @@ description: botInfoEmpty attributes, type and example $botInfoEmpty = ['_' => 'botInfoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/botInlineMediaResultDocument.md b/old_docs/API_docs_v45/constructors/botInlineMediaResultDocument.md index 3faf664a..5efa9544 100644 --- a/old_docs/API_docs_v45/constructors/botInlineMediaResultDocument.md +++ b/old_docs/API_docs_v45/constructors/botInlineMediaResultDocument.md @@ -27,6 +27,13 @@ description: botInlineMediaResultDocument attributes, type and example $botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => string, 'type' => string, 'document' => Document, 'send_message' => BotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMediaResultDocument","id":"string","type":"string","document":"Document","send_message":"BotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/botInlineMediaResultPhoto.md b/old_docs/API_docs_v45/constructors/botInlineMediaResultPhoto.md index 2ffd2679..8f3ffa7e 100644 --- a/old_docs/API_docs_v45/constructors/botInlineMediaResultPhoto.md +++ b/old_docs/API_docs_v45/constructors/botInlineMediaResultPhoto.md @@ -27,6 +27,13 @@ description: botInlineMediaResultPhoto attributes, type and example $botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => string, 'type' => string, 'photo' => Photo, 'send_message' => BotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMediaResultPhoto","id":"string","type":"string","photo":"Photo","send_message":"BotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v45/constructors/botInlineMessageMediaAuto.md index 0665ede1..2eab032c 100644 --- a/old_docs/API_docs_v45/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v45/constructors/botInlineMessageMediaAuto.md @@ -24,6 +24,13 @@ description: botInlineMessageMediaAuto attributes, type and example $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaAuto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/botInlineMessageText.md b/old_docs/API_docs_v45/constructors/botInlineMessageText.md index c3a64925..c0f2a745 100644 --- a/old_docs/API_docs_v45/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v45/constructors/botInlineMessageText.md @@ -26,6 +26,13 @@ description: botInlineMessageText attributes, type and example $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/botInlineResult.md b/old_docs/API_docs_v45/constructors/botInlineResult.md index 839edda1..57255b6c 100644 --- a/old_docs/API_docs_v45/constructors/botInlineResult.md +++ b/old_docs/API_docs_v45/constructors/botInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channel.md b/old_docs/API_docs_v45/constructors/channel.md index dd755216..fde31936 100644 --- a/old_docs/API_docs_v45/constructors/channel.md +++ b/old_docs/API_docs_v45/constructors/channel.md @@ -40,6 +40,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","creator":"Bool","kicked":"Bool","left":"Bool","editor":"Bool","moderator":"Bool","broadcast":"Bool","verified":"Bool","megagroup":"Bool","restricted":"Bool","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int","restriction_reason":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelForbidden.md b/old_docs/API_docs_v45/constructors/channelForbidden.md index ea7a1999..7c9a3dae 100644 --- a/old_docs/API_docs_v45/constructors/channelForbidden.md +++ b/old_docs/API_docs_v45/constructors/channelForbidden.md @@ -26,6 +26,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelFull.md b/old_docs/API_docs_v45/constructors/channelFull.md index 6fac3d5b..d44fd8e3 100644 --- a/old_docs/API_docs_v45/constructors/channelFull.md +++ b/old_docs/API_docs_v45/constructors/channelFull.md @@ -38,6 +38,13 @@ description: channelFull attributes, type and example $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, '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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","can_view_participants":"Bool","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":["BotInfo"],"migrated_from_chat_id":"int","migrated_from_max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelMessagesFilter.md b/old_docs/API_docs_v45/constructors/channelMessagesFilter.md index fe0318da..b6f94861 100644 --- a/old_docs/API_docs_v45/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v45/constructors/channelMessagesFilter.md @@ -26,6 +26,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","important_only":"Bool","exclude_new_messages":"Bool","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v45/constructors/channelMessagesFilterCollapsed.md index 11cebd02..a1563c5b 100644 --- a/old_docs/API_docs_v45/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v45/constructors/channelMessagesFilterCollapsed.md @@ -19,6 +19,13 @@ description: channelMessagesFilterCollapsed attributes, type and example $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterCollapsed"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v45/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v45/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v45/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelParticipant.md b/old_docs/API_docs_v45/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipant.md +++ b/old_docs/API_docs_v45/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelParticipantCreator.md b/old_docs/API_docs_v45/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelParticipantEditor.md b/old_docs/API_docs_v45/constructors/channelParticipantEditor.md index 3c866534..64f84b38 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantEditor.md @@ -26,6 +26,13 @@ description: channelParticipantEditor attributes, type and example $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelParticipantKicked.md b/old_docs/API_docs_v45/constructors/channelParticipantKicked.md index 362872f9..4aedad4d 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantKicked.md @@ -26,6 +26,13 @@ description: channelParticipantKicked attributes, type and example $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelParticipantModerator.md b/old_docs/API_docs_v45/constructors/channelParticipantModerator.md index ff9a7094..634f9de8 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantModerator.md @@ -26,6 +26,13 @@ description: channelParticipantModerator attributes, type and example $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelParticipantSelf.md b/old_docs/API_docs_v45/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v45/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelParticipantsBots.md b/old_docs/API_docs_v45/constructors/channelParticipantsBots.md index 24b68c95..963f155e 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantsBots.md @@ -19,6 +19,13 @@ description: channelParticipantsBots attributes, type and example $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBots"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v45/constructors/channelParticipantsKicked.md index d7889060..37714c3e 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantsKicked.md @@ -19,6 +19,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v45/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/old_docs/API_docs_v45/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v45/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelRoleEditor.md b/old_docs/API_docs_v45/constructors/channelRoleEditor.md index 103b7ae5..fea2e406 100644 --- a/old_docs/API_docs_v45/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v45/constructors/channelRoleEditor.md @@ -19,6 +19,13 @@ description: channelRoleEditor attributes, type and example $channelRoleEditor = ['_' => 'channelRoleEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEditor"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelRoleEmpty.md b/old_docs/API_docs_v45/constructors/channelRoleEmpty.md index b5a7b52c..932c9fb4 100644 --- a/old_docs/API_docs_v45/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v45/constructors/channelRoleEmpty.md @@ -19,6 +19,13 @@ description: channelRoleEmpty attributes, type and example $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channelRoleModerator.md b/old_docs/API_docs_v45/constructors/channelRoleModerator.md index f3aaff68..5d6a37d1 100644 --- a/old_docs/API_docs_v45/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v45/constructors/channelRoleModerator.md @@ -19,6 +19,13 @@ description: channelRoleModerator attributes, type and example $channelRoleModerator = ['_' => 'channelRoleModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleModerator"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channels_channelParticipant.md b/old_docs/API_docs_v45/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/old_docs/API_docs_v45/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v45/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/channels_channelParticipants.md b/old_docs/API_docs_v45/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/old_docs/API_docs_v45/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v45/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chat.md b/old_docs/API_docs_v45/constructors/chat.md index 9bad67b3..70955e06 100644 --- a/old_docs/API_docs_v45/constructors/chat.md +++ b/old_docs/API_docs_v45/constructors/chat.md @@ -36,6 +36,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatEmpty.md b/old_docs/API_docs_v45/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v45/constructors/chatEmpty.md +++ b/old_docs/API_docs_v45/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatForbidden.md b/old_docs/API_docs_v45/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/old_docs/API_docs_v45/constructors/chatForbidden.md +++ b/old_docs/API_docs_v45/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatFull.md b/old_docs/API_docs_v45/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v45/constructors/chatFull.md +++ b/old_docs/API_docs_v45/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatInvite.md b/old_docs/API_docs_v45/constructors/chatInvite.md index 8207c7f1..effead5a 100644 --- a/old_docs/API_docs_v45/constructors/chatInvite.md +++ b/old_docs/API_docs_v45/constructors/chatInvite.md @@ -28,6 +28,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatInviteAlready.md b/old_docs/API_docs_v45/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v45/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v45/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatInviteEmpty.md b/old_docs/API_docs_v45/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v45/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v45/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatInviteExported.md b/old_docs/API_docs_v45/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v45/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v45/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatParticipant.md b/old_docs/API_docs_v45/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipant.md +++ b/old_docs/API_docs_v45/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v45/constructors/chatParticipantAdmin.md index 6740c4a3..775f29c7 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v45/constructors/chatParticipantAdmin.md @@ -26,6 +26,13 @@ description: chatParticipantAdmin attributes, type and example $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatParticipantCreator.md b/old_docs/API_docs_v45/constructors/chatParticipantCreator.md index b80542a7..687dd93f 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v45/constructors/chatParticipantCreator.md @@ -24,6 +24,13 @@ description: chatParticipantCreator attributes, type and example $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatParticipants.md b/old_docs/API_docs_v45/constructors/chatParticipants.md index 2420f15e..c1602888 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipants.md +++ b/old_docs/API_docs_v45/constructors/chatParticipants.md @@ -26,6 +26,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v45/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/old_docs/API_docs_v45/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v45/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatPhoto.md b/old_docs/API_docs_v45/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v45/constructors/chatPhoto.md +++ b/old_docs/API_docs_v45/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v45/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v45/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v45/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/config.md b/old_docs/API_docs_v45/constructors/config.md index 6acba62e..cd33aeda 100644 --- a/old_docs/API_docs_v45/constructors/config.md +++ b/old_docs/API_docs_v45/constructors/config.md @@ -42,6 +42,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contact.md b/old_docs/API_docs_v45/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v45/constructors/contact.md +++ b/old_docs/API_docs_v45/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contactBlocked.md b/old_docs/API_docs_v45/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v45/constructors/contactBlocked.md +++ b/old_docs/API_docs_v45/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contactLinkContact.md b/old_docs/API_docs_v45/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v45/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v45/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v45/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v45/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v45/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contactLinkNone.md b/old_docs/API_docs_v45/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v45/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v45/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contactLinkUnknown.md b/old_docs/API_docs_v45/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v45/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v45/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contactStatus.md b/old_docs/API_docs_v45/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v45/constructors/contactStatus.md +++ b/old_docs/API_docs_v45/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contactSuggested.md b/old_docs/API_docs_v45/constructors/contactSuggested.md index cf53fa55..0508f837 100644 --- a/old_docs/API_docs_v45/constructors/contactSuggested.md +++ b/old_docs/API_docs_v45/constructors/contactSuggested.md @@ -25,6 +25,13 @@ description: contactSuggested attributes, type and example $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contacts_blocked.md b/old_docs/API_docs_v45/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v45/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v45/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v45/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v45/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v45/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contacts_contacts.md b/old_docs/API_docs_v45/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v45/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v45/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v45/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contacts_found.md b/old_docs/API_docs_v45/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/old_docs/API_docs_v45/constructors/contacts_found.md +++ b/old_docs/API_docs_v45/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contacts_importedContacts.md b/old_docs/API_docs_v45/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v45/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v45/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contacts_link.md b/old_docs/API_docs_v45/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v45/constructors/contacts_link.md +++ b/old_docs/API_docs_v45/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v45/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/contacts_suggested.md b/old_docs/API_docs_v45/constructors/contacts_suggested.md index 90ff7671..e4dd4100 100644 --- a/old_docs/API_docs_v45/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v45/constructors/contacts_suggested.md @@ -25,6 +25,13 @@ description: contacts_suggested attributes, type and example $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/dcOption.md b/old_docs/API_docs_v45/constructors/dcOption.md index 124a7148..85ff3d71 100644 --- a/old_docs/API_docs_v45/constructors/dcOption.md +++ b/old_docs/API_docs_v45/constructors/dcOption.md @@ -28,6 +28,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","ipv6":"Bool","media_only":"Bool","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/dialog.md b/old_docs/API_docs_v45/constructors/dialog.md index 9c6f4d43..d706225d 100644 --- a/old_docs/API_docs_v45/constructors/dialog.md +++ b/old_docs/API_docs_v45/constructors/dialog.md @@ -28,6 +28,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/dialogChannel.md b/old_docs/API_docs_v45/constructors/dialogChannel.md index 160dc27e..f4d28d89 100644 --- a/old_docs/API_docs_v45/constructors/dialogChannel.md +++ b/old_docs/API_docs_v45/constructors/dialogChannel.md @@ -31,6 +31,13 @@ description: dialogChannel attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/disabledFeature.md b/old_docs/API_docs_v45/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v45/constructors/disabledFeature.md +++ b/old_docs/API_docs_v45/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/document.md b/old_docs/API_docs_v45/constructors/document.md index 7153e5a6..7e3482ad 100644 --- a/old_docs/API_docs_v45/constructors/document.md +++ b/old_docs/API_docs_v45/constructors/document.md @@ -31,6 +31,13 @@ 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, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v45/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/documentAttributeAudio.md b/old_docs/API_docs_v45/constructors/documentAttributeAudio.md index 23a48363..d56ef28d 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeAudio.md @@ -26,6 +26,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/documentAttributeFilename.md b/old_docs/API_docs_v45/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v45/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/documentAttributeSticker.md b/old_docs/API_docs_v45/constructors/documentAttributeSticker.md index 9f8168b1..3cb9fcd5 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeSticker.md @@ -25,6 +25,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/documentAttributeVideo.md b/old_docs/API_docs_v45/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v45/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v45/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/documentEmpty.md b/old_docs/API_docs_v45/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v45/constructors/documentEmpty.md +++ b/old_docs/API_docs_v45/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/encryptedChat.md b/old_docs/API_docs_v45/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChat.md +++ b/old_docs/API_docs_v45/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v45/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v45/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v45/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v45/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/encryptedChatRequested.md b/old_docs/API_docs_v45/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v45/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v45/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v45/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v45/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/encryptedFile.md b/old_docs/API_docs_v45/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v45/constructors/encryptedFile.md +++ b/old_docs/API_docs_v45/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v45/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v45/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v45/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/encryptedMessage.md b/old_docs/API_docs_v45/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v45/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v45/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/encryptedMessageService.md b/old_docs/API_docs_v45/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v45/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v45/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/error.md b/old_docs/API_docs_v45/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v45/constructors/error.md +++ b/old_docs/API_docs_v45/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/fileLocation.md b/old_docs/API_docs_v45/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v45/constructors/fileLocation.md +++ b/old_docs/API_docs_v45/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v45/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v45/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v45/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/foundGif.md b/old_docs/API_docs_v45/constructors/foundGif.md index e241eabe..99a0faa0 100644 --- a/old_docs/API_docs_v45/constructors/foundGif.md +++ b/old_docs/API_docs_v45/constructors/foundGif.md @@ -29,6 +29,13 @@ description: foundGif attributes, type and example $foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/foundGifCached.md b/old_docs/API_docs_v45/constructors/foundGifCached.md index f73c07df..a73fb47c 100644 --- a/old_docs/API_docs_v45/constructors/foundGifCached.md +++ b/old_docs/API_docs_v45/constructors/foundGifCached.md @@ -26,6 +26,13 @@ description: foundGifCached attributes, type and example $foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/geoPoint.md b/old_docs/API_docs_v45/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v45/constructors/geoPoint.md +++ b/old_docs/API_docs_v45/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/geoPointEmpty.md b/old_docs/API_docs_v45/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v45/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v45/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/help_appChangelog.md b/old_docs/API_docs_v45/constructors/help_appChangelog.md index 77c1c338..67e40e85 100644 --- a/old_docs/API_docs_v45/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v45/constructors/help_appChangelog.md @@ -24,6 +24,13 @@ description: help_appChangelog attributes, type and example $help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelog","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md index abbb4865..f6ab5ace 100644 --- a/old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v45/constructors/help_appChangelogEmpty.md @@ -19,6 +19,13 @@ description: help_appChangelogEmpty attributes, type and example $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelogEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/help_appUpdate.md b/old_docs/API_docs_v45/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v45/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v45/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/help_inviteText.md b/old_docs/API_docs_v45/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v45/constructors/help_inviteText.md +++ b/old_docs/API_docs_v45/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/help_noAppUpdate.md b/old_docs/API_docs_v45/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v45/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v45/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/help_support.md b/old_docs/API_docs_v45/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v45/constructors/help_support.md +++ b/old_docs/API_docs_v45/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/help_termsOfService.md b/old_docs/API_docs_v45/constructors/help_termsOfService.md index a945b971..6af3d9e5 100644 --- a/old_docs/API_docs_v45/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v45/constructors/help_termsOfService.md @@ -24,6 +24,13 @@ description: help_termsOfService attributes, type and example $help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.termsOfService","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/importedContact.md b/old_docs/API_docs_v45/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v45/constructors/importedContact.md +++ b/old_docs/API_docs_v45/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputAppEvent.md b/old_docs/API_docs_v45/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v45/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v45/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputAudio.md b/old_docs/API_docs_v45/constructors/inputAudio.md index f618b74f..a75e690f 100644 --- a/old_docs/API_docs_v45/constructors/inputAudio.md +++ b/old_docs/API_docs_v45/constructors/inputAudio.md @@ -25,6 +25,13 @@ description: inputAudio attributes, type and example $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudio","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputAudioEmpty.md b/old_docs/API_docs_v45/constructors/inputAudioEmpty.md index f5ca1a6c..4de803d5 100644 --- a/old_docs/API_docs_v45/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputAudioEmpty.md @@ -19,6 +19,13 @@ description: inputAudioEmpty attributes, type and example $inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v45/constructors/inputAudioFileLocation.md index 8624b224..25650826 100644 --- a/old_docs/API_docs_v45/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputAudioFileLocation.md @@ -25,6 +25,13 @@ description: inputAudioFileLocation attributes, type and example $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v45/constructors/inputBotInlineMessageMediaAuto.md index f1be5569..bed6991a 100644 --- a/old_docs/API_docs_v45/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v45/constructors/inputBotInlineMessageMediaAuto.md @@ -24,6 +24,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaAuto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md index 51d1fd58..b28d194f 100644 --- a/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md @@ -26,6 +26,13 @@ description: inputBotInlineMessageText attributes, type and example $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputBotInlineResult.md b/old_docs/API_docs_v45/constructors/inputBotInlineResult.md index 9ff31ee5..ed68ad5c 100644 --- a/old_docs/API_docs_v45/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v45/constructors/inputBotInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputChannel.md b/old_docs/API_docs_v45/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/old_docs/API_docs_v45/constructors/inputChannel.md +++ b/old_docs/API_docs_v45/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputChannelEmpty.md b/old_docs/API_docs_v45/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/old_docs/API_docs_v45/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputChatPhoto.md b/old_docs/API_docs_v45/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v45/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v45/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v45/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v45/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v45/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputDocument.md b/old_docs/API_docs_v45/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v45/constructors/inputDocument.md +++ b/old_docs/API_docs_v45/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v45/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v45/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v45/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v45/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputEncryptedChat.md b/old_docs/API_docs_v45/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputEncryptedFile.md b/old_docs/API_docs_v45/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v45/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v45/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v45/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v45/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v45/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v45/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputFile.md b/old_docs/API_docs_v45/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v45/constructors/inputFile.md +++ b/old_docs/API_docs_v45/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputFileBig.md b/old_docs/API_docs_v45/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v45/constructors/inputFileBig.md +++ b/old_docs/API_docs_v45/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputFileLocation.md b/old_docs/API_docs_v45/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v45/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputGeoPoint.md b/old_docs/API_docs_v45/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v45/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v45/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v45/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v45/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaAudio.md b/old_docs/API_docs_v45/constructors/inputMediaAudio.md index 6f477b8b..0c83afd5 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v45/constructors/inputMediaAudio.md @@ -24,6 +24,13 @@ description: inputMediaAudio attributes, type and example $inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaAudio","id":"InputAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaContact.md b/old_docs/API_docs_v45/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v45/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaDocument.md b/old_docs/API_docs_v45/constructors/inputMediaDocument.md index 1959cc4e..89ef5bdc 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v45/constructors/inputMediaDocument.md @@ -25,6 +25,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaEmpty.md b/old_docs/API_docs_v45/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v45/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v45/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v45/constructors/inputMediaGifExternal.md index af227d69..284e3cdd 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v45/constructors/inputMediaGifExternal.md @@ -25,6 +25,13 @@ description: inputMediaGifExternal attributes, type and example $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGifExternal","url":"string","q":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaPhoto.md b/old_docs/API_docs_v45/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v45/constructors/inputMediaUploadedAudio.md index ad427e4f..e3298757 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedAudio.md @@ -26,6 +26,13 @@ description: inputMediaUploadedAudio attributes, type and example $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v45/constructors/inputMediaUploadedDocument.md index 39526664..d7c6dee4 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v45/constructors/inputMediaUploadedPhoto.md index 0c4c9135..923fd903 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbDocument.md index 6ad07130..8c1c9295 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbDocument.md @@ -28,6 +28,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbVideo.md index ccb3076b..5042784d 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedThumbVideo.md @@ -30,6 +30,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v45/constructors/inputMediaUploadedVideo.md index a6750886..0009243e 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMediaUploadedVideo.md @@ -29,6 +29,13 @@ description: inputMediaUploadedVideo attributes, type and example $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaVenue.md b/old_docs/API_docs_v45/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v45/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMediaVideo.md b/old_docs/API_docs_v45/constructors/inputMediaVideo.md index 7539e85c..8626bf3d 100644 --- a/old_docs/API_docs_v45/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMediaVideo.md @@ -25,6 +25,13 @@ description: inputMediaVideo attributes, type and example $inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVideo","id":"InputVideo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterAudio.md index c326c700..2c8e29fe 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterAudio.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudio attributes, type and example $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md index 9d6d7b67..8b876e5e 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudioDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterGif.md index 02da8091..31be8767 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterGif.md @@ -19,6 +19,13 @@ description: inputMessagesFilterGif attributes, type and example $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v45/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v45/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v45/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputNotifyAll.md b/old_docs/API_docs_v45/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v45/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v45/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputNotifyChats.md b/old_docs/API_docs_v45/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v45/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v45/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputNotifyPeer.md b/old_docs/API_docs_v45/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v45/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v45/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputNotifyUsers.md b/old_docs/API_docs_v45/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v45/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v45/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPeerChannel.md b/old_docs/API_docs_v45/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v45/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPeerChat.md b/old_docs/API_docs_v45/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v45/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPeerEmpty.md b/old_docs/API_docs_v45/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v45/constructors/inputPeerNotifySettings.md index d4c26a38..4881d26e 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v45/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPeerSelf.md b/old_docs/API_docs_v45/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v45/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPeerUser.md b/old_docs/API_docs_v45/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v45/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v45/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPhoneContact.md b/old_docs/API_docs_v45/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v45/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v45/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPhoto.md b/old_docs/API_docs_v45/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v45/constructors/inputPhoto.md +++ b/old_docs/API_docs_v45/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPhotoCrop.md b/old_docs/API_docs_v45/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v45/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v45/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v45/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v45/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v45/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v45/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v45/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputReportReasonOther.md b/old_docs/API_docs_v45/constructors/inputReportReasonOther.md index 547711c4..ffd351a0 100644 --- a/old_docs/API_docs_v45/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v45/constructors/inputReportReasonOther.md @@ -24,6 +24,13 @@ description: inputReportReasonOther attributes, type and example $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonOther","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v45/constructors/inputReportReasonPornography.md index f73c6f4d..866d691c 100644 --- a/old_docs/API_docs_v45/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v45/constructors/inputReportReasonPornography.md @@ -19,6 +19,13 @@ description: inputReportReasonPornography attributes, type and example $inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonPornography"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v45/constructors/inputReportReasonSpam.md index ea2a9257..4cf6f414 100644 --- a/old_docs/API_docs_v45/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v45/constructors/inputReportReasonSpam.md @@ -19,6 +19,13 @@ description: inputReportReasonSpam attributes, type and example $inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonSpam"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v45/constructors/inputReportReasonViolence.md index 18a2ba4c..f2046d6e 100644 --- a/old_docs/API_docs_v45/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v45/constructors/inputReportReasonViolence.md @@ -19,6 +19,13 @@ description: inputReportReasonViolence attributes, type and example $inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonViolence"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v45/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v45/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputStickerSetID.md b/old_docs/API_docs_v45/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v45/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v45/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v45/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v45/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v45/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputUser.md b/old_docs/API_docs_v45/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v45/constructors/inputUser.md +++ b/old_docs/API_docs_v45/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputUserEmpty.md b/old_docs/API_docs_v45/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v45/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputUserSelf.md b/old_docs/API_docs_v45/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v45/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v45/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputVideo.md b/old_docs/API_docs_v45/constructors/inputVideo.md index 79d5a034..e6dc5b1f 100644 --- a/old_docs/API_docs_v45/constructors/inputVideo.md +++ b/old_docs/API_docs_v45/constructors/inputVideo.md @@ -25,6 +25,13 @@ description: inputVideo attributes, type and example $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideo","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputVideoEmpty.md b/old_docs/API_docs_v45/constructors/inputVideoEmpty.md index d1f4e1ec..072ace8d 100644 --- a/old_docs/API_docs_v45/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v45/constructors/inputVideoEmpty.md @@ -19,6 +19,13 @@ description: inputVideoEmpty attributes, type and example $inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v45/constructors/inputVideoFileLocation.md index 2ae12a5c..f4c6646e 100644 --- a/old_docs/API_docs_v45/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v45/constructors/inputVideoFileLocation.md @@ -25,6 +25,13 @@ description: inputVideoFileLocation attributes, type and example $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/keyboardButton.md b/old_docs/API_docs_v45/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v45/constructors/keyboardButton.md +++ b/old_docs/API_docs_v45/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/keyboardButtonRow.md b/old_docs/API_docs_v45/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v45/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v45/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/message.md b/old_docs/API_docs_v45/constructors/message.md index 7eee6d52..38811d9e 100644 --- a/old_docs/API_docs_v45/constructors/message.md +++ b/old_docs/API_docs_v45/constructors/message.md @@ -40,6 +40,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"],"views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v45/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v45/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v45/constructors/messageActionChannelMigrateFrom.md index d15c0bf3..b63de131 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v45/constructors/messageActionChannelMigrateFrom.md @@ -25,6 +25,13 @@ description: messageActionChannelMigrateFrom attributes, type and example $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v45/constructors/messageActionChatAddUser.md index 135e16de..5edc7d3b 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageActionChatCreate.md b/old_docs/API_docs_v45/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v45/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v45/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v45/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v45/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v45/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v45/constructors/messageActionChatMigrateTo.md index fda20a24..7214d295 100644 --- a/old_docs/API_docs_v45/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v45/constructors/messageActionChatMigrateTo.md @@ -24,6 +24,13 @@ description: messageActionChatMigrateTo attributes, type and example $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageActionEmpty.md b/old_docs/API_docs_v45/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v45/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v45/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageEmpty.md b/old_docs/API_docs_v45/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v45/constructors/messageEmpty.md +++ b/old_docs/API_docs_v45/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageEntityBold.md b/old_docs/API_docs_v45/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v45/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v45/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v45/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageEntityCode.md b/old_docs/API_docs_v45/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v45/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageEntityEmail.md b/old_docs/API_docs_v45/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v45/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageEntityHashtag.md b/old_docs/API_docs_v45/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v45/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageEntityItalic.md b/old_docs/API_docs_v45/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v45/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageEntityMention.md b/old_docs/API_docs_v45/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v45/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageEntityPre.md b/old_docs/API_docs_v45/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v45/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v45/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v45/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageEntityUnknown.md b/old_docs/API_docs_v45/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v45/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageEntityUrl.md b/old_docs/API_docs_v45/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v45/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v45/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageGroup.md b/old_docs/API_docs_v45/constructors/messageGroup.md index 5e3992c0..ddbc0e37 100644 --- a/old_docs/API_docs_v45/constructors/messageGroup.md +++ b/old_docs/API_docs_v45/constructors/messageGroup.md @@ -27,6 +27,13 @@ description: messageGroup attributes, type and example $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageMediaAudio.md b/old_docs/API_docs_v45/constructors/messageMediaAudio.md index 0bc53b5e..24ca7823 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v45/constructors/messageMediaAudio.md @@ -24,6 +24,13 @@ description: messageMediaAudio attributes, type and example $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaAudio","audio":"Audio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageMediaContact.md b/old_docs/API_docs_v45/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v45/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageMediaDocument.md b/old_docs/API_docs_v45/constructors/messageMediaDocument.md index 66a67150..0fc6558b 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v45/constructors/messageMediaDocument.md @@ -25,6 +25,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageMediaEmpty.md b/old_docs/API_docs_v45/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v45/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageMediaGeo.md b/old_docs/API_docs_v45/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v45/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageMediaPhoto.md b/old_docs/API_docs_v45/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v45/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v45/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v45/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageMediaVenue.md b/old_docs/API_docs_v45/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v45/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageMediaVideo.md b/old_docs/API_docs_v45/constructors/messageMediaVideo.md index 42a6ac76..8e72030c 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v45/constructors/messageMediaVideo.md @@ -25,6 +25,13 @@ description: messageMediaVideo attributes, type and example $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVideo","video":"Video","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageMediaWebPage.md b/old_docs/API_docs_v45/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v45/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v45/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageRange.md b/old_docs/API_docs_v45/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v45/constructors/messageRange.md +++ b/old_docs/API_docs_v45/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messageService.md b/old_docs/API_docs_v45/constructors/messageService.md index 6c59e839..f44b4869 100644 --- a/old_docs/API_docs_v45/constructors/messageService.md +++ b/old_docs/API_docs_v45/constructors/messageService.md @@ -32,6 +32,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_affectedHistory.md b/old_docs/API_docs_v45/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v45/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v45/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_affectedMessages.md b/old_docs/API_docs_v45/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v45/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v45/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_allStickers.md b/old_docs/API_docs_v45/constructors/messages_allStickers.md index 7a5fe6af..a16f30e8 100644 --- a/old_docs/API_docs_v45/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v45/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v45/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_botResults.md b/old_docs/API_docs_v45/constructors/messages_botResults.md index 4942a53f..7c070065 100644 --- a/old_docs/API_docs_v45/constructors/messages_botResults.md +++ b/old_docs/API_docs_v45/constructors/messages_botResults.md @@ -27,6 +27,13 @@ description: messages_botResults attributes, type and example $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'results' => [BotInlineResult], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","results":["BotInlineResult"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_channelMessages.md b/old_docs/API_docs_v45/constructors/messages_channelMessages.md index 94236376..d9264977 100644 --- a/old_docs/API_docs_v45/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v45/constructors/messages_channelMessages.md @@ -29,6 +29,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_chatFull.md b/old_docs/API_docs_v45/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v45/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v45/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_chats.md b/old_docs/API_docs_v45/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v45/constructors/messages_chats.md +++ b/old_docs/API_docs_v45/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_dhConfig.md b/old_docs/API_docs_v45/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v45/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v45/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v45/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_dialogs.md b/old_docs/API_docs_v45/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v45/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v45/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v45/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v45/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v45/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_foundGifs.md b/old_docs/API_docs_v45/constructors/messages_foundGifs.md index 5db1a1db..7cf2eaac 100644 --- a/old_docs/API_docs_v45/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v45/constructors/messages_foundGifs.md @@ -25,6 +25,13 @@ description: messages_foundGifs attributes, type and example $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_messages.md b/old_docs/API_docs_v45/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v45/constructors/messages_messages.md +++ b/old_docs/API_docs_v45/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_messagesSlice.md b/old_docs/API_docs_v45/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v45/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v45/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_savedGifs.md b/old_docs/API_docs_v45/constructors/messages_savedGifs.md index dfcab426..6077da46 100644 --- a/old_docs/API_docs_v45/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v45/constructors/messages_savedGifs.md @@ -25,6 +25,13 @@ description: messages_savedGifs attributes, type and example $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md index 78292bdb..6f35f43d 100644 --- a/old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v45/constructors/messages_savedGifsNotModified.md @@ -19,6 +19,13 @@ description: messages_savedGifsNotModified attributes, type and example $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v45/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v45/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_stickerSet.md b/old_docs/API_docs_v45/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v45/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v45/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_stickers.md b/old_docs/API_docs_v45/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v45/constructors/messages_stickers.md +++ b/old_docs/API_docs_v45/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v45/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v45/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v45/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/nearestDc.md b/old_docs/API_docs_v45/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v45/constructors/nearestDc.md +++ b/old_docs/API_docs_v45/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/notifyAll.md b/old_docs/API_docs_v45/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v45/constructors/notifyAll.md +++ b/old_docs/API_docs_v45/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/notifyChats.md b/old_docs/API_docs_v45/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v45/constructors/notifyChats.md +++ b/old_docs/API_docs_v45/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/notifyPeer.md b/old_docs/API_docs_v45/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v45/constructors/notifyPeer.md +++ b/old_docs/API_docs_v45/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/notifyUsers.md b/old_docs/API_docs_v45/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v45/constructors/notifyUsers.md +++ b/old_docs/API_docs_v45/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/peerChannel.md b/old_docs/API_docs_v45/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v45/constructors/peerChannel.md +++ b/old_docs/API_docs_v45/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/peerChat.md b/old_docs/API_docs_v45/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v45/constructors/peerChat.md +++ b/old_docs/API_docs_v45/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v45/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v45/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v45/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v45/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v45/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v45/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/peerNotifySettings.md b/old_docs/API_docs_v45/constructors/peerNotifySettings.md index f6dc6c35..d0659143 100644 --- a/old_docs/API_docs_v45/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v45/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v45/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v45/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v45/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/peerUser.md b/old_docs/API_docs_v45/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v45/constructors/peerUser.md +++ b/old_docs/API_docs_v45/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/photo.md b/old_docs/API_docs_v45/constructors/photo.md index f9c9582a..2aaa4efd 100644 --- a/old_docs/API_docs_v45/constructors/photo.md +++ b/old_docs/API_docs_v45/constructors/photo.md @@ -27,6 +27,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/photoCachedSize.md b/old_docs/API_docs_v45/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v45/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v45/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/photoEmpty.md b/old_docs/API_docs_v45/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v45/constructors/photoEmpty.md +++ b/old_docs/API_docs_v45/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/photoSize.md b/old_docs/API_docs_v45/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v45/constructors/photoSize.md +++ b/old_docs/API_docs_v45/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/photoSizeEmpty.md b/old_docs/API_docs_v45/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v45/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v45/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/photos_photo.md b/old_docs/API_docs_v45/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v45/constructors/photos_photo.md +++ b/old_docs/API_docs_v45/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/photos_photos.md b/old_docs/API_docs_v45/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v45/constructors/photos_photos.md +++ b/old_docs/API_docs_v45/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/photos_photosSlice.md b/old_docs/API_docs_v45/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v45/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v45/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v45/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v45/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v45/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v45/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v45/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v45/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v45/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v45/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v45/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v45/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v45/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v45/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v45/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v45/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v45/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v45/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v45/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v45/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v45/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md index 4f319506..02a0779a 100644 --- a/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md @@ -25,6 +25,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/replyKeyboardHide.md b/old_docs/API_docs_v45/constructors/replyKeyboardHide.md index 56faa8dd..8b210933 100644 --- a/old_docs/API_docs_v45/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v45/constructors/replyKeyboardHide.md @@ -24,6 +24,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md index 3cebc41f..4269aeb9 100644 --- a/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md @@ -27,6 +27,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v45/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v45/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v45/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v45/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v45/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v45/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v45/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v45/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v45/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v45/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v45/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v45/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/stickerPack.md b/old_docs/API_docs_v45/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v45/constructors/stickerPack.md +++ b/old_docs/API_docs_v45/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/stickerSet.md b/old_docs/API_docs_v45/constructors/stickerSet.md index bed0beeb..2c2aa5aa 100644 --- a/old_docs/API_docs_v45/constructors/stickerSet.md +++ b/old_docs/API_docs_v45/constructors/stickerSet.md @@ -32,6 +32,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/storage_fileGif.md b/old_docs/API_docs_v45/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v45/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/storage_fileJpeg.md b/old_docs/API_docs_v45/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v45/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/storage_fileMov.md b/old_docs/API_docs_v45/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v45/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/storage_fileMp3.md b/old_docs/API_docs_v45/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v45/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/storage_fileMp4.md b/old_docs/API_docs_v45/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v45/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/storage_filePartial.md b/old_docs/API_docs_v45/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v45/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v45/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/storage_filePdf.md b/old_docs/API_docs_v45/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v45/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v45/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/storage_filePng.md b/old_docs/API_docs_v45/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v45/constructors/storage_filePng.md +++ b/old_docs/API_docs_v45/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/storage_fileUnknown.md b/old_docs/API_docs_v45/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v45/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/storage_fileWebp.md b/old_docs/API_docs_v45/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v45/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v45/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/true.md b/old_docs/API_docs_v45/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v45/constructors/true.md +++ b/old_docs/API_docs_v45/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v45/constructors/updateBotInlineQuery.md index 37aedfb9..7dbbd355 100644 --- a/old_docs/API_docs_v45/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v45/constructors/updateBotInlineQuery.md @@ -27,6 +27,13 @@ description: updateBotInlineQuery attributes, type and example $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'offset' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","offset":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateBotInlineSend.md b/old_docs/API_docs_v45/constructors/updateBotInlineSend.md index d6a04f67..7e27ab5b 100644 --- a/old_docs/API_docs_v45/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v45/constructors/updateBotInlineSend.md @@ -26,6 +26,13 @@ description: updateBotInlineSend attributes, type and example $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineSend","user_id":"int","query":"string","id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateChannel.md b/old_docs/API_docs_v45/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/old_docs/API_docs_v45/constructors/updateChannel.md +++ b/old_docs/API_docs_v45/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateChannelGroup.md b/old_docs/API_docs_v45/constructors/updateChannelGroup.md index 6ffad0dd..59290243 100644 --- a/old_docs/API_docs_v45/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v45/constructors/updateChannelGroup.md @@ -25,6 +25,13 @@ description: updateChannelGroup attributes, type and example $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v45/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/old_docs/API_docs_v45/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v45/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateChannelTooLong.md b/old_docs/API_docs_v45/constructors/updateChannelTooLong.md index 632fd0a0..621e7774 100644 --- a/old_docs/API_docs_v45/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v45/constructors/updateChannelTooLong.md @@ -24,6 +24,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateChatAdmins.md b/old_docs/API_docs_v45/constructors/updateChatAdmins.md index 36fb3614..bf391961 100644 --- a/old_docs/API_docs_v45/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v45/constructors/updateChatAdmins.md @@ -26,6 +26,13 @@ description: updateChatAdmins attributes, type and example $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v45/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/old_docs/API_docs_v45/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v45/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v45/constructors/updateChatParticipantAdmin.md index fbb2cdae..ba5bbc95 100644 --- a/old_docs/API_docs_v45/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v45/constructors/updateChatParticipantAdmin.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdmin attributes, type and example $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v45/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v45/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v45/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateChatParticipants.md b/old_docs/API_docs_v45/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v45/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v45/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateChatUserTyping.md b/old_docs/API_docs_v45/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v45/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v45/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateContactLink.md b/old_docs/API_docs_v45/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v45/constructors/updateContactLink.md +++ b/old_docs/API_docs_v45/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateContactRegistered.md b/old_docs/API_docs_v45/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v45/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v45/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateDcOptions.md b/old_docs/API_docs_v45/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v45/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v45/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v45/constructors/updateDeleteChannelMessages.md index 6f8c20d5..a078a880 100644 --- a/old_docs/API_docs_v45/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v45/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateDeleteMessages.md b/old_docs/API_docs_v45/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v45/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v45/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v45/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v45/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v45/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v45/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v45/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v45/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateEncryption.md b/old_docs/API_docs_v45/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v45/constructors/updateEncryption.md +++ b/old_docs/API_docs_v45/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateMessageID.md b/old_docs/API_docs_v45/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v45/constructors/updateMessageID.md +++ b/old_docs/API_docs_v45/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateNewAuthorization.md b/old_docs/API_docs_v45/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v45/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v45/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v45/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/old_docs/API_docs_v45/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v45/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v45/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v45/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v45/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateNewMessage.md b/old_docs/API_docs_v45/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v45/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v45/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateNewStickerSet.md b/old_docs/API_docs_v45/constructors/updateNewStickerSet.md index ccb4f17f..919c3ad8 100644 --- a/old_docs/API_docs_v45/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v45/constructors/updateNewStickerSet.md @@ -24,6 +24,13 @@ description: updateNewStickerSet attributes, type and example $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateNotifySettings.md b/old_docs/API_docs_v45/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v45/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v45/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updatePrivacy.md b/old_docs/API_docs_v45/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v45/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v45/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v45/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/old_docs/API_docs_v45/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v45/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v45/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v45/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v45/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v45/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v45/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v45/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v45/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v45/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v45/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateSavedGifs.md b/old_docs/API_docs_v45/constructors/updateSavedGifs.md index a52b7838..46dfb8a6 100644 --- a/old_docs/API_docs_v45/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v45/constructors/updateSavedGifs.md @@ -19,6 +19,13 @@ description: updateSavedGifs attributes, type and example $updateSavedGifs = ['_' => 'updateSavedGifs', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateSavedGifs"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateServiceNotification.md b/old_docs/API_docs_v45/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v45/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v45/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateShort.md b/old_docs/API_docs_v45/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v45/constructors/updateShort.md +++ b/old_docs/API_docs_v45/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateShortChatMessage.md b/old_docs/API_docs_v45/constructors/updateShortChatMessage.md index 7ada7b18..8a27f3f4 100644 --- a/old_docs/API_docs_v45/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v45/constructors/updateShortChatMessage.md @@ -39,6 +39,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateShortMessage.md b/old_docs/API_docs_v45/constructors/updateShortMessage.md index ac9c8fe8..cf7f581d 100644 --- a/old_docs/API_docs_v45/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v45/constructors/updateShortMessage.md @@ -38,6 +38,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateShortSentMessage.md b/old_docs/API_docs_v45/constructors/updateShortSentMessage.md index cf123f7b..5005d3a2 100644 --- a/old_docs/API_docs_v45/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v45/constructors/updateShortSentMessage.md @@ -31,6 +31,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","unread":"Bool","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateStickerSets.md b/old_docs/API_docs_v45/constructors/updateStickerSets.md index 0affa36f..69c53b51 100644 --- a/old_docs/API_docs_v45/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v45/constructors/updateStickerSets.md @@ -19,6 +19,13 @@ description: updateStickerSets attributes, type and example $updateStickerSets = ['_' => 'updateStickerSets', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSets"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v45/constructors/updateStickerSetsOrder.md index ee954112..950fdb48 100644 --- a/old_docs/API_docs_v45/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v45/constructors/updateStickerSetsOrder.md @@ -24,6 +24,13 @@ description: updateStickerSetsOrder attributes, type and example $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSetsOrder","order":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateUserBlocked.md b/old_docs/API_docs_v45/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v45/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v45/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateUserName.md b/old_docs/API_docs_v45/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v45/constructors/updateUserName.md +++ b/old_docs/API_docs_v45/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateUserPhone.md b/old_docs/API_docs_v45/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v45/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v45/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateUserPhoto.md b/old_docs/API_docs_v45/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v45/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v45/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateUserStatus.md b/old_docs/API_docs_v45/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v45/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v45/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateUserTyping.md b/old_docs/API_docs_v45/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v45/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v45/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updateWebPage.md b/old_docs/API_docs_v45/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/old_docs/API_docs_v45/constructors/updateWebPage.md +++ b/old_docs/API_docs_v45/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updates.md b/old_docs/API_docs_v45/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v45/constructors/updates.md +++ b/old_docs/API_docs_v45/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updatesCombined.md b/old_docs/API_docs_v45/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v45/constructors/updatesCombined.md +++ b/old_docs/API_docs_v45/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updatesTooLong.md b/old_docs/API_docs_v45/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v45/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v45/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updates_channelDifference.md b/old_docs/API_docs_v45/constructors/updates_channelDifference.md index c64c69b6..876e8d13 100644 --- a/old_docs/API_docs_v45/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v45/constructors/updates_channelDifference.md @@ -30,6 +30,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md index 6e4d7bde..c596d24a 100644 --- a/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md @@ -26,6 +26,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md index ca05cf53..4302d54b 100644 --- a/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md @@ -34,6 +34,13 @@ description: updates_channelDifferenceTooLong attributes, type and example $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceTooLong","final":"Bool","pts":"int","timeout":"int","top_message":"int","top_important_message":"int","read_inbox_max_id":"int","unread_count":"int","unread_important_count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updates_difference.md b/old_docs/API_docs_v45/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v45/constructors/updates_difference.md +++ b/old_docs/API_docs_v45/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v45/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v45/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v45/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updates_differenceSlice.md b/old_docs/API_docs_v45/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v45/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v45/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/updates_state.md b/old_docs/API_docs_v45/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v45/constructors/updates_state.md +++ b/old_docs/API_docs_v45/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/upload_file.md b/old_docs/API_docs_v45/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v45/constructors/upload_file.md +++ b/old_docs/API_docs_v45/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/user.md b/old_docs/API_docs_v45/constructors/user.md index 16355382..1765d729 100644 --- a/old_docs/API_docs_v45/constructors/user.md +++ b/old_docs/API_docs_v45/constructors/user.md @@ -43,6 +43,13 @@ description: user attributes, type and example $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, '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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","self":"Bool","contact":"Bool","mutual_contact":"Bool","deleted":"Bool","bot":"Bool","bot_chat_history":"Bool","bot_nochats":"Bool","verified":"Bool","restricted":"Bool","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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/userEmpty.md b/old_docs/API_docs_v45/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v45/constructors/userEmpty.md +++ b/old_docs/API_docs_v45/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/userFull.md b/old_docs/API_docs_v45/constructors/userFull.md index eec3fa8c..2e6da813 100644 --- a/old_docs/API_docs_v45/constructors/userFull.md +++ b/old_docs/API_docs_v45/constructors/userFull.md @@ -29,6 +29,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/userProfilePhoto.md b/old_docs/API_docs_v45/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v45/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v45/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v45/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v45/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v45/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/userStatusEmpty.md b/old_docs/API_docs_v45/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v45/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v45/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/userStatusLastMonth.md b/old_docs/API_docs_v45/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v45/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v45/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/userStatusLastWeek.md b/old_docs/API_docs_v45/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v45/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v45/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/userStatusOffline.md b/old_docs/API_docs_v45/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v45/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v45/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/userStatusOnline.md b/old_docs/API_docs_v45/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v45/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v45/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/userStatusRecently.md b/old_docs/API_docs_v45/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v45/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v45/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/vector.md b/old_docs/API_docs_v45/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v45/constructors/vector.md +++ b/old_docs/API_docs_v45/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/video.md b/old_docs/API_docs_v45/constructors/video.md index 7c15f909..d1e2e49e 100644 --- a/old_docs/API_docs_v45/constructors/video.md +++ b/old_docs/API_docs_v45/constructors/video.md @@ -33,6 +33,13 @@ description: video attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/videoEmpty.md b/old_docs/API_docs_v45/constructors/videoEmpty.md index 74b18d58..d5d10973 100644 --- a/old_docs/API_docs_v45/constructors/videoEmpty.md +++ b/old_docs/API_docs_v45/constructors/videoEmpty.md @@ -24,6 +24,13 @@ description: videoEmpty attributes, type and example $videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"videoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/wallPaper.md b/old_docs/API_docs_v45/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v45/constructors/wallPaper.md +++ b/old_docs/API_docs_v45/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/wallPaperSolid.md b/old_docs/API_docs_v45/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v45/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v45/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/webPage.md b/old_docs/API_docs_v45/constructors/webPage.md index 7c0a432f..b4dd86ee 100644 --- a/old_docs/API_docs_v45/constructors/webPage.md +++ b/old_docs/API_docs_v45/constructors/webPage.md @@ -38,6 +38,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/webPageEmpty.md b/old_docs/API_docs_v45/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v45/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v45/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/constructors/webPagePending.md b/old_docs/API_docs_v45/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v45/constructors/webPagePending.md +++ b/old_docs/API_docs_v45/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/account_changePhone.md b/old_docs/API_docs_v45/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v45/methods/account_changePhone.md +++ b/old_docs/API_docs_v45/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_checkUsername.md b/old_docs/API_docs_v45/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v45/methods/account_checkUsername.md +++ b/old_docs/API_docs_v45/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_deleteAccount.md b/old_docs/API_docs_v45/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v45/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v45/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_getAccountTTL.md b/old_docs/API_docs_v45/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v45/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v45/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/account_getAuthorizations.md b/old_docs/API_docs_v45/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v45/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v45/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/account_getNotifySettings.md b/old_docs/API_docs_v45/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v45/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_getPassword.md b/old_docs/API_docs_v45/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v45/methods/account_getPassword.md +++ b/old_docs/API_docs_v45/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/account_getPasswordSettings.md b/old_docs/API_docs_v45/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v45/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v45/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_getPrivacy.md b/old_docs/API_docs_v45/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v45/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v45/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_getWallPapers.md b/old_docs/API_docs_v45/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v45/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v45/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/account_registerDevice.md b/old_docs/API_docs_v45/methods/account_registerDevice.md index 746ac76d..c786c6a8 100644 --- a/old_docs/API_docs_v45/methods/account_registerDevice.md +++ b/old_docs/API_docs_v45/methods/account_registerDevice.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +app_sandbox - Json encoded Bool +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_reportPeer.md b/old_docs/API_docs_v45/methods/account_reportPeer.md index 019e88a5..08c8d0d5 100644 --- a/old_docs/API_docs_v45/methods/account_reportPeer.md +++ b/old_docs/API_docs_v45/methods/account_reportPeer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.reportPeer +* params - {"peer":"InputPeer","reason":"ReportReason"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.reportPeer` + +Parameters: + +peer - Json encoded InputPeer +reason - Json encoded ReportReason + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_resetAuthorization.md b/old_docs/API_docs_v45/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v45/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v45/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_resetNotifySettings.md b/old_docs/API_docs_v45/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v45/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md index 002dc1ab..605bcaa3 100644 --- a/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v45/methods/account_sendChangePhoneCode.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_setAccountTTL.md b/old_docs/API_docs_v45/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v45/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v45/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_setPrivacy.md b/old_docs/API_docs_v45/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v45/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v45/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_unregisterDevice.md b/old_docs/API_docs_v45/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v45/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v45/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v45/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_updateNotifySettings.md b/old_docs/API_docs_v45/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v45/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v45/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v45/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_updateProfile.md b/old_docs/API_docs_v45/methods/account_updateProfile.md index 6e8891d0..bf1c3b8f 100644 --- a/old_docs/API_docs_v45/methods/account_updateProfile.md +++ b/old_docs/API_docs_v45/methods/account_updateProfile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_updateStatus.md b/old_docs/API_docs_v45/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v45/methods/account_updateStatus.md +++ b/old_docs/API_docs_v45/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/account_updateUsername.md b/old_docs/API_docs_v45/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v45/methods/account_updateUsername.md +++ b/old_docs/API_docs_v45/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v45/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/auth_checkPassword.md b/old_docs/API_docs_v45/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v45/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v45/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/auth_checkPhone.md b/old_docs/API_docs_v45/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v45/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v45/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/auth_exportAuthorization.md b/old_docs/API_docs_v45/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v45/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/auth_importAuthorization.md b/old_docs/API_docs_v45/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v45/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v45/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/auth_logOut.md b/old_docs/API_docs_v45/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v45/methods/auth_logOut.md +++ b/old_docs/API_docs_v45/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/auth_recoverPassword.md b/old_docs/API_docs_v45/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v45/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v45/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v45/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v45/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/auth_sendCall.md b/old_docs/API_docs_v45/methods/auth_sendCall.md index 9e50a03d..08b4d1d4 100644 --- a/old_docs/API_docs_v45/methods/auth_sendCall.md +++ b/old_docs/API_docs_v45/methods/auth_sendCall.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCall +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCall` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/auth_sendCode.md b/old_docs/API_docs_v45/methods/auth_sendCode.md index 6896bc05..a9009e4b 100644 --- a/old_docs/API_docs_v45/methods/auth_sendCode.md +++ b/old_docs/API_docs_v45/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +phone_number - Json encoded string +sms_type - Json encoded int +api_id - Json encoded int +api_hash - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/auth_sendInvites.md b/old_docs/API_docs_v45/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v45/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v45/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/auth_sendSms.md b/old_docs/API_docs_v45/methods/auth_sendSms.md index 3653ccdd..5e62431c 100644 --- a/old_docs/API_docs_v45/methods/auth_sendSms.md +++ b/old_docs/API_docs_v45/methods/auth_sendSms.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendSms +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendSms` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/auth_signIn.md b/old_docs/API_docs_v45/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v45/methods/auth_signIn.md +++ b/old_docs/API_docs_v45/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/auth_signUp.md b/old_docs/API_docs_v45/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v45/methods/auth_signUp.md +++ b/old_docs/API_docs_v45/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_checkUsername.md b/old_docs/API_docs_v45/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/old_docs/API_docs_v45/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v45/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_createChannel.md b/old_docs/API_docs_v45/methods/channels_createChannel.md index a4819767..853ca900 100644 --- a/old_docs/API_docs_v45/methods/channels_createChannel.md +++ b/old_docs/API_docs_v45/methods/channels_createChannel.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +broadcast - Json encoded Bool +megagroup - Json encoded Bool +title - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_deleteChannel.md b/old_docs/API_docs_v45/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v45/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_deleteMessages.md b/old_docs/API_docs_v45/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v45/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v45/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_editAbout.md b/old_docs/API_docs_v45/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/old_docs/API_docs_v45/methods/channels_editAbout.md +++ b/old_docs/API_docs_v45/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_editAdmin.md b/old_docs/API_docs_v45/methods/channels_editAdmin.md index 4596e082..729d5e28 100644 --- a/old_docs/API_docs_v45/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v45/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +role - Json encoded ChannelParticipantRole + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_editPhoto.md b/old_docs/API_docs_v45/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/old_docs/API_docs_v45/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v45/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_editTitle.md b/old_docs/API_docs_v45/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/old_docs/API_docs_v45/methods/channels_editTitle.md +++ b/old_docs/API_docs_v45/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_exportInvite.md b/old_docs/API_docs_v45/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/old_docs/API_docs_v45/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v45/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_getChannels.md b/old_docs/API_docs_v45/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/old_docs/API_docs_v45/methods/channels_getChannels.md +++ b/old_docs/API_docs_v45/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_getDialogs.md b/old_docs/API_docs_v45/methods/channels_getDialogs.md index 601510e1..b20fb17c 100644 --- a/old_docs/API_docs_v45/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v45/methods/channels_getDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getDialogs +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getDialogs` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_getFullChannel.md b/old_docs/API_docs_v45/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/old_docs/API_docs_v45/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v45/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_getImportantHistory.md b/old_docs/API_docs_v45/methods/channels_getImportantHistory.md index 2b5f5632..348621e1 100644 --- a/old_docs/API_docs_v45/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v45/methods/channels_getImportantHistory.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getImportantHistory +* params - {"channel":"InputChannel","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getImportantHistory` + +Parameters: + +channel - Json encoded InputChannel +offset_id - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_getMessages.md b/old_docs/API_docs_v45/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/old_docs/API_docs_v45/methods/channels_getMessages.md +++ b/old_docs/API_docs_v45/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_getParticipant.md b/old_docs/API_docs_v45/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_getParticipants.md b/old_docs/API_docs_v45/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/old_docs/API_docs_v45/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v45/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_inviteToChannel.md b/old_docs/API_docs_v45/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/old_docs/API_docs_v45/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v45/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_joinChannel.md b/old_docs/API_docs_v45/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/old_docs/API_docs_v45/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v45/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_kickFromChannel.md b/old_docs/API_docs_v45/methods/channels_kickFromChannel.md index 1dc6b4b7..5e91bc24 100644 --- a/old_docs/API_docs_v45/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v45/methods/channels_kickFromChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.kickFromChannel +* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.kickFromChannel` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +kicked - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_leaveChannel.md b/old_docs/API_docs_v45/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/old_docs/API_docs_v45/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v45/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_readHistory.md b/old_docs/API_docs_v45/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/old_docs/API_docs_v45/methods/channels_readHistory.md +++ b/old_docs/API_docs_v45/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_reportSpam.md b/old_docs/API_docs_v45/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/old_docs/API_docs_v45/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v45/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_toggleComments.md b/old_docs/API_docs_v45/methods/channels_toggleComments.md index 930df0e2..e3b45398 100644 --- a/old_docs/API_docs_v45/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v45/methods/channels_toggleComments.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleComments +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleComments` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/channels_updateUsername.md b/old_docs/API_docs_v45/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/old_docs/API_docs_v45/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v45/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/contacts_block.md b/old_docs/API_docs_v45/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v45/methods/contacts_block.md +++ b/old_docs/API_docs_v45/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/contacts_deleteContact.md b/old_docs/API_docs_v45/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v45/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v45/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/contacts_deleteContacts.md b/old_docs/API_docs_v45/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v45/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/contacts_exportCard.md b/old_docs/API_docs_v45/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v45/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v45/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/contacts_getBlocked.md b/old_docs/API_docs_v45/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v45/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v45/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/contacts_getContacts.md b/old_docs/API_docs_v45/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v45/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/contacts_getStatuses.md b/old_docs/API_docs_v45/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v45/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v45/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/contacts_getSuggested.md b/old_docs/API_docs_v45/methods/contacts_getSuggested.md index 1c9a532d..66e4c1b3 100644 --- a/old_docs/API_docs_v45/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v45/methods/contacts_getSuggested.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getSuggested +* params - {"limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getSuggested` + +Parameters: + +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/contacts_importCard.md b/old_docs/API_docs_v45/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v45/methods/contacts_importCard.md +++ b/old_docs/API_docs_v45/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/contacts_importContacts.md b/old_docs/API_docs_v45/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v45/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v45/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/contacts_resolveUsername.md b/old_docs/API_docs_v45/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/old_docs/API_docs_v45/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v45/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/contacts_search.md b/old_docs/API_docs_v45/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v45/methods/contacts_search.md +++ b/old_docs/API_docs_v45/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/contacts_unblock.md b/old_docs/API_docs_v45/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v45/methods/contacts_unblock.md +++ b/old_docs/API_docs_v45/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/help_getAppChangelog.md b/old_docs/API_docs_v45/methods/help_getAppChangelog.md index 337c12be..b93c56db 100644 --- a/old_docs/API_docs_v45/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v45/methods/help_getAppChangelog.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/help_getAppUpdate.md b/old_docs/API_docs_v45/methods/help_getAppUpdate.md index b52e83e8..58430792 100644 --- a/old_docs/API_docs_v45/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v45/methods/help_getAppUpdate.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/help_getConfig.md b/old_docs/API_docs_v45/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v45/methods/help_getConfig.md +++ b/old_docs/API_docs_v45/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/help_getInviteText.md b/old_docs/API_docs_v45/methods/help_getInviteText.md index 2d9c4653..ec75a17f 100644 --- a/old_docs/API_docs_v45/methods/help_getInviteText.md +++ b/old_docs/API_docs_v45/methods/help_getInviteText.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/help_getNearestDc.md b/old_docs/API_docs_v45/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v45/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v45/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/help_getSupport.md b/old_docs/API_docs_v45/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v45/methods/help_getSupport.md +++ b/old_docs/API_docs_v45/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/help_getTermsOfService.md b/old_docs/API_docs_v45/methods/help_getTermsOfService.md index 41d8b978..c6bfce8a 100644 --- a/old_docs/API_docs_v45/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v45/methods/help_getTermsOfService.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getTermsOfService +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getTermsOfService` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/help_saveAppLog.md b/old_docs/API_docs_v45/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v45/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v45/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/initConnection.md b/old_docs/API_docs_v45/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v45/methods/initConnection.md +++ b/old_docs/API_docs_v45/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/invokeAfterMsg.md b/old_docs/API_docs_v45/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v45/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v45/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/invokeAfterMsgs.md b/old_docs/API_docs_v45/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v45/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v45/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/invokeWithLayer.md b/old_docs/API_docs_v45/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v45/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v45/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v45/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_acceptEncryption.md b/old_docs/API_docs_v45/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v45/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v45/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_addChatUser.md b/old_docs/API_docs_v45/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v45/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v45/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_checkChatInvite.md b/old_docs/API_docs_v45/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v45/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_createChat.md b/old_docs/API_docs_v45/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v45/methods/messages_createChat.md +++ b/old_docs/API_docs_v45/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_deleteChatUser.md b/old_docs/API_docs_v45/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v45/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_deleteHistory.md b/old_docs/API_docs_v45/methods/messages_deleteHistory.md index f37e5d08..e5f132c6 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v45/methods/messages_deleteHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_deleteMessages.md b/old_docs/API_docs_v45/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v45/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v45/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_discardEncryption.md b/old_docs/API_docs_v45/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v45/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v45/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_editChatAdmin.md b/old_docs/API_docs_v45/methods/messages_editChatAdmin.md index 515c2ede..2ad6d72c 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v45/methods/messages_editChatAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatAdmin +* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +is_admin - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_editChatPhoto.md b/old_docs/API_docs_v45/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v45/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_editChatTitle.md b/old_docs/API_docs_v45/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v45/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v45/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_exportChatInvite.md b/old_docs/API_docs_v45/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v45/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_forwardMessage.md b/old_docs/API_docs_v45/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v45/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v45/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_forwardMessages.md b/old_docs/API_docs_v45/methods/messages_forwardMessages.md index 3fbcfee6..812a4214 100644 --- a/old_docs/API_docs_v45/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v45/methods/messages_forwardMessages.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"broadcast":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +broadcast - Json encoded Bool +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getAllStickers.md b/old_docs/API_docs_v45/methods/messages_getAllStickers.md index bc49bdd6..b2f1eb71 100644 --- a/old_docs/API_docs_v45/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v45/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getChats.md b/old_docs/API_docs_v45/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v45/methods/messages_getChats.md +++ b/old_docs/API_docs_v45/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getDhConfig.md b/old_docs/API_docs_v45/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v45/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v45/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getDialogs.md b/old_docs/API_docs_v45/methods/messages_getDialogs.md index 61fa3149..a0884730 100644 --- a/old_docs/API_docs_v45/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v45/methods/messages_getDialogs.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset_date - Json encoded int +offset_id - Json encoded int +offset_peer - Json encoded InputPeer +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md index 2daac691..ca541c7e 100644 --- a/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v45/methods/messages_getDocumentByHash.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDocumentByHash +* params - {"sha256":"bytes","size":"int","mime_type":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDocumentByHash` + +Parameters: + +sha256 - Json encoded bytes +size - Json encoded int +mime_type - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getFullChat.md b/old_docs/API_docs_v45/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v45/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v45/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getHistory.md b/old_docs/API_docs_v45/methods/messages_getHistory.md index f32402a7..b22bd09e 100644 --- a/old_docs/API_docs_v45/methods/messages_getHistory.md +++ b/old_docs/API_docs_v45/methods/messages_getHistory.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md index b79bcc37..452e70c8 100644 --- a/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v45/methods/messages_getInlineBotResults.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'query' => string, 'offset' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineBotResults +* params - {"bot":"InputUser","query":"string","offset":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineBotResults` + +Parameters: + +bot - Json encoded InputUser +query - Json encoded string +offset - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getMessages.md b/old_docs/API_docs_v45/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v45/methods/messages_getMessages.md +++ b/old_docs/API_docs_v45/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getMessagesViews.md b/old_docs/API_docs_v45/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/old_docs/API_docs_v45/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v45/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getSavedGifs.md b/old_docs/API_docs_v45/methods/messages_getSavedGifs.md index c528873b..a7a0cbd2 100644 --- a/old_docs/API_docs_v45/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v45/methods/messages_getSavedGifs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getSavedGifs +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getSavedGifs` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getStickerSet.md b/old_docs/API_docs_v45/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v45/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getStickers.md b/old_docs/API_docs_v45/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v45/methods/messages_getStickers.md +++ b/old_docs/API_docs_v45/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v45/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_importChatInvite.md b/old_docs/API_docs_v45/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v45/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v45/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_installStickerSet.md b/old_docs/API_docs_v45/methods/messages_installStickerSet.md index a3c12183..637005f3 100644 --- a/old_docs/API_docs_v45/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","disabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +disabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_migrateChat.md b/old_docs/API_docs_v45/methods/messages_migrateChat.md index eaa988a7..1d8e1ca5 100644 --- a/old_docs/API_docs_v45/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v45/methods/messages_migrateChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.migrateChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.migrateChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v45/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_readHistory.md b/old_docs/API_docs_v45/methods/messages_readHistory.md index c5ddb451..99ce0e57 100644 --- a/old_docs/API_docs_v45/methods/messages_readHistory.md +++ b/old_docs/API_docs_v45/methods/messages_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_readMessageContents.md b/old_docs/API_docs_v45/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v45/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v45/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_receivedMessages.md b/old_docs/API_docs_v45/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v45/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v45/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_receivedQueue.md b/old_docs/API_docs_v45/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v45/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v45/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md index eda07dd9..3187ba89 100644 --- a/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v45/methods/messages_reorderStickerSets.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderStickerSets +* params - {"order":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderStickerSets` + +Parameters: + +order - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_reportSpam.md b/old_docs/API_docs_v45/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v45/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v45/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_requestEncryption.md b/old_docs/API_docs_v45/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v45/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v45/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_saveGif.md b/old_docs/API_docs_v45/methods/messages_saveGif.md index 6a2269b5..c6a5e7ba 100644 --- a/old_docs/API_docs_v45/methods/messages_saveGif.md +++ b/old_docs/API_docs_v45/methods/messages_saveGif.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveGif +* params - {"id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveGif` + +Parameters: + +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_search.md b/old_docs/API_docs_v45/methods/messages_search.md index 3b082420..bba7fce0 100644 --- a/old_docs/API_docs_v45/methods/messages_search.md +++ b/old_docs/API_docs_v45/methods/messages_search.md @@ -44,6 +44,38 @@ if (isset($number)) { // Login as a user $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, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"important_only":"Bool","peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +important_only - Json encoded Bool +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_searchGifs.md b/old_docs/API_docs_v45/methods/messages_searchGifs.md index ca0934be..24658214 100644 --- a/old_docs/API_docs_v45/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v45/methods/messages_searchGifs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGifs +* params - {"q":"string","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGifs` + +Parameters: + +q - Json encoded string +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_searchGlobal.md b/old_docs/API_docs_v45/methods/messages_searchGlobal.md index 36f09366..0095015c 100644 --- a/old_docs/API_docs_v45/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v45/methods/messages_searchGlobal.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGlobal +* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGlobal` + +Parameters: + +q - Json encoded string +offset_date - Json encoded int +offset_peer - Json encoded InputPeer +offset_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendBroadcast.md b/old_docs/API_docs_v45/methods/messages_sendBroadcast.md index d4af6317..81e9c7b8 100644 --- a/old_docs/API_docs_v45/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v45/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendEncrypted.md b/old_docs/API_docs_v45/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v45/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md index b81e47bd..3552d87b 100644 --- a/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v45/methods/messages_sendInlineBotResult.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendInlineBotResult +* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendInlineBotResult` + +Parameters: + +broadcast - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +query_id - Json encoded long +id - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendMedia.md b/old_docs/API_docs_v45/methods/messages_sendMedia.md index a90c27a3..750419ad 100644 --- a/old_docs/API_docs_v45/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v45/methods/messages_sendMedia.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +broadcast - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_sendMessage.md b/old_docs/API_docs_v45/methods/messages_sendMessage.md index 57d70bd1..cb76f655 100644 --- a/old_docs/API_docs_v45/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v45/methods/messages_sendMessage.md @@ -43,6 +43,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"no_webpage":"Bool","broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v45/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md index 71fe5c0b..0231ff63 100644 --- a/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v45/methods/messages_setInlineBotResults.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineBotResults +* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineBotResults` + +Parameters: + +gallery - Json encoded Bool +private - Json encoded Bool +query_id - Json encoded long +results - Json encoded array of InputBotInlineResult +cache_time - Json encoded int +next_offset - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_setTyping.md b/old_docs/API_docs_v45/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v45/methods/messages_setTyping.md +++ b/old_docs/API_docs_v45/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_startBot.md b/old_docs/API_docs_v45/methods/messages_startBot.md index 58aadfab..93229d34 100644 --- a/old_docs/API_docs_v45/methods/messages_startBot.md +++ b/old_docs/API_docs_v45/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md index ec1809f3..2edb160a 100644 --- a/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v45/methods/messages_toggleChatAdmins.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleChatAdmins +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleChatAdmins` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v45/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/photos_deletePhotos.md b/old_docs/API_docs_v45/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v45/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v45/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/photos_getUserPhotos.md b/old_docs/API_docs_v45/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v45/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v45/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v45/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v45/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/updates_getChannelDifference.md b/old_docs/API_docs_v45/methods/updates_getChannelDifference.md index 6fe9722a..d2aedcea 100644 --- a/old_docs/API_docs_v45/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v45/methods/updates_getChannelDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/updates_getDifference.md b/old_docs/API_docs_v45/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v45/methods/updates_getDifference.md +++ b/old_docs/API_docs_v45/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/updates_getState.md b/old_docs/API_docs_v45/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v45/methods/updates_getState.md +++ b/old_docs/API_docs_v45/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v45/methods/upload_getFile.md b/old_docs/API_docs_v45/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v45/methods/upload_getFile.md +++ b/old_docs/API_docs_v45/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v45/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/upload_saveFilePart.md b/old_docs/API_docs_v45/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v45/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v45/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/users_getFullUser.md b/old_docs/API_docs_v45/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v45/methods/users_getFullUser.md +++ b/old_docs/API_docs_v45/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v45/methods/users_getUsers.md b/old_docs/API_docs_v45/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v45/methods/users_getUsers.md +++ b/old_docs/API_docs_v45/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/constructors/accountDaysTTL.md b/old_docs/API_docs_v46/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v46/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v46/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/account_authorizations.md b/old_docs/API_docs_v46/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v46/constructors/account_authorizations.md +++ b/old_docs/API_docs_v46/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/account_noPassword.md b/old_docs/API_docs_v46/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v46/constructors/account_noPassword.md +++ b/old_docs/API_docs_v46/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/account_password.md b/old_docs/API_docs_v46/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v46/constructors/account_password.md +++ b/old_docs/API_docs_v46/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v46/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v46/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v46/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/account_passwordSettings.md b/old_docs/API_docs_v46/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v46/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v46/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/account_privacyRules.md b/old_docs/API_docs_v46/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v46/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v46/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md b/old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md index 77fbeb66..1b776018 100644 --- a/old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md +++ b/old_docs/API_docs_v46/constructors/account_sentChangePhoneCode.md @@ -25,6 +25,13 @@ description: account_sentChangePhoneCode attributes, type and example $account_sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.sentChangePhoneCode","phone_code_hash":"string","send_call_timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/audio.md b/old_docs/API_docs_v46/constructors/audio.md index b99c9822..d0f34764 100644 --- a/old_docs/API_docs_v46/constructors/audio.md +++ b/old_docs/API_docs_v46/constructors/audio.md @@ -30,6 +30,13 @@ description: audio attributes, type and example $audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audio","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/audioEmpty.md b/old_docs/API_docs_v46/constructors/audioEmpty.md index 7a3b8772..72e43b19 100644 --- a/old_docs/API_docs_v46/constructors/audioEmpty.md +++ b/old_docs/API_docs_v46/constructors/audioEmpty.md @@ -24,6 +24,13 @@ description: audioEmpty attributes, type and example $audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"audioEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/auth_authorization.md b/old_docs/API_docs_v46/constructors/auth_authorization.md index 6b60d2ec..90504507 100644 --- a/old_docs/API_docs_v46/constructors/auth_authorization.md +++ b/old_docs/API_docs_v46/constructors/auth_authorization.md @@ -24,6 +24,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/auth_checkedPhone.md b/old_docs/API_docs_v46/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v46/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v46/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v46/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v46/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v46/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v46/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/auth_sentAppCode.md b/old_docs/API_docs_v46/constructors/auth_sentAppCode.md index d0d99104..4288276f 100644 --- a/old_docs/API_docs_v46/constructors/auth_sentAppCode.md +++ b/old_docs/API_docs_v46/constructors/auth_sentAppCode.md @@ -27,6 +27,13 @@ description: auth_sentAppCode attributes, type and example $auth_sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentAppCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/auth_sentCode.md b/old_docs/API_docs_v46/constructors/auth_sentCode.md index edadb37e..d393aeae 100644 --- a/old_docs/API_docs_v46/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v46/constructors/auth_sentCode.md @@ -27,6 +27,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","phone_code_hash":"string","send_call_timeout":"int","is_password":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/authorization.md b/old_docs/API_docs_v46/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v46/constructors/authorization.md +++ b/old_docs/API_docs_v46/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/botCommand.md b/old_docs/API_docs_v46/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v46/constructors/botCommand.md +++ b/old_docs/API_docs_v46/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/botInfo.md b/old_docs/API_docs_v46/constructors/botInfo.md index 41d6dc96..32328ee5 100644 --- a/old_docs/API_docs_v46/constructors/botInfo.md +++ b/old_docs/API_docs_v46/constructors/botInfo.md @@ -28,6 +28,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","version":"int","share_text":"string","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/botInfoEmpty.md b/old_docs/API_docs_v46/constructors/botInfoEmpty.md index 0466220a..0e6a5962 100644 --- a/old_docs/API_docs_v46/constructors/botInfoEmpty.md +++ b/old_docs/API_docs_v46/constructors/botInfoEmpty.md @@ -19,6 +19,13 @@ description: botInfoEmpty attributes, type and example $botInfoEmpty = ['_' => 'botInfoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/botInlineMediaResultDocument.md b/old_docs/API_docs_v46/constructors/botInlineMediaResultDocument.md index 3faf664a..5efa9544 100644 --- a/old_docs/API_docs_v46/constructors/botInlineMediaResultDocument.md +++ b/old_docs/API_docs_v46/constructors/botInlineMediaResultDocument.md @@ -27,6 +27,13 @@ description: botInlineMediaResultDocument attributes, type and example $botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => string, 'type' => string, 'document' => Document, 'send_message' => BotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMediaResultDocument","id":"string","type":"string","document":"Document","send_message":"BotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/botInlineMediaResultPhoto.md b/old_docs/API_docs_v46/constructors/botInlineMediaResultPhoto.md index 2ffd2679..8f3ffa7e 100644 --- a/old_docs/API_docs_v46/constructors/botInlineMediaResultPhoto.md +++ b/old_docs/API_docs_v46/constructors/botInlineMediaResultPhoto.md @@ -27,6 +27,13 @@ description: botInlineMediaResultPhoto attributes, type and example $botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => string, 'type' => string, 'photo' => Photo, 'send_message' => BotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMediaResultPhoto","id":"string","type":"string","photo":"Photo","send_message":"BotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v46/constructors/botInlineMessageMediaAuto.md index 0665ede1..2eab032c 100644 --- a/old_docs/API_docs_v46/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v46/constructors/botInlineMessageMediaAuto.md @@ -24,6 +24,13 @@ description: botInlineMessageMediaAuto attributes, type and example $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaAuto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/botInlineMessageText.md b/old_docs/API_docs_v46/constructors/botInlineMessageText.md index c3a64925..c0f2a745 100644 --- a/old_docs/API_docs_v46/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v46/constructors/botInlineMessageText.md @@ -26,6 +26,13 @@ description: botInlineMessageText attributes, type and example $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/botInlineResult.md b/old_docs/API_docs_v46/constructors/botInlineResult.md index 839edda1..57255b6c 100644 --- a/old_docs/API_docs_v46/constructors/botInlineResult.md +++ b/old_docs/API_docs_v46/constructors/botInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channel.md b/old_docs/API_docs_v46/constructors/channel.md index dd755216..fde31936 100644 --- a/old_docs/API_docs_v46/constructors/channel.md +++ b/old_docs/API_docs_v46/constructors/channel.md @@ -40,6 +40,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","creator":"Bool","kicked":"Bool","left":"Bool","editor":"Bool","moderator":"Bool","broadcast":"Bool","verified":"Bool","megagroup":"Bool","restricted":"Bool","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int","restriction_reason":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelForbidden.md b/old_docs/API_docs_v46/constructors/channelForbidden.md index ea7a1999..7c9a3dae 100644 --- a/old_docs/API_docs_v46/constructors/channelForbidden.md +++ b/old_docs/API_docs_v46/constructors/channelForbidden.md @@ -26,6 +26,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelFull.md b/old_docs/API_docs_v46/constructors/channelFull.md index 6fac3d5b..d44fd8e3 100644 --- a/old_docs/API_docs_v46/constructors/channelFull.md +++ b/old_docs/API_docs_v46/constructors/channelFull.md @@ -38,6 +38,13 @@ description: channelFull attributes, type and example $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, '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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","can_view_participants":"Bool","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":["BotInfo"],"migrated_from_chat_id":"int","migrated_from_max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelMessagesFilter.md b/old_docs/API_docs_v46/constructors/channelMessagesFilter.md index fe0318da..b6f94861 100644 --- a/old_docs/API_docs_v46/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v46/constructors/channelMessagesFilter.md @@ -26,6 +26,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","important_only":"Bool","exclude_new_messages":"Bool","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v46/constructors/channelMessagesFilterCollapsed.md index 11cebd02..a1563c5b 100644 --- a/old_docs/API_docs_v46/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v46/constructors/channelMessagesFilterCollapsed.md @@ -19,6 +19,13 @@ description: channelMessagesFilterCollapsed attributes, type and example $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterCollapsed"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v46/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v46/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v46/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelParticipant.md b/old_docs/API_docs_v46/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipant.md +++ b/old_docs/API_docs_v46/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelParticipantCreator.md b/old_docs/API_docs_v46/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelParticipantEditor.md b/old_docs/API_docs_v46/constructors/channelParticipantEditor.md index 3c866534..64f84b38 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantEditor.md @@ -26,6 +26,13 @@ description: channelParticipantEditor attributes, type and example $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelParticipantKicked.md b/old_docs/API_docs_v46/constructors/channelParticipantKicked.md index 362872f9..4aedad4d 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantKicked.md @@ -26,6 +26,13 @@ description: channelParticipantKicked attributes, type and example $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelParticipantModerator.md b/old_docs/API_docs_v46/constructors/channelParticipantModerator.md index ff9a7094..634f9de8 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantModerator.md @@ -26,6 +26,13 @@ description: channelParticipantModerator attributes, type and example $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelParticipantSelf.md b/old_docs/API_docs_v46/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v46/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelParticipantsBots.md b/old_docs/API_docs_v46/constructors/channelParticipantsBots.md index 24b68c95..963f155e 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantsBots.md @@ -19,6 +19,13 @@ description: channelParticipantsBots attributes, type and example $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBots"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v46/constructors/channelParticipantsKicked.md index d7889060..37714c3e 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantsKicked.md @@ -19,6 +19,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v46/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/old_docs/API_docs_v46/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v46/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelRoleEditor.md b/old_docs/API_docs_v46/constructors/channelRoleEditor.md index 103b7ae5..fea2e406 100644 --- a/old_docs/API_docs_v46/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v46/constructors/channelRoleEditor.md @@ -19,6 +19,13 @@ description: channelRoleEditor attributes, type and example $channelRoleEditor = ['_' => 'channelRoleEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEditor"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelRoleEmpty.md b/old_docs/API_docs_v46/constructors/channelRoleEmpty.md index b5a7b52c..932c9fb4 100644 --- a/old_docs/API_docs_v46/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v46/constructors/channelRoleEmpty.md @@ -19,6 +19,13 @@ description: channelRoleEmpty attributes, type and example $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channelRoleModerator.md b/old_docs/API_docs_v46/constructors/channelRoleModerator.md index f3aaff68..5d6a37d1 100644 --- a/old_docs/API_docs_v46/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v46/constructors/channelRoleModerator.md @@ -19,6 +19,13 @@ description: channelRoleModerator attributes, type and example $channelRoleModerator = ['_' => 'channelRoleModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleModerator"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channels_channelParticipant.md b/old_docs/API_docs_v46/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/old_docs/API_docs_v46/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v46/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/channels_channelParticipants.md b/old_docs/API_docs_v46/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/old_docs/API_docs_v46/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v46/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chat.md b/old_docs/API_docs_v46/constructors/chat.md index 9bad67b3..70955e06 100644 --- a/old_docs/API_docs_v46/constructors/chat.md +++ b/old_docs/API_docs_v46/constructors/chat.md @@ -36,6 +36,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatEmpty.md b/old_docs/API_docs_v46/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v46/constructors/chatEmpty.md +++ b/old_docs/API_docs_v46/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatForbidden.md b/old_docs/API_docs_v46/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/old_docs/API_docs_v46/constructors/chatForbidden.md +++ b/old_docs/API_docs_v46/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatFull.md b/old_docs/API_docs_v46/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v46/constructors/chatFull.md +++ b/old_docs/API_docs_v46/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatInvite.md b/old_docs/API_docs_v46/constructors/chatInvite.md index 8207c7f1..effead5a 100644 --- a/old_docs/API_docs_v46/constructors/chatInvite.md +++ b/old_docs/API_docs_v46/constructors/chatInvite.md @@ -28,6 +28,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatInviteAlready.md b/old_docs/API_docs_v46/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v46/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v46/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatInviteEmpty.md b/old_docs/API_docs_v46/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v46/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v46/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatInviteExported.md b/old_docs/API_docs_v46/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v46/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v46/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatParticipant.md b/old_docs/API_docs_v46/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipant.md +++ b/old_docs/API_docs_v46/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v46/constructors/chatParticipantAdmin.md index 6740c4a3..775f29c7 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v46/constructors/chatParticipantAdmin.md @@ -26,6 +26,13 @@ description: chatParticipantAdmin attributes, type and example $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatParticipantCreator.md b/old_docs/API_docs_v46/constructors/chatParticipantCreator.md index b80542a7..687dd93f 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v46/constructors/chatParticipantCreator.md @@ -24,6 +24,13 @@ description: chatParticipantCreator attributes, type and example $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatParticipants.md b/old_docs/API_docs_v46/constructors/chatParticipants.md index 2420f15e..c1602888 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipants.md +++ b/old_docs/API_docs_v46/constructors/chatParticipants.md @@ -26,6 +26,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v46/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/old_docs/API_docs_v46/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v46/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatPhoto.md b/old_docs/API_docs_v46/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v46/constructors/chatPhoto.md +++ b/old_docs/API_docs_v46/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v46/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v46/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v46/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/config.md b/old_docs/API_docs_v46/constructors/config.md index 6acba62e..cd33aeda 100644 --- a/old_docs/API_docs_v46/constructors/config.md +++ b/old_docs/API_docs_v46/constructors/config.md @@ -42,6 +42,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contact.md b/old_docs/API_docs_v46/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v46/constructors/contact.md +++ b/old_docs/API_docs_v46/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contactBlocked.md b/old_docs/API_docs_v46/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v46/constructors/contactBlocked.md +++ b/old_docs/API_docs_v46/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contactLinkContact.md b/old_docs/API_docs_v46/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v46/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v46/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v46/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v46/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v46/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contactLinkNone.md b/old_docs/API_docs_v46/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v46/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v46/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contactLinkUnknown.md b/old_docs/API_docs_v46/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v46/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v46/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contactStatus.md b/old_docs/API_docs_v46/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v46/constructors/contactStatus.md +++ b/old_docs/API_docs_v46/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contactSuggested.md b/old_docs/API_docs_v46/constructors/contactSuggested.md index cf53fa55..0508f837 100644 --- a/old_docs/API_docs_v46/constructors/contactSuggested.md +++ b/old_docs/API_docs_v46/constructors/contactSuggested.md @@ -25,6 +25,13 @@ description: contactSuggested attributes, type and example $contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contacts_blocked.md b/old_docs/API_docs_v46/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v46/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v46/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v46/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v46/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v46/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contacts_contacts.md b/old_docs/API_docs_v46/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v46/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v46/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v46/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contacts_found.md b/old_docs/API_docs_v46/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/old_docs/API_docs_v46/constructors/contacts_found.md +++ b/old_docs/API_docs_v46/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contacts_importedContacts.md b/old_docs/API_docs_v46/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v46/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v46/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contacts_link.md b/old_docs/API_docs_v46/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v46/constructors/contacts_link.md +++ b/old_docs/API_docs_v46/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v46/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/contacts_suggested.md b/old_docs/API_docs_v46/constructors/contacts_suggested.md index 90ff7671..e4dd4100 100644 --- a/old_docs/API_docs_v46/constructors/contacts_suggested.md +++ b/old_docs/API_docs_v46/constructors/contacts_suggested.md @@ -25,6 +25,13 @@ description: contacts_suggested attributes, type and example $contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/dcOption.md b/old_docs/API_docs_v46/constructors/dcOption.md index 124a7148..85ff3d71 100644 --- a/old_docs/API_docs_v46/constructors/dcOption.md +++ b/old_docs/API_docs_v46/constructors/dcOption.md @@ -28,6 +28,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","ipv6":"Bool","media_only":"Bool","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/dialog.md b/old_docs/API_docs_v46/constructors/dialog.md index 9c6f4d43..d706225d 100644 --- a/old_docs/API_docs_v46/constructors/dialog.md +++ b/old_docs/API_docs_v46/constructors/dialog.md @@ -28,6 +28,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/dialogChannel.md b/old_docs/API_docs_v46/constructors/dialogChannel.md index 160dc27e..f4d28d89 100644 --- a/old_docs/API_docs_v46/constructors/dialogChannel.md +++ b/old_docs/API_docs_v46/constructors/dialogChannel.md @@ -31,6 +31,13 @@ description: dialogChannel attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/disabledFeature.md b/old_docs/API_docs_v46/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v46/constructors/disabledFeature.md +++ b/old_docs/API_docs_v46/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/document.md b/old_docs/API_docs_v46/constructors/document.md index 7153e5a6..7e3482ad 100644 --- a/old_docs/API_docs_v46/constructors/document.md +++ b/old_docs/API_docs_v46/constructors/document.md @@ -31,6 +31,13 @@ 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, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v46/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/documentAttributeAudio.md b/old_docs/API_docs_v46/constructors/documentAttributeAudio.md index 23a48363..d56ef28d 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeAudio.md @@ -26,6 +26,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","duration":"int","title":"string","performer":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/documentAttributeFilename.md b/old_docs/API_docs_v46/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v46/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/documentAttributeSticker.md b/old_docs/API_docs_v46/constructors/documentAttributeSticker.md index 9f8168b1..3cb9fcd5 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeSticker.md @@ -25,6 +25,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/documentAttributeVideo.md b/old_docs/API_docs_v46/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v46/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v46/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/documentEmpty.md b/old_docs/API_docs_v46/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v46/constructors/documentEmpty.md +++ b/old_docs/API_docs_v46/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/encryptedChat.md b/old_docs/API_docs_v46/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChat.md +++ b/old_docs/API_docs_v46/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v46/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v46/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v46/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v46/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/encryptedChatRequested.md b/old_docs/API_docs_v46/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v46/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v46/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v46/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v46/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/encryptedFile.md b/old_docs/API_docs_v46/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v46/constructors/encryptedFile.md +++ b/old_docs/API_docs_v46/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v46/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v46/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v46/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/encryptedMessage.md b/old_docs/API_docs_v46/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v46/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v46/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/encryptedMessageService.md b/old_docs/API_docs_v46/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v46/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v46/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/error.md b/old_docs/API_docs_v46/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v46/constructors/error.md +++ b/old_docs/API_docs_v46/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/fileLocation.md b/old_docs/API_docs_v46/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v46/constructors/fileLocation.md +++ b/old_docs/API_docs_v46/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v46/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v46/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v46/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/foundGif.md b/old_docs/API_docs_v46/constructors/foundGif.md index e241eabe..99a0faa0 100644 --- a/old_docs/API_docs_v46/constructors/foundGif.md +++ b/old_docs/API_docs_v46/constructors/foundGif.md @@ -29,6 +29,13 @@ description: foundGif attributes, type and example $foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/foundGifCached.md b/old_docs/API_docs_v46/constructors/foundGifCached.md index f73c07df..a73fb47c 100644 --- a/old_docs/API_docs_v46/constructors/foundGifCached.md +++ b/old_docs/API_docs_v46/constructors/foundGifCached.md @@ -26,6 +26,13 @@ description: foundGifCached attributes, type and example $foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/geoPoint.md b/old_docs/API_docs_v46/constructors/geoPoint.md index 8337e46f..6c37e948 100644 --- a/old_docs/API_docs_v46/constructors/geoPoint.md +++ b/old_docs/API_docs_v46/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'longitude' => double, 'latitude' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","longitude":"double","latitude":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/geoPointEmpty.md b/old_docs/API_docs_v46/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v46/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v46/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/help_appChangelog.md b/old_docs/API_docs_v46/constructors/help_appChangelog.md index 77c1c338..67e40e85 100644 --- a/old_docs/API_docs_v46/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v46/constructors/help_appChangelog.md @@ -24,6 +24,13 @@ description: help_appChangelog attributes, type and example $help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelog","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md index abbb4865..f6ab5ace 100644 --- a/old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v46/constructors/help_appChangelogEmpty.md @@ -19,6 +19,13 @@ description: help_appChangelogEmpty attributes, type and example $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelogEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/help_appUpdate.md b/old_docs/API_docs_v46/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v46/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v46/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/help_inviteText.md b/old_docs/API_docs_v46/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v46/constructors/help_inviteText.md +++ b/old_docs/API_docs_v46/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/help_noAppUpdate.md b/old_docs/API_docs_v46/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v46/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v46/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/help_support.md b/old_docs/API_docs_v46/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v46/constructors/help_support.md +++ b/old_docs/API_docs_v46/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/help_termsOfService.md b/old_docs/API_docs_v46/constructors/help_termsOfService.md index a945b971..6af3d9e5 100644 --- a/old_docs/API_docs_v46/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v46/constructors/help_termsOfService.md @@ -24,6 +24,13 @@ description: help_termsOfService attributes, type and example $help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.termsOfService","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/importedContact.md b/old_docs/API_docs_v46/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v46/constructors/importedContact.md +++ b/old_docs/API_docs_v46/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputAppEvent.md b/old_docs/API_docs_v46/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v46/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v46/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputAudio.md b/old_docs/API_docs_v46/constructors/inputAudio.md index f618b74f..a75e690f 100644 --- a/old_docs/API_docs_v46/constructors/inputAudio.md +++ b/old_docs/API_docs_v46/constructors/inputAudio.md @@ -25,6 +25,13 @@ description: inputAudio attributes, type and example $inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudio","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputAudioEmpty.md b/old_docs/API_docs_v46/constructors/inputAudioEmpty.md index f5ca1a6c..4de803d5 100644 --- a/old_docs/API_docs_v46/constructors/inputAudioEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputAudioEmpty.md @@ -19,6 +19,13 @@ description: inputAudioEmpty attributes, type and example $inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputAudioFileLocation.md b/old_docs/API_docs_v46/constructors/inputAudioFileLocation.md index 8624b224..25650826 100644 --- a/old_docs/API_docs_v46/constructors/inputAudioFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputAudioFileLocation.md @@ -25,6 +25,13 @@ description: inputAudioFileLocation attributes, type and example $inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAudioFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v46/constructors/inputBotInlineMessageMediaAuto.md index f1be5569..bed6991a 100644 --- a/old_docs/API_docs_v46/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v46/constructors/inputBotInlineMessageMediaAuto.md @@ -24,6 +24,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaAuto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md index 51d1fd58..b28d194f 100644 --- a/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md @@ -26,6 +26,13 @@ description: inputBotInlineMessageText attributes, type and example $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputBotInlineResult.md b/old_docs/API_docs_v46/constructors/inputBotInlineResult.md index 9ff31ee5..ed68ad5c 100644 --- a/old_docs/API_docs_v46/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v46/constructors/inputBotInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputChannel.md b/old_docs/API_docs_v46/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/old_docs/API_docs_v46/constructors/inputChannel.md +++ b/old_docs/API_docs_v46/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputChannelEmpty.md b/old_docs/API_docs_v46/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/old_docs/API_docs_v46/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputChatPhoto.md b/old_docs/API_docs_v46/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v46/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v46/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v46/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v46/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v46/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputDocument.md b/old_docs/API_docs_v46/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v46/constructors/inputDocument.md +++ b/old_docs/API_docs_v46/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v46/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v46/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v46/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v46/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputEncryptedChat.md b/old_docs/API_docs_v46/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputEncryptedFile.md b/old_docs/API_docs_v46/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v46/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v46/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v46/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v46/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v46/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v46/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputFile.md b/old_docs/API_docs_v46/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v46/constructors/inputFile.md +++ b/old_docs/API_docs_v46/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputFileBig.md b/old_docs/API_docs_v46/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v46/constructors/inputFileBig.md +++ b/old_docs/API_docs_v46/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputFileLocation.md b/old_docs/API_docs_v46/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v46/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputGeoPoint.md b/old_docs/API_docs_v46/constructors/inputGeoPoint.md index 7adabef7..4c44c459 100644 --- a/old_docs/API_docs_v46/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v46/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'latitude' => double, 'longitude' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","latitude":"double","longitude":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v46/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v46/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaAudio.md b/old_docs/API_docs_v46/constructors/inputMediaAudio.md index 8195e55d..6f13f6c3 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaAudio.md +++ b/old_docs/API_docs_v46/constructors/inputMediaAudio.md @@ -24,6 +24,13 @@ description: inputMediaAudio attributes, type and example $inputMediaAudio = ['_' => 'inputMediaAudio', 'audio' => InputAudio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaAudio","audio":"InputAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaContact.md b/old_docs/API_docs_v46/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v46/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaDocument.md b/old_docs/API_docs_v46/constructors/inputMediaDocument.md index 105dbf43..0d98007d 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v46/constructors/inputMediaDocument.md @@ -25,6 +25,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'document_id' => InputDocument, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","document_id":"InputDocument","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaEmpty.md b/old_docs/API_docs_v46/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v46/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v46/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v46/constructors/inputMediaGifExternal.md index af227d69..284e3cdd 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v46/constructors/inputMediaGifExternal.md @@ -25,6 +25,13 @@ description: inputMediaGifExternal attributes, type and example $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGifExternal","url":"string","q":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaPhoto.md b/old_docs/API_docs_v46/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaUploadedAudio.md b/old_docs/API_docs_v46/constructors/inputMediaUploadedAudio.md index ad427e4f..e3298757 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedAudio.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedAudio.md @@ -26,6 +26,13 @@ description: inputMediaUploadedAudio attributes, type and example $inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedAudio","file":"InputFile","duration":"int","mime_type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v46/constructors/inputMediaUploadedDocument.md index 39526664..d7c6dee4 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v46/constructors/inputMediaUploadedPhoto.md index 0c4c9135..923fd903 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbDocument.md index 6ad07130..8c1c9295 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbDocument.md @@ -28,6 +28,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbVideo.md b/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbVideo.md index ccb3076b..5042784d 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedThumbVideo.md @@ -30,6 +30,13 @@ description: inputMediaUploadedThumbVideo attributes, type and example $inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbVideo","file":"InputFile","thumb":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaUploadedVideo.md b/old_docs/API_docs_v46/constructors/inputMediaUploadedVideo.md index a6750886..0009243e 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaUploadedVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMediaUploadedVideo.md @@ -29,6 +29,13 @@ description: inputMediaUploadedVideo attributes, type and example $inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaVenue.md b/old_docs/API_docs_v46/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v46/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMediaVideo.md b/old_docs/API_docs_v46/constructors/inputMediaVideo.md index bd720bd2..ee4d1d94 100644 --- a/old_docs/API_docs_v46/constructors/inputMediaVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMediaVideo.md @@ -25,6 +25,13 @@ description: inputMediaVideo attributes, type and example $inputMediaVideo = ['_' => 'inputMediaVideo', 'video' => InputVideo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVideo","video":"InputVideo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterAudio.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterAudio.md index c326c700..2c8e29fe 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterAudio.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterAudio.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudio attributes, type and example $inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md index 9d6d7b67..8b876e5e 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterAudioDocuments attributes, type and example $inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterAudioDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterGif.md index 02da8091..31be8767 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterGif.md @@ -19,6 +19,13 @@ description: inputMessagesFilterGif attributes, type and example $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v46/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v46/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v46/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputNotifyAll.md b/old_docs/API_docs_v46/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v46/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v46/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputNotifyChats.md b/old_docs/API_docs_v46/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v46/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v46/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputNotifyPeer.md b/old_docs/API_docs_v46/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v46/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v46/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputNotifyUsers.md b/old_docs/API_docs_v46/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v46/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v46/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPeerChannel.md b/old_docs/API_docs_v46/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v46/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPeerChat.md b/old_docs/API_docs_v46/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v46/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPeerEmpty.md b/old_docs/API_docs_v46/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v46/constructors/inputPeerNotifySettings.md index d4c26a38..4881d26e 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v46/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPeerSelf.md b/old_docs/API_docs_v46/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v46/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPeerUser.md b/old_docs/API_docs_v46/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v46/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v46/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPhoneContact.md b/old_docs/API_docs_v46/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v46/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v46/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPhoto.md b/old_docs/API_docs_v46/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v46/constructors/inputPhoto.md +++ b/old_docs/API_docs_v46/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPhotoCrop.md b/old_docs/API_docs_v46/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v46/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v46/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v46/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v46/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v46/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v46/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v46/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputReportReasonOther.md b/old_docs/API_docs_v46/constructors/inputReportReasonOther.md index 547711c4..ffd351a0 100644 --- a/old_docs/API_docs_v46/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v46/constructors/inputReportReasonOther.md @@ -24,6 +24,13 @@ description: inputReportReasonOther attributes, type and example $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonOther","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v46/constructors/inputReportReasonPornography.md index f73c6f4d..866d691c 100644 --- a/old_docs/API_docs_v46/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v46/constructors/inputReportReasonPornography.md @@ -19,6 +19,13 @@ description: inputReportReasonPornography attributes, type and example $inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonPornography"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v46/constructors/inputReportReasonSpam.md index ea2a9257..4cf6f414 100644 --- a/old_docs/API_docs_v46/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v46/constructors/inputReportReasonSpam.md @@ -19,6 +19,13 @@ description: inputReportReasonSpam attributes, type and example $inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonSpam"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v46/constructors/inputReportReasonViolence.md index 18a2ba4c..f2046d6e 100644 --- a/old_docs/API_docs_v46/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v46/constructors/inputReportReasonViolence.md @@ -19,6 +19,13 @@ description: inputReportReasonViolence attributes, type and example $inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonViolence"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v46/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v46/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputStickerSetID.md b/old_docs/API_docs_v46/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v46/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v46/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v46/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v46/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v46/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputUser.md b/old_docs/API_docs_v46/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v46/constructors/inputUser.md +++ b/old_docs/API_docs_v46/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputUserEmpty.md b/old_docs/API_docs_v46/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v46/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputUserSelf.md b/old_docs/API_docs_v46/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v46/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v46/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputVideo.md b/old_docs/API_docs_v46/constructors/inputVideo.md index 79d5a034..e6dc5b1f 100644 --- a/old_docs/API_docs_v46/constructors/inputVideo.md +++ b/old_docs/API_docs_v46/constructors/inputVideo.md @@ -25,6 +25,13 @@ description: inputVideo attributes, type and example $inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideo","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputVideoEmpty.md b/old_docs/API_docs_v46/constructors/inputVideoEmpty.md index d1f4e1ec..072ace8d 100644 --- a/old_docs/API_docs_v46/constructors/inputVideoEmpty.md +++ b/old_docs/API_docs_v46/constructors/inputVideoEmpty.md @@ -19,6 +19,13 @@ description: inputVideoEmpty attributes, type and example $inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/inputVideoFileLocation.md b/old_docs/API_docs_v46/constructors/inputVideoFileLocation.md index 2ae12a5c..f4c6646e 100644 --- a/old_docs/API_docs_v46/constructors/inputVideoFileLocation.md +++ b/old_docs/API_docs_v46/constructors/inputVideoFileLocation.md @@ -25,6 +25,13 @@ description: inputVideoFileLocation attributes, type and example $inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputVideoFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/keyboardButton.md b/old_docs/API_docs_v46/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v46/constructors/keyboardButton.md +++ b/old_docs/API_docs_v46/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/keyboardButtonRow.md b/old_docs/API_docs_v46/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v46/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v46/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/message.md b/old_docs/API_docs_v46/constructors/message.md index 7eee6d52..38811d9e 100644 --- a/old_docs/API_docs_v46/constructors/message.md +++ b/old_docs/API_docs_v46/constructors/message.md @@ -40,6 +40,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"],"views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v46/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v46/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v46/constructors/messageActionChannelMigrateFrom.md index d15c0bf3..b63de131 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v46/constructors/messageActionChannelMigrateFrom.md @@ -25,6 +25,13 @@ description: messageActionChannelMigrateFrom attributes, type and example $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v46/constructors/messageActionChatAddUser.md index 135e16de..5edc7d3b 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageActionChatCreate.md b/old_docs/API_docs_v46/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v46/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v46/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v46/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v46/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v46/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v46/constructors/messageActionChatMigrateTo.md index fda20a24..7214d295 100644 --- a/old_docs/API_docs_v46/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v46/constructors/messageActionChatMigrateTo.md @@ -24,6 +24,13 @@ description: messageActionChatMigrateTo attributes, type and example $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageActionEmpty.md b/old_docs/API_docs_v46/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v46/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v46/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageEmpty.md b/old_docs/API_docs_v46/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v46/constructors/messageEmpty.md +++ b/old_docs/API_docs_v46/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageEntityBold.md b/old_docs/API_docs_v46/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v46/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v46/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v46/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageEntityCode.md b/old_docs/API_docs_v46/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v46/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageEntityEmail.md b/old_docs/API_docs_v46/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v46/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageEntityHashtag.md b/old_docs/API_docs_v46/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v46/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageEntityItalic.md b/old_docs/API_docs_v46/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v46/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageEntityMention.md b/old_docs/API_docs_v46/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v46/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageEntityPre.md b/old_docs/API_docs_v46/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v46/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v46/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v46/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageEntityUnknown.md b/old_docs/API_docs_v46/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v46/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageEntityUrl.md b/old_docs/API_docs_v46/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v46/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v46/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageGroup.md b/old_docs/API_docs_v46/constructors/messageGroup.md index 5e3992c0..ddbc0e37 100644 --- a/old_docs/API_docs_v46/constructors/messageGroup.md +++ b/old_docs/API_docs_v46/constructors/messageGroup.md @@ -27,6 +27,13 @@ description: messageGroup attributes, type and example $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageMediaAudio.md b/old_docs/API_docs_v46/constructors/messageMediaAudio.md index 0bc53b5e..24ca7823 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaAudio.md +++ b/old_docs/API_docs_v46/constructors/messageMediaAudio.md @@ -24,6 +24,13 @@ description: messageMediaAudio attributes, type and example $messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaAudio","audio":"Audio"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageMediaContact.md b/old_docs/API_docs_v46/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v46/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageMediaDocument.md b/old_docs/API_docs_v46/constructors/messageMediaDocument.md index 66a67150..0fc6558b 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v46/constructors/messageMediaDocument.md @@ -25,6 +25,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageMediaEmpty.md b/old_docs/API_docs_v46/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v46/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageMediaGeo.md b/old_docs/API_docs_v46/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v46/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageMediaPhoto.md b/old_docs/API_docs_v46/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v46/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v46/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v46/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageMediaVenue.md b/old_docs/API_docs_v46/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v46/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageMediaVideo.md b/old_docs/API_docs_v46/constructors/messageMediaVideo.md index 42a6ac76..8e72030c 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaVideo.md +++ b/old_docs/API_docs_v46/constructors/messageMediaVideo.md @@ -25,6 +25,13 @@ description: messageMediaVideo attributes, type and example $messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVideo","video":"Video","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageMediaWebPage.md b/old_docs/API_docs_v46/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v46/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v46/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageRange.md b/old_docs/API_docs_v46/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v46/constructors/messageRange.md +++ b/old_docs/API_docs_v46/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messageService.md b/old_docs/API_docs_v46/constructors/messageService.md index 6c59e839..f44b4869 100644 --- a/old_docs/API_docs_v46/constructors/messageService.md +++ b/old_docs/API_docs_v46/constructors/messageService.md @@ -32,6 +32,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","id":"int","from_id":"int","to_id":"Peer","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_affectedHistory.md b/old_docs/API_docs_v46/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v46/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v46/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_affectedMessages.md b/old_docs/API_docs_v46/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v46/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v46/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_allStickers.md b/old_docs/API_docs_v46/constructors/messages_allStickers.md index 7a5fe6af..a16f30e8 100644 --- a/old_docs/API_docs_v46/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v46/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v46/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_botResults.md b/old_docs/API_docs_v46/constructors/messages_botResults.md index 4942a53f..7c070065 100644 --- a/old_docs/API_docs_v46/constructors/messages_botResults.md +++ b/old_docs/API_docs_v46/constructors/messages_botResults.md @@ -27,6 +27,13 @@ description: messages_botResults attributes, type and example $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'results' => [BotInlineResult], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","results":["BotInlineResult"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_channelMessages.md b/old_docs/API_docs_v46/constructors/messages_channelMessages.md index 94236376..d9264977 100644 --- a/old_docs/API_docs_v46/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v46/constructors/messages_channelMessages.md @@ -29,6 +29,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_chatFull.md b/old_docs/API_docs_v46/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v46/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v46/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_chats.md b/old_docs/API_docs_v46/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v46/constructors/messages_chats.md +++ b/old_docs/API_docs_v46/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_dhConfig.md b/old_docs/API_docs_v46/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v46/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v46/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v46/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_dialogs.md b/old_docs/API_docs_v46/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v46/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v46/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v46/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v46/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v46/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_foundGifs.md b/old_docs/API_docs_v46/constructors/messages_foundGifs.md index 5db1a1db..7cf2eaac 100644 --- a/old_docs/API_docs_v46/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v46/constructors/messages_foundGifs.md @@ -25,6 +25,13 @@ description: messages_foundGifs attributes, type and example $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_messages.md b/old_docs/API_docs_v46/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v46/constructors/messages_messages.md +++ b/old_docs/API_docs_v46/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_messagesSlice.md b/old_docs/API_docs_v46/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v46/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v46/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_savedGifs.md b/old_docs/API_docs_v46/constructors/messages_savedGifs.md index dfcab426..6077da46 100644 --- a/old_docs/API_docs_v46/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v46/constructors/messages_savedGifs.md @@ -25,6 +25,13 @@ description: messages_savedGifs attributes, type and example $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md index 78292bdb..6f35f43d 100644 --- a/old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v46/constructors/messages_savedGifsNotModified.md @@ -19,6 +19,13 @@ description: messages_savedGifsNotModified attributes, type and example $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v46/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v46/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_stickerSet.md b/old_docs/API_docs_v46/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v46/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v46/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_stickers.md b/old_docs/API_docs_v46/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v46/constructors/messages_stickers.md +++ b/old_docs/API_docs_v46/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v46/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v46/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v46/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/nearestDc.md b/old_docs/API_docs_v46/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v46/constructors/nearestDc.md +++ b/old_docs/API_docs_v46/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/notifyAll.md b/old_docs/API_docs_v46/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v46/constructors/notifyAll.md +++ b/old_docs/API_docs_v46/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/notifyChats.md b/old_docs/API_docs_v46/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v46/constructors/notifyChats.md +++ b/old_docs/API_docs_v46/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/notifyPeer.md b/old_docs/API_docs_v46/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v46/constructors/notifyPeer.md +++ b/old_docs/API_docs_v46/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/notifyUsers.md b/old_docs/API_docs_v46/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v46/constructors/notifyUsers.md +++ b/old_docs/API_docs_v46/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/peerChannel.md b/old_docs/API_docs_v46/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v46/constructors/peerChannel.md +++ b/old_docs/API_docs_v46/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/peerChat.md b/old_docs/API_docs_v46/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v46/constructors/peerChat.md +++ b/old_docs/API_docs_v46/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v46/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v46/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v46/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v46/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v46/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v46/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/peerNotifySettings.md b/old_docs/API_docs_v46/constructors/peerNotifySettings.md index f6dc6c35..d0659143 100644 --- a/old_docs/API_docs_v46/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v46/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","mute_until":"int","sound":"string","show_previews":"Bool","events_mask":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v46/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v46/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v46/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/peerUser.md b/old_docs/API_docs_v46/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v46/constructors/peerUser.md +++ b/old_docs/API_docs_v46/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/photo.md b/old_docs/API_docs_v46/constructors/photo.md index f9c9582a..2aaa4efd 100644 --- a/old_docs/API_docs_v46/constructors/photo.md +++ b/old_docs/API_docs_v46/constructors/photo.md @@ -27,6 +27,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/photoCachedSize.md b/old_docs/API_docs_v46/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v46/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v46/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/photoEmpty.md b/old_docs/API_docs_v46/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v46/constructors/photoEmpty.md +++ b/old_docs/API_docs_v46/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/photoSize.md b/old_docs/API_docs_v46/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v46/constructors/photoSize.md +++ b/old_docs/API_docs_v46/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/photoSizeEmpty.md b/old_docs/API_docs_v46/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v46/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v46/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/photos_photo.md b/old_docs/API_docs_v46/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v46/constructors/photos_photo.md +++ b/old_docs/API_docs_v46/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/photos_photos.md b/old_docs/API_docs_v46/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v46/constructors/photos_photos.md +++ b/old_docs/API_docs_v46/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/photos_photosSlice.md b/old_docs/API_docs_v46/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v46/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v46/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v46/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v46/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v46/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v46/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v46/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v46/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v46/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v46/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v46/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v46/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v46/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v46/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v46/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v46/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v46/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v46/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v46/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v46/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v46/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md index 4f319506..02a0779a 100644 --- a/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md @@ -25,6 +25,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/replyKeyboardHide.md b/old_docs/API_docs_v46/constructors/replyKeyboardHide.md index 56faa8dd..8b210933 100644 --- a/old_docs/API_docs_v46/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v46/constructors/replyKeyboardHide.md @@ -24,6 +24,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md index 3cebc41f..4269aeb9 100644 --- a/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md @@ -27,6 +27,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v46/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v46/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v46/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v46/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v46/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v46/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v46/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v46/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v46/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v46/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v46/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v46/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/stickerPack.md b/old_docs/API_docs_v46/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v46/constructors/stickerPack.md +++ b/old_docs/API_docs_v46/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/stickerSet.md b/old_docs/API_docs_v46/constructors/stickerSet.md index bed0beeb..2c2aa5aa 100644 --- a/old_docs/API_docs_v46/constructors/stickerSet.md +++ b/old_docs/API_docs_v46/constructors/stickerSet.md @@ -32,6 +32,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/storage_fileGif.md b/old_docs/API_docs_v46/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v46/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/storage_fileJpeg.md b/old_docs/API_docs_v46/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v46/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/storage_fileMov.md b/old_docs/API_docs_v46/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v46/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/storage_fileMp3.md b/old_docs/API_docs_v46/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v46/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/storage_fileMp4.md b/old_docs/API_docs_v46/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v46/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/storage_filePartial.md b/old_docs/API_docs_v46/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v46/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v46/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/storage_filePdf.md b/old_docs/API_docs_v46/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v46/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v46/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/storage_filePng.md b/old_docs/API_docs_v46/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v46/constructors/storage_filePng.md +++ b/old_docs/API_docs_v46/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/storage_fileUnknown.md b/old_docs/API_docs_v46/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v46/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/storage_fileWebp.md b/old_docs/API_docs_v46/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v46/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v46/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/true.md b/old_docs/API_docs_v46/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v46/constructors/true.md +++ b/old_docs/API_docs_v46/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v46/constructors/updateBotInlineQuery.md index 37aedfb9..7dbbd355 100644 --- a/old_docs/API_docs_v46/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v46/constructors/updateBotInlineQuery.md @@ -27,6 +27,13 @@ description: updateBotInlineQuery attributes, type and example $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'offset' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","offset":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateChannel.md b/old_docs/API_docs_v46/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/old_docs/API_docs_v46/constructors/updateChannel.md +++ b/old_docs/API_docs_v46/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateChannelGroup.md b/old_docs/API_docs_v46/constructors/updateChannelGroup.md index 6ffad0dd..59290243 100644 --- a/old_docs/API_docs_v46/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v46/constructors/updateChannelGroup.md @@ -25,6 +25,13 @@ description: updateChannelGroup attributes, type and example $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v46/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/old_docs/API_docs_v46/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v46/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateChannelTooLong.md b/old_docs/API_docs_v46/constructors/updateChannelTooLong.md index 632fd0a0..621e7774 100644 --- a/old_docs/API_docs_v46/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v46/constructors/updateChannelTooLong.md @@ -24,6 +24,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateChatAdmins.md b/old_docs/API_docs_v46/constructors/updateChatAdmins.md index 36fb3614..bf391961 100644 --- a/old_docs/API_docs_v46/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v46/constructors/updateChatAdmins.md @@ -26,6 +26,13 @@ description: updateChatAdmins attributes, type and example $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v46/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/old_docs/API_docs_v46/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v46/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v46/constructors/updateChatParticipantAdmin.md index fbb2cdae..ba5bbc95 100644 --- a/old_docs/API_docs_v46/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v46/constructors/updateChatParticipantAdmin.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdmin attributes, type and example $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v46/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v46/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v46/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateChatParticipants.md b/old_docs/API_docs_v46/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v46/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v46/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateChatUserTyping.md b/old_docs/API_docs_v46/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v46/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v46/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateContactLink.md b/old_docs/API_docs_v46/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v46/constructors/updateContactLink.md +++ b/old_docs/API_docs_v46/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateContactRegistered.md b/old_docs/API_docs_v46/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v46/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v46/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateDcOptions.md b/old_docs/API_docs_v46/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v46/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v46/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v46/constructors/updateDeleteChannelMessages.md index 1d67682a..8bc24681 100644 --- a/old_docs/API_docs_v46/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v46/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'channel_pts' => int, 'channel_pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"channel_pts":"int","channel_pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateDeleteMessages.md b/old_docs/API_docs_v46/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v46/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v46/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v46/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v46/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v46/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v46/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v46/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v46/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateEncryption.md b/old_docs/API_docs_v46/constructors/updateEncryption.md index 0b8ce15c..2f433302 100644 --- a/old_docs/API_docs_v46/constructors/updateEncryption.md +++ b/old_docs/API_docs_v46/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'encr_chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","encr_chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateMessageID.md b/old_docs/API_docs_v46/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v46/constructors/updateMessageID.md +++ b/old_docs/API_docs_v46/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateNewAuthorization.md b/old_docs/API_docs_v46/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v46/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v46/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v46/constructors/updateNewChannelMessage.md index 9df58675..732ae2ec 100644 --- a/old_docs/API_docs_v46/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v46/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'channel_pts' => int, 'channel_pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","channel_pts":"int","channel_pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v46/constructors/updateNewEncryptedMessage.md index 07c2309a..f848b53e 100644 --- a/old_docs/API_docs_v46/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v46/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'encr_message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","encr_message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateNewMessage.md b/old_docs/API_docs_v46/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v46/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v46/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateNewStickerSet.md b/old_docs/API_docs_v46/constructors/updateNewStickerSet.md index ccb4f17f..919c3ad8 100644 --- a/old_docs/API_docs_v46/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v46/constructors/updateNewStickerSet.md @@ -24,6 +24,13 @@ description: updateNewStickerSet attributes, type and example $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateNotifySettings.md b/old_docs/API_docs_v46/constructors/updateNotifySettings.md index c0106d73..0e6c5055 100644 --- a/old_docs/API_docs_v46/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v46/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'notify_peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","notify_peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updatePrivacy.md b/old_docs/API_docs_v46/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v46/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v46/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v46/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/old_docs/API_docs_v46/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v46/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v46/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v46/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v46/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v46/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v46/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v46/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v46/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v46/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v46/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateSavedGifs.md b/old_docs/API_docs_v46/constructors/updateSavedGifs.md index a52b7838..46dfb8a6 100644 --- a/old_docs/API_docs_v46/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v46/constructors/updateSavedGifs.md @@ -19,6 +19,13 @@ description: updateSavedGifs attributes, type and example $updateSavedGifs = ['_' => 'updateSavedGifs', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateSavedGifs"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateServiceNotification.md b/old_docs/API_docs_v46/constructors/updateServiceNotification.md index 113dd9ff..d335106c 100644 --- a/old_docs/API_docs_v46/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v46/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message_text' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message_text":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateShort.md b/old_docs/API_docs_v46/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v46/constructors/updateShort.md +++ b/old_docs/API_docs_v46/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateShortChatMessage.md b/old_docs/API_docs_v46/constructors/updateShortChatMessage.md index 7ada7b18..8a27f3f4 100644 --- a/old_docs/API_docs_v46/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v46/constructors/updateShortChatMessage.md @@ -39,6 +39,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateShortMessage.md b/old_docs/API_docs_v46/constructors/updateShortMessage.md index ac9c8fe8..cf7f581d 100644 --- a/old_docs/API_docs_v46/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v46/constructors/updateShortMessage.md @@ -38,6 +38,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateShortSentMessage.md b/old_docs/API_docs_v46/constructors/updateShortSentMessage.md index cf123f7b..5005d3a2 100644 --- a/old_docs/API_docs_v46/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v46/constructors/updateShortSentMessage.md @@ -31,6 +31,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","unread":"Bool","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateStickerSets.md b/old_docs/API_docs_v46/constructors/updateStickerSets.md index 0affa36f..69c53b51 100644 --- a/old_docs/API_docs_v46/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v46/constructors/updateStickerSets.md @@ -19,6 +19,13 @@ description: updateStickerSets attributes, type and example $updateStickerSets = ['_' => 'updateStickerSets', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSets"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v46/constructors/updateStickerSetsOrder.md index ee954112..950fdb48 100644 --- a/old_docs/API_docs_v46/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v46/constructors/updateStickerSetsOrder.md @@ -24,6 +24,13 @@ description: updateStickerSetsOrder attributes, type and example $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSetsOrder","order":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateUserBlocked.md b/old_docs/API_docs_v46/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v46/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v46/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateUserName.md b/old_docs/API_docs_v46/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v46/constructors/updateUserName.md +++ b/old_docs/API_docs_v46/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateUserPhone.md b/old_docs/API_docs_v46/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v46/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v46/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateUserPhoto.md b/old_docs/API_docs_v46/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v46/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v46/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateUserStatus.md b/old_docs/API_docs_v46/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v46/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v46/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateUserTyping.md b/old_docs/API_docs_v46/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v46/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v46/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updateWebPage.md b/old_docs/API_docs_v46/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/old_docs/API_docs_v46/constructors/updateWebPage.md +++ b/old_docs/API_docs_v46/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updates.md b/old_docs/API_docs_v46/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v46/constructors/updates.md +++ b/old_docs/API_docs_v46/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updatesCombined.md b/old_docs/API_docs_v46/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v46/constructors/updatesCombined.md +++ b/old_docs/API_docs_v46/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updatesTooLong.md b/old_docs/API_docs_v46/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v46/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v46/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updates_channelDifference.md b/old_docs/API_docs_v46/constructors/updates_channelDifference.md index 3e44b0cd..49249e72 100644 --- a/old_docs/API_docs_v46/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v46/constructors/updates_channelDifference.md @@ -30,6 +30,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","final":"Bool","channel_pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md index 56b04ac8..a999cd5b 100644 --- a/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md @@ -26,6 +26,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","final":"Bool","channel_pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md index b956131e..4e77f461 100644 --- a/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md @@ -34,6 +34,13 @@ description: updates_channelDifferenceTooLong attributes, type and example $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, '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' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceTooLong","final":"Bool","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":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updates_difference.md b/old_docs/API_docs_v46/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v46/constructors/updates_difference.md +++ b/old_docs/API_docs_v46/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v46/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v46/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v46/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updates_differenceSlice.md b/old_docs/API_docs_v46/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v46/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v46/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/updates_state.md b/old_docs/API_docs_v46/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v46/constructors/updates_state.md +++ b/old_docs/API_docs_v46/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/upload_file.md b/old_docs/API_docs_v46/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v46/constructors/upload_file.md +++ b/old_docs/API_docs_v46/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/user.md b/old_docs/API_docs_v46/constructors/user.md index 16355382..1765d729 100644 --- a/old_docs/API_docs_v46/constructors/user.md +++ b/old_docs/API_docs_v46/constructors/user.md @@ -43,6 +43,13 @@ description: user attributes, type and example $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, '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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","self":"Bool","contact":"Bool","mutual_contact":"Bool","deleted":"Bool","bot":"Bool","bot_chat_history":"Bool","bot_nochats":"Bool","verified":"Bool","restricted":"Bool","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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/userEmpty.md b/old_docs/API_docs_v46/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v46/constructors/userEmpty.md +++ b/old_docs/API_docs_v46/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/userFull.md b/old_docs/API_docs_v46/constructors/userFull.md index eec3fa8c..2e6da813 100644 --- a/old_docs/API_docs_v46/constructors/userFull.md +++ b/old_docs/API_docs_v46/constructors/userFull.md @@ -29,6 +29,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","user":"User","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","blocked":"Bool","bot_info":"BotInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/userProfilePhoto.md b/old_docs/API_docs_v46/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v46/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v46/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v46/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v46/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v46/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/userStatusEmpty.md b/old_docs/API_docs_v46/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v46/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v46/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/userStatusLastMonth.md b/old_docs/API_docs_v46/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v46/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v46/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/userStatusLastWeek.md b/old_docs/API_docs_v46/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v46/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v46/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/userStatusOffline.md b/old_docs/API_docs_v46/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v46/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v46/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/userStatusOnline.md b/old_docs/API_docs_v46/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v46/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v46/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/userStatusRecently.md b/old_docs/API_docs_v46/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v46/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v46/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/video.md b/old_docs/API_docs_v46/constructors/video.md index 7c15f909..d1e2e49e 100644 --- a/old_docs/API_docs_v46/constructors/video.md +++ b/old_docs/API_docs_v46/constructors/video.md @@ -33,6 +33,13 @@ description: video attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"video","id":"long","access_hash":"long","date":"int","duration":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/videoEmpty.md b/old_docs/API_docs_v46/constructors/videoEmpty.md index 74b18d58..d5d10973 100644 --- a/old_docs/API_docs_v46/constructors/videoEmpty.md +++ b/old_docs/API_docs_v46/constructors/videoEmpty.md @@ -24,6 +24,13 @@ description: videoEmpty attributes, type and example $videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"videoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/wallPaper.md b/old_docs/API_docs_v46/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v46/constructors/wallPaper.md +++ b/old_docs/API_docs_v46/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/wallPaperSolid.md b/old_docs/API_docs_v46/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v46/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v46/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/webPage.md b/old_docs/API_docs_v46/constructors/webPage.md index 7c0a432f..b4dd86ee 100644 --- a/old_docs/API_docs_v46/constructors/webPage.md +++ b/old_docs/API_docs_v46/constructors/webPage.md @@ -38,6 +38,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/webPageEmpty.md b/old_docs/API_docs_v46/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v46/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v46/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/constructors/webPagePending.md b/old_docs/API_docs_v46/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v46/constructors/webPagePending.md +++ b/old_docs/API_docs_v46/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/account_changePhone.md b/old_docs/API_docs_v46/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v46/methods/account_changePhone.md +++ b/old_docs/API_docs_v46/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_checkUsername.md b/old_docs/API_docs_v46/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v46/methods/account_checkUsername.md +++ b/old_docs/API_docs_v46/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_deleteAccount.md b/old_docs/API_docs_v46/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v46/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v46/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_getAccountTTL.md b/old_docs/API_docs_v46/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v46/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v46/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/account_getAuthorizations.md b/old_docs/API_docs_v46/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v46/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v46/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/account_getNotifySettings.md b/old_docs/API_docs_v46/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v46/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_getPassword.md b/old_docs/API_docs_v46/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v46/methods/account_getPassword.md +++ b/old_docs/API_docs_v46/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/account_getPasswordSettings.md b/old_docs/API_docs_v46/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v46/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v46/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_getPrivacy.md b/old_docs/API_docs_v46/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v46/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v46/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_getWallPapers.md b/old_docs/API_docs_v46/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v46/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v46/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/account_registerDevice.md b/old_docs/API_docs_v46/methods/account_registerDevice.md index 746ac76d..c786c6a8 100644 --- a/old_docs/API_docs_v46/methods/account_registerDevice.md +++ b/old_docs/API_docs_v46/methods/account_registerDevice.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +app_sandbox - Json encoded Bool +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_reportPeer.md b/old_docs/API_docs_v46/methods/account_reportPeer.md index 019e88a5..08c8d0d5 100644 --- a/old_docs/API_docs_v46/methods/account_reportPeer.md +++ b/old_docs/API_docs_v46/methods/account_reportPeer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.reportPeer +* params - {"peer":"InputPeer","reason":"ReportReason"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.reportPeer` + +Parameters: + +peer - Json encoded InputPeer +reason - Json encoded ReportReason + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_resetAuthorization.md b/old_docs/API_docs_v46/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v46/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v46/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_resetNotifySettings.md b/old_docs/API_docs_v46/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v46/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md index 002dc1ab..605bcaa3 100644 --- a/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v46/methods/account_sendChangePhoneCode.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_setAccountTTL.md b/old_docs/API_docs_v46/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v46/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v46/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_setPrivacy.md b/old_docs/API_docs_v46/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v46/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v46/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_unregisterDevice.md b/old_docs/API_docs_v46/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v46/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v46/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v46/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_updateNotifySettings.md b/old_docs/API_docs_v46/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v46/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v46/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v46/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_updateProfile.md b/old_docs/API_docs_v46/methods/account_updateProfile.md index 6e8891d0..bf1c3b8f 100644 --- a/old_docs/API_docs_v46/methods/account_updateProfile.md +++ b/old_docs/API_docs_v46/methods/account_updateProfile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_updateStatus.md b/old_docs/API_docs_v46/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v46/methods/account_updateStatus.md +++ b/old_docs/API_docs_v46/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/account_updateUsername.md b/old_docs/API_docs_v46/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v46/methods/account_updateUsername.md +++ b/old_docs/API_docs_v46/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v46/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/auth_checkPassword.md b/old_docs/API_docs_v46/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v46/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v46/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/auth_checkPhone.md b/old_docs/API_docs_v46/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v46/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v46/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/auth_exportAuthorization.md b/old_docs/API_docs_v46/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v46/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/auth_importAuthorization.md b/old_docs/API_docs_v46/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v46/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v46/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/auth_logOut.md b/old_docs/API_docs_v46/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v46/methods/auth_logOut.md +++ b/old_docs/API_docs_v46/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/auth_recoverPassword.md b/old_docs/API_docs_v46/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v46/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v46/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v46/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v46/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/auth_sendCall.md b/old_docs/API_docs_v46/methods/auth_sendCall.md index 9e50a03d..08b4d1d4 100644 --- a/old_docs/API_docs_v46/methods/auth_sendCall.md +++ b/old_docs/API_docs_v46/methods/auth_sendCall.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCall +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCall` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/auth_sendCode.md b/old_docs/API_docs_v46/methods/auth_sendCode.md index 6896bc05..a9009e4b 100644 --- a/old_docs/API_docs_v46/methods/auth_sendCode.md +++ b/old_docs/API_docs_v46/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"phone_number":"string","sms_type":"int","api_id":"int","api_hash":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +phone_number - Json encoded string +sms_type - Json encoded int +api_id - Json encoded int +api_hash - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/auth_sendInvites.md b/old_docs/API_docs_v46/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v46/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v46/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/auth_sendSms.md b/old_docs/API_docs_v46/methods/auth_sendSms.md index 3653ccdd..5e62431c 100644 --- a/old_docs/API_docs_v46/methods/auth_sendSms.md +++ b/old_docs/API_docs_v46/methods/auth_sendSms.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendSms +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendSms` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/auth_signIn.md b/old_docs/API_docs_v46/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v46/methods/auth_signIn.md +++ b/old_docs/API_docs_v46/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/auth_signUp.md b/old_docs/API_docs_v46/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v46/methods/auth_signUp.md +++ b/old_docs/API_docs_v46/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_checkUsername.md b/old_docs/API_docs_v46/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/old_docs/API_docs_v46/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v46/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_createChannel.md b/old_docs/API_docs_v46/methods/channels_createChannel.md index a4819767..853ca900 100644 --- a/old_docs/API_docs_v46/methods/channels_createChannel.md +++ b/old_docs/API_docs_v46/methods/channels_createChannel.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +broadcast - Json encoded Bool +megagroup - Json encoded Bool +title - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_deleteChannel.md b/old_docs/API_docs_v46/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v46/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_deleteMessages.md b/old_docs/API_docs_v46/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v46/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v46/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_editAbout.md b/old_docs/API_docs_v46/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/old_docs/API_docs_v46/methods/channels_editAbout.md +++ b/old_docs/API_docs_v46/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_editAdmin.md b/old_docs/API_docs_v46/methods/channels_editAdmin.md index 4596e082..729d5e28 100644 --- a/old_docs/API_docs_v46/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v46/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +role - Json encoded ChannelParticipantRole + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_editPhoto.md b/old_docs/API_docs_v46/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/old_docs/API_docs_v46/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v46/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_editTitle.md b/old_docs/API_docs_v46/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/old_docs/API_docs_v46/methods/channels_editTitle.md +++ b/old_docs/API_docs_v46/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_exportInvite.md b/old_docs/API_docs_v46/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/old_docs/API_docs_v46/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v46/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_getChannels.md b/old_docs/API_docs_v46/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/old_docs/API_docs_v46/methods/channels_getChannels.md +++ b/old_docs/API_docs_v46/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_getDialogs.md b/old_docs/API_docs_v46/methods/channels_getDialogs.md index 601510e1..b20fb17c 100644 --- a/old_docs/API_docs_v46/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v46/methods/channels_getDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getDialogs +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getDialogs` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_getFullChannel.md b/old_docs/API_docs_v46/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/old_docs/API_docs_v46/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v46/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_getImportantHistory.md b/old_docs/API_docs_v46/methods/channels_getImportantHistory.md index 2b5f5632..348621e1 100644 --- a/old_docs/API_docs_v46/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v46/methods/channels_getImportantHistory.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getImportantHistory +* params - {"channel":"InputChannel","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getImportantHistory` + +Parameters: + +channel - Json encoded InputChannel +offset_id - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_getMessages.md b/old_docs/API_docs_v46/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/old_docs/API_docs_v46/methods/channels_getMessages.md +++ b/old_docs/API_docs_v46/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_getParticipant.md b/old_docs/API_docs_v46/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_getParticipants.md b/old_docs/API_docs_v46/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/old_docs/API_docs_v46/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v46/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_inviteToChannel.md b/old_docs/API_docs_v46/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/old_docs/API_docs_v46/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v46/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_joinChannel.md b/old_docs/API_docs_v46/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/old_docs/API_docs_v46/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v46/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_kickFromChannel.md b/old_docs/API_docs_v46/methods/channels_kickFromChannel.md index 1dc6b4b7..5e91bc24 100644 --- a/old_docs/API_docs_v46/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v46/methods/channels_kickFromChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.kickFromChannel +* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.kickFromChannel` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +kicked - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_leaveChannel.md b/old_docs/API_docs_v46/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/old_docs/API_docs_v46/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v46/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_readHistory.md b/old_docs/API_docs_v46/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/old_docs/API_docs_v46/methods/channels_readHistory.md +++ b/old_docs/API_docs_v46/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_reportSpam.md b/old_docs/API_docs_v46/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/old_docs/API_docs_v46/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v46/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_toggleComments.md b/old_docs/API_docs_v46/methods/channels_toggleComments.md index 930df0e2..e3b45398 100644 --- a/old_docs/API_docs_v46/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v46/methods/channels_toggleComments.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleComments +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleComments` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/channels_updateUsername.md b/old_docs/API_docs_v46/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/old_docs/API_docs_v46/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v46/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/contacts_block.md b/old_docs/API_docs_v46/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v46/methods/contacts_block.md +++ b/old_docs/API_docs_v46/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/contacts_deleteContact.md b/old_docs/API_docs_v46/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v46/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v46/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/contacts_deleteContacts.md b/old_docs/API_docs_v46/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v46/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/contacts_exportCard.md b/old_docs/API_docs_v46/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v46/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v46/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/contacts_getBlocked.md b/old_docs/API_docs_v46/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v46/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v46/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/contacts_getContacts.md b/old_docs/API_docs_v46/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v46/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/contacts_getStatuses.md b/old_docs/API_docs_v46/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v46/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v46/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/contacts_getSuggested.md b/old_docs/API_docs_v46/methods/contacts_getSuggested.md index 1c9a532d..66e4c1b3 100644 --- a/old_docs/API_docs_v46/methods/contacts_getSuggested.md +++ b/old_docs/API_docs_v46/methods/contacts_getSuggested.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getSuggested +* params - {"limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getSuggested` + +Parameters: + +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/contacts_importCard.md b/old_docs/API_docs_v46/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v46/methods/contacts_importCard.md +++ b/old_docs/API_docs_v46/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/contacts_importContacts.md b/old_docs/API_docs_v46/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v46/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v46/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/contacts_resolveUsername.md b/old_docs/API_docs_v46/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/old_docs/API_docs_v46/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v46/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/contacts_search.md b/old_docs/API_docs_v46/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v46/methods/contacts_search.md +++ b/old_docs/API_docs_v46/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/contacts_unblock.md b/old_docs/API_docs_v46/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v46/methods/contacts_unblock.md +++ b/old_docs/API_docs_v46/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/help_getAppChangelog.md b/old_docs/API_docs_v46/methods/help_getAppChangelog.md index 337c12be..b93c56db 100644 --- a/old_docs/API_docs_v46/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v46/methods/help_getAppChangelog.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/help_getAppUpdate.md b/old_docs/API_docs_v46/methods/help_getAppUpdate.md index b52e83e8..58430792 100644 --- a/old_docs/API_docs_v46/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v46/methods/help_getAppUpdate.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/help_getConfig.md b/old_docs/API_docs_v46/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v46/methods/help_getConfig.md +++ b/old_docs/API_docs_v46/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/help_getInviteText.md b/old_docs/API_docs_v46/methods/help_getInviteText.md index 2d9c4653..ec75a17f 100644 --- a/old_docs/API_docs_v46/methods/help_getInviteText.md +++ b/old_docs/API_docs_v46/methods/help_getInviteText.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/help_getNearestDc.md b/old_docs/API_docs_v46/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v46/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v46/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/help_getSupport.md b/old_docs/API_docs_v46/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v46/methods/help_getSupport.md +++ b/old_docs/API_docs_v46/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/help_getTermsOfService.md b/old_docs/API_docs_v46/methods/help_getTermsOfService.md index 41d8b978..c6bfce8a 100644 --- a/old_docs/API_docs_v46/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v46/methods/help_getTermsOfService.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getTermsOfService +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getTermsOfService` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/help_saveAppLog.md b/old_docs/API_docs_v46/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v46/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v46/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/initConnection.md b/old_docs/API_docs_v46/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v46/methods/initConnection.md +++ b/old_docs/API_docs_v46/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/invokeAfterMsg.md b/old_docs/API_docs_v46/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v46/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v46/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/invokeAfterMsgs.md b/old_docs/API_docs_v46/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v46/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v46/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/invokeWithLayer.md b/old_docs/API_docs_v46/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v46/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v46/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v46/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_acceptEncryption.md b/old_docs/API_docs_v46/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v46/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v46/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_addChatUser.md b/old_docs/API_docs_v46/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v46/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v46/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_checkChatInvite.md b/old_docs/API_docs_v46/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v46/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_createChat.md b/old_docs/API_docs_v46/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v46/methods/messages_createChat.md +++ b/old_docs/API_docs_v46/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_deleteChatUser.md b/old_docs/API_docs_v46/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v46/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_deleteHistory.md b/old_docs/API_docs_v46/methods/messages_deleteHistory.md index f37e5d08..e5f132c6 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v46/methods/messages_deleteHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_deleteMessages.md b/old_docs/API_docs_v46/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v46/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v46/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_discardEncryption.md b/old_docs/API_docs_v46/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v46/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v46/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_editChatAdmin.md b/old_docs/API_docs_v46/methods/messages_editChatAdmin.md index 515c2ede..2ad6d72c 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v46/methods/messages_editChatAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatAdmin +* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +is_admin - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_editChatPhoto.md b/old_docs/API_docs_v46/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v46/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_editChatTitle.md b/old_docs/API_docs_v46/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v46/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v46/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_exportChatInvite.md b/old_docs/API_docs_v46/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v46/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_forwardMessage.md b/old_docs/API_docs_v46/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v46/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v46/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_forwardMessages.md b/old_docs/API_docs_v46/methods/messages_forwardMessages.md index 3fbcfee6..812a4214 100644 --- a/old_docs/API_docs_v46/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v46/methods/messages_forwardMessages.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"broadcast":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +broadcast - Json encoded Bool +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getAllStickers.md b/old_docs/API_docs_v46/methods/messages_getAllStickers.md index bc49bdd6..b2f1eb71 100644 --- a/old_docs/API_docs_v46/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v46/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getChats.md b/old_docs/API_docs_v46/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v46/methods/messages_getChats.md +++ b/old_docs/API_docs_v46/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getDhConfig.md b/old_docs/API_docs_v46/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v46/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v46/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getDialogs.md b/old_docs/API_docs_v46/methods/messages_getDialogs.md index 61fa3149..a0884730 100644 --- a/old_docs/API_docs_v46/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v46/methods/messages_getDialogs.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset_date - Json encoded int +offset_id - Json encoded int +offset_peer - Json encoded InputPeer +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md index 2daac691..ca541c7e 100644 --- a/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v46/methods/messages_getDocumentByHash.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDocumentByHash +* params - {"sha256":"bytes","size":"int","mime_type":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDocumentByHash` + +Parameters: + +sha256 - Json encoded bytes +size - Json encoded int +mime_type - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getFullChat.md b/old_docs/API_docs_v46/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v46/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v46/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getHistory.md b/old_docs/API_docs_v46/methods/messages_getHistory.md index f32402a7..b22bd09e 100644 --- a/old_docs/API_docs_v46/methods/messages_getHistory.md +++ b/old_docs/API_docs_v46/methods/messages_getHistory.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md index b79bcc37..452e70c8 100644 --- a/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v46/methods/messages_getInlineBotResults.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'query' => string, 'offset' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineBotResults +* params - {"bot":"InputUser","query":"string","offset":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineBotResults` + +Parameters: + +bot - Json encoded InputUser +query - Json encoded string +offset - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getMessages.md b/old_docs/API_docs_v46/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v46/methods/messages_getMessages.md +++ b/old_docs/API_docs_v46/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getMessagesViews.md b/old_docs/API_docs_v46/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/old_docs/API_docs_v46/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v46/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getSavedGifs.md b/old_docs/API_docs_v46/methods/messages_getSavedGifs.md index c528873b..a7a0cbd2 100644 --- a/old_docs/API_docs_v46/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v46/methods/messages_getSavedGifs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getSavedGifs +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getSavedGifs` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getStickerSet.md b/old_docs/API_docs_v46/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v46/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getStickers.md b/old_docs/API_docs_v46/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v46/methods/messages_getStickers.md +++ b/old_docs/API_docs_v46/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v46/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_importChatInvite.md b/old_docs/API_docs_v46/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v46/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v46/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_installStickerSet.md b/old_docs/API_docs_v46/methods/messages_installStickerSet.md index a3c12183..637005f3 100644 --- a/old_docs/API_docs_v46/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","disabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +disabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_migrateChat.md b/old_docs/API_docs_v46/methods/messages_migrateChat.md index eaa988a7..1d8e1ca5 100644 --- a/old_docs/API_docs_v46/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v46/methods/messages_migrateChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.migrateChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.migrateChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v46/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_readHistory.md b/old_docs/API_docs_v46/methods/messages_readHistory.md index c5ddb451..99ce0e57 100644 --- a/old_docs/API_docs_v46/methods/messages_readHistory.md +++ b/old_docs/API_docs_v46/methods/messages_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_readMessageContents.md b/old_docs/API_docs_v46/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v46/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v46/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_receivedMessages.md b/old_docs/API_docs_v46/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v46/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v46/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_receivedQueue.md b/old_docs/API_docs_v46/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v46/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v46/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md index eda07dd9..3187ba89 100644 --- a/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v46/methods/messages_reorderStickerSets.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderStickerSets +* params - {"order":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderStickerSets` + +Parameters: + +order - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_reportSpam.md b/old_docs/API_docs_v46/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v46/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v46/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_requestEncryption.md b/old_docs/API_docs_v46/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v46/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v46/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_saveGif.md b/old_docs/API_docs_v46/methods/messages_saveGif.md index 6a2269b5..c6a5e7ba 100644 --- a/old_docs/API_docs_v46/methods/messages_saveGif.md +++ b/old_docs/API_docs_v46/methods/messages_saveGif.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveGif +* params - {"id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveGif` + +Parameters: + +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_search.md b/old_docs/API_docs_v46/methods/messages_search.md index 3b082420..bba7fce0 100644 --- a/old_docs/API_docs_v46/methods/messages_search.md +++ b/old_docs/API_docs_v46/methods/messages_search.md @@ -44,6 +44,38 @@ if (isset($number)) { // Login as a user $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, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"important_only":"Bool","peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +important_only - Json encoded Bool +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_searchGifs.md b/old_docs/API_docs_v46/methods/messages_searchGifs.md index ca0934be..24658214 100644 --- a/old_docs/API_docs_v46/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v46/methods/messages_searchGifs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGifs +* params - {"q":"string","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGifs` + +Parameters: + +q - Json encoded string +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_searchGlobal.md b/old_docs/API_docs_v46/methods/messages_searchGlobal.md index 36f09366..0095015c 100644 --- a/old_docs/API_docs_v46/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v46/methods/messages_searchGlobal.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGlobal +* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGlobal` + +Parameters: + +q - Json encoded string +offset_date - Json encoded int +offset_peer - Json encoded InputPeer +offset_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendBroadcast.md b/old_docs/API_docs_v46/methods/messages_sendBroadcast.md index d4af6317..81e9c7b8 100644 --- a/old_docs/API_docs_v46/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v46/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendEncrypted.md b/old_docs/API_docs_v46/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v46/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md index b81e47bd..3552d87b 100644 --- a/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v46/methods/messages_sendInlineBotResult.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendInlineBotResult +* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendInlineBotResult` + +Parameters: + +broadcast - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +query_id - Json encoded long +id - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendMedia.md b/old_docs/API_docs_v46/methods/messages_sendMedia.md index a90c27a3..750419ad 100644 --- a/old_docs/API_docs_v46/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v46/methods/messages_sendMedia.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +broadcast - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_sendMessage.md b/old_docs/API_docs_v46/methods/messages_sendMessage.md index 57d70bd1..cb76f655 100644 --- a/old_docs/API_docs_v46/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v46/methods/messages_sendMessage.md @@ -43,6 +43,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"no_webpage":"Bool","broadcast":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v46/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md index 71fe5c0b..0231ff63 100644 --- a/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v46/methods/messages_setInlineBotResults.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineBotResults +* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineBotResults` + +Parameters: + +gallery - Json encoded Bool +private - Json encoded Bool +query_id - Json encoded long +results - Json encoded array of InputBotInlineResult +cache_time - Json encoded int +next_offset - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_setTyping.md b/old_docs/API_docs_v46/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v46/methods/messages_setTyping.md +++ b/old_docs/API_docs_v46/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_startBot.md b/old_docs/API_docs_v46/methods/messages_startBot.md index 58aadfab..93229d34 100644 --- a/old_docs/API_docs_v46/methods/messages_startBot.md +++ b/old_docs/API_docs_v46/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md index ec1809f3..2edb160a 100644 --- a/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v46/methods/messages_toggleChatAdmins.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleChatAdmins +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleChatAdmins` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v46/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/photos_deletePhotos.md b/old_docs/API_docs_v46/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v46/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v46/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/photos_getUserPhotos.md b/old_docs/API_docs_v46/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v46/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v46/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v46/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v46/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/updates_getChannelDifference.md b/old_docs/API_docs_v46/methods/updates_getChannelDifference.md index 6fe9722a..d2aedcea 100644 --- a/old_docs/API_docs_v46/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v46/methods/updates_getChannelDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/updates_getDifference.md b/old_docs/API_docs_v46/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v46/methods/updates_getDifference.md +++ b/old_docs/API_docs_v46/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/updates_getState.md b/old_docs/API_docs_v46/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v46/methods/updates_getState.md +++ b/old_docs/API_docs_v46/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v46/methods/upload_getFile.md b/old_docs/API_docs_v46/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v46/methods/upload_getFile.md +++ b/old_docs/API_docs_v46/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v46/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/upload_saveFilePart.md b/old_docs/API_docs_v46/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v46/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v46/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/users_getFullUser.md b/old_docs/API_docs_v46/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v46/methods/users_getFullUser.md +++ b/old_docs/API_docs_v46/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v46/methods/users_getUsers.md b/old_docs/API_docs_v46/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v46/methods/users_getUsers.md +++ b/old_docs/API_docs_v46/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/constructors/accountDaysTTL.md b/old_docs/API_docs_v51/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v51/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v51/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/account_authorizations.md b/old_docs/API_docs_v51/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v51/constructors/account_authorizations.md +++ b/old_docs/API_docs_v51/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/account_noPassword.md b/old_docs/API_docs_v51/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v51/constructors/account_noPassword.md +++ b/old_docs/API_docs_v51/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/account_password.md b/old_docs/API_docs_v51/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v51/constructors/account_password.md +++ b/old_docs/API_docs_v51/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v51/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v51/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v51/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/account_passwordSettings.md b/old_docs/API_docs_v51/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v51/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v51/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/account_privacyRules.md b/old_docs/API_docs_v51/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v51/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v51/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/auth_authorization.md b/old_docs/API_docs_v51/constructors/auth_authorization.md index 6b60d2ec..90504507 100644 --- a/old_docs/API_docs_v51/constructors/auth_authorization.md +++ b/old_docs/API_docs_v51/constructors/auth_authorization.md @@ -24,6 +24,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/auth_checkedPhone.md b/old_docs/API_docs_v51/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v51/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v51/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v51/constructors/auth_codeTypeCall.md index 6ac151ad..714eb23c 100644 --- a/old_docs/API_docs_v51/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v51/constructors/auth_codeTypeCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeCall attributes, type and example $auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md index a8c2bc05..c535eccf 100644 --- a/old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v51/constructors/auth_codeTypeFlashCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeFlashCall attributes, type and example $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeFlashCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v51/constructors/auth_codeTypeSms.md index aa7eccac..cbeb31cb 100644 --- a/old_docs/API_docs_v51/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v51/constructors/auth_codeTypeSms.md @@ -19,6 +19,13 @@ description: auth_codeTypeSms attributes, type and example $auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeSms"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v51/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v51/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v51/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v51/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/auth_sentCode.md b/old_docs/API_docs_v51/constructors/auth_sentCode.md index f3ac1809..51e2d458 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCode.md @@ -28,6 +28,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md index 84d05955..2456a284 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeApp.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeApp attributes, type and example $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeApp","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md index 889cec01..39745809 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeCall attributes, type and example $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeCall","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md index f5ec0920..2ba727ec 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md index 5c4075c1..4a350ff6 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCodeTypeSms.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeSms attributes, type and example $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeSms","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/authorization.md b/old_docs/API_docs_v51/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v51/constructors/authorization.md +++ b/old_docs/API_docs_v51/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/botCommand.md b/old_docs/API_docs_v51/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v51/constructors/botCommand.md +++ b/old_docs/API_docs_v51/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/botInfo.md b/old_docs/API_docs_v51/constructors/botInfo.md index 0fce4bf8..baaf28fd 100644 --- a/old_docs/API_docs_v51/constructors/botInfo.md +++ b/old_docs/API_docs_v51/constructors/botInfo.md @@ -26,6 +26,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/botInlineMediaResult.md b/old_docs/API_docs_v51/constructors/botInlineMediaResult.md index 147b4774..29854010 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v51/constructors/botInlineMediaResult.md @@ -30,6 +30,13 @@ description: botInlineMediaResult attributes, type and example $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v51/constructors/botInlineMessageMediaAuto.md index 694cf6ea..c652331d 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaAuto attributes, type and example $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v51/constructors/botInlineMessageMediaContact.md index f57e4752..5e57bf4f 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: botInlineMessageMediaContact attributes, type and example $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v51/constructors/botInlineMessageMediaGeo.md index 40ea4ca1..04a4abed 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaGeo attributes, type and example $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v51/constructors/botInlineMessageMediaVenue.md index 236f3cf1..6c08ee05 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: botInlineMessageMediaVenue attributes, type and example $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/botInlineMessageText.md b/old_docs/API_docs_v51/constructors/botInlineMessageText.md index 278fe01d..007acd3d 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageText.md @@ -27,6 +27,13 @@ description: botInlineMessageText attributes, type and example $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/botInlineResult.md b/old_docs/API_docs_v51/constructors/botInlineResult.md index 839edda1..57255b6c 100644 --- a/old_docs/API_docs_v51/constructors/botInlineResult.md +++ b/old_docs/API_docs_v51/constructors/botInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channel.md b/old_docs/API_docs_v51/constructors/channel.md index 1a1db52f..86740c87 100644 --- a/old_docs/API_docs_v51/constructors/channel.md +++ b/old_docs/API_docs_v51/constructors/channel.md @@ -43,6 +43,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","creator":"Bool","kicked":"Bool","left":"Bool","editor":"Bool","moderator":"Bool","broadcast":"Bool","verified":"Bool","megagroup":"Bool","restricted":"Bool","democracy":"Bool","signatures":"Bool","min":"Bool","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int","restriction_reason":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelForbidden.md b/old_docs/API_docs_v51/constructors/channelForbidden.md index ea7a1999..7c9a3dae 100644 --- a/old_docs/API_docs_v51/constructors/channelForbidden.md +++ b/old_docs/API_docs_v51/constructors/channelForbidden.md @@ -26,6 +26,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","id":"int","access_hash":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelFull.md b/old_docs/API_docs_v51/constructors/channelFull.md index dcd44c78..50ef4406 100644 --- a/old_docs/API_docs_v51/constructors/channelFull.md +++ b/old_docs/API_docs_v51/constructors/channelFull.md @@ -40,6 +40,13 @@ description: channelFull attributes, type and example $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, '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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","can_view_participants":"Bool","can_set_username":"Bool","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":["BotInfo"],"migrated_from_chat_id":"int","migrated_from_max_id":"int","pinned_msg_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelMessagesFilter.md b/old_docs/API_docs_v51/constructors/channelMessagesFilter.md index fe0318da..b6f94861 100644 --- a/old_docs/API_docs_v51/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v51/constructors/channelMessagesFilter.md @@ -26,6 +26,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","important_only":"Bool","exclude_new_messages":"Bool","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelMessagesFilterCollapsed.md b/old_docs/API_docs_v51/constructors/channelMessagesFilterCollapsed.md index 11cebd02..a1563c5b 100644 --- a/old_docs/API_docs_v51/constructors/channelMessagesFilterCollapsed.md +++ b/old_docs/API_docs_v51/constructors/channelMessagesFilterCollapsed.md @@ -19,6 +19,13 @@ description: channelMessagesFilterCollapsed attributes, type and example $channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterCollapsed"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v51/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v51/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v51/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelParticipant.md b/old_docs/API_docs_v51/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipant.md +++ b/old_docs/API_docs_v51/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelParticipantCreator.md b/old_docs/API_docs_v51/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelParticipantEditor.md b/old_docs/API_docs_v51/constructors/channelParticipantEditor.md index 3c866534..64f84b38 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantEditor.md @@ -26,6 +26,13 @@ description: channelParticipantEditor attributes, type and example $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelParticipantKicked.md b/old_docs/API_docs_v51/constructors/channelParticipantKicked.md index 362872f9..4aedad4d 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantKicked.md @@ -26,6 +26,13 @@ description: channelParticipantKicked attributes, type and example $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelParticipantModerator.md b/old_docs/API_docs_v51/constructors/channelParticipantModerator.md index ff9a7094..634f9de8 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantModerator.md @@ -26,6 +26,13 @@ description: channelParticipantModerator attributes, type and example $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelParticipantSelf.md b/old_docs/API_docs_v51/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v51/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelParticipantsBots.md b/old_docs/API_docs_v51/constructors/channelParticipantsBots.md index 24b68c95..963f155e 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantsBots.md @@ -19,6 +19,13 @@ description: channelParticipantsBots attributes, type and example $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBots"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v51/constructors/channelParticipantsKicked.md index d7889060..37714c3e 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantsKicked.md @@ -19,6 +19,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v51/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/old_docs/API_docs_v51/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v51/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelRoleEditor.md b/old_docs/API_docs_v51/constructors/channelRoleEditor.md index 103b7ae5..fea2e406 100644 --- a/old_docs/API_docs_v51/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v51/constructors/channelRoleEditor.md @@ -19,6 +19,13 @@ description: channelRoleEditor attributes, type and example $channelRoleEditor = ['_' => 'channelRoleEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEditor"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelRoleEmpty.md b/old_docs/API_docs_v51/constructors/channelRoleEmpty.md index b5a7b52c..932c9fb4 100644 --- a/old_docs/API_docs_v51/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v51/constructors/channelRoleEmpty.md @@ -19,6 +19,13 @@ description: channelRoleEmpty attributes, type and example $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channelRoleModerator.md b/old_docs/API_docs_v51/constructors/channelRoleModerator.md index f3aaff68..5d6a37d1 100644 --- a/old_docs/API_docs_v51/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v51/constructors/channelRoleModerator.md @@ -19,6 +19,13 @@ description: channelRoleModerator attributes, type and example $channelRoleModerator = ['_' => 'channelRoleModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleModerator"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channels_channelParticipant.md b/old_docs/API_docs_v51/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/old_docs/API_docs_v51/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v51/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/channels_channelParticipants.md b/old_docs/API_docs_v51/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/old_docs/API_docs_v51/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v51/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chat.md b/old_docs/API_docs_v51/constructors/chat.md index 9bad67b3..70955e06 100644 --- a/old_docs/API_docs_v51/constructors/chat.md +++ b/old_docs/API_docs_v51/constructors/chat.md @@ -36,6 +36,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatEmpty.md b/old_docs/API_docs_v51/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v51/constructors/chatEmpty.md +++ b/old_docs/API_docs_v51/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatForbidden.md b/old_docs/API_docs_v51/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/old_docs/API_docs_v51/constructors/chatForbidden.md +++ b/old_docs/API_docs_v51/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatFull.md b/old_docs/API_docs_v51/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v51/constructors/chatFull.md +++ b/old_docs/API_docs_v51/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatInvite.md b/old_docs/API_docs_v51/constructors/chatInvite.md index 8207c7f1..effead5a 100644 --- a/old_docs/API_docs_v51/constructors/chatInvite.md +++ b/old_docs/API_docs_v51/constructors/chatInvite.md @@ -28,6 +28,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatInviteAlready.md b/old_docs/API_docs_v51/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v51/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v51/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatInviteEmpty.md b/old_docs/API_docs_v51/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v51/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v51/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatInviteExported.md b/old_docs/API_docs_v51/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v51/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v51/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatParticipant.md b/old_docs/API_docs_v51/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipant.md +++ b/old_docs/API_docs_v51/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v51/constructors/chatParticipantAdmin.md index 6740c4a3..775f29c7 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v51/constructors/chatParticipantAdmin.md @@ -26,6 +26,13 @@ description: chatParticipantAdmin attributes, type and example $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatParticipantCreator.md b/old_docs/API_docs_v51/constructors/chatParticipantCreator.md index b80542a7..687dd93f 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v51/constructors/chatParticipantCreator.md @@ -24,6 +24,13 @@ description: chatParticipantCreator attributes, type and example $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatParticipants.md b/old_docs/API_docs_v51/constructors/chatParticipants.md index 2420f15e..c1602888 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipants.md +++ b/old_docs/API_docs_v51/constructors/chatParticipants.md @@ -26,6 +26,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v51/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/old_docs/API_docs_v51/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v51/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatPhoto.md b/old_docs/API_docs_v51/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v51/constructors/chatPhoto.md +++ b/old_docs/API_docs_v51/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v51/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v51/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v51/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/config.md b/old_docs/API_docs_v51/constructors/config.md index 33ac15f3..56ff1361 100644 --- a/old_docs/API_docs_v51/constructors/config.md +++ b/old_docs/API_docs_v51/constructors/config.md @@ -43,6 +43,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contact.md b/old_docs/API_docs_v51/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v51/constructors/contact.md +++ b/old_docs/API_docs_v51/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contactBlocked.md b/old_docs/API_docs_v51/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v51/constructors/contactBlocked.md +++ b/old_docs/API_docs_v51/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contactLinkContact.md b/old_docs/API_docs_v51/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v51/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v51/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v51/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v51/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v51/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contactLinkNone.md b/old_docs/API_docs_v51/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v51/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v51/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contactLinkUnknown.md b/old_docs/API_docs_v51/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v51/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v51/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contactStatus.md b/old_docs/API_docs_v51/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v51/constructors/contactStatus.md +++ b/old_docs/API_docs_v51/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contacts_blocked.md b/old_docs/API_docs_v51/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v51/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v51/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v51/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v51/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v51/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contacts_contacts.md b/old_docs/API_docs_v51/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v51/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v51/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v51/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contacts_found.md b/old_docs/API_docs_v51/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/old_docs/API_docs_v51/constructors/contacts_found.md +++ b/old_docs/API_docs_v51/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contacts_importedContacts.md b/old_docs/API_docs_v51/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v51/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v51/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contacts_link.md b/old_docs/API_docs_v51/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v51/constructors/contacts_link.md +++ b/old_docs/API_docs_v51/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v51/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/dcOption.md b/old_docs/API_docs_v51/constructors/dcOption.md index c05fcca1..a44017bd 100644 --- a/old_docs/API_docs_v51/constructors/dcOption.md +++ b/old_docs/API_docs_v51/constructors/dcOption.md @@ -29,6 +29,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/dialog.md b/old_docs/API_docs_v51/constructors/dialog.md index 9c6f4d43..d706225d 100644 --- a/old_docs/API_docs_v51/constructors/dialog.md +++ b/old_docs/API_docs_v51/constructors/dialog.md @@ -28,6 +28,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","peer":"Peer","top_message":"int","read_inbox_max_id":"int","unread_count":"int","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/dialogChannel.md b/old_docs/API_docs_v51/constructors/dialogChannel.md index 160dc27e..f4d28d89 100644 --- a/old_docs/API_docs_v51/constructors/dialogChannel.md +++ b/old_docs/API_docs_v51/constructors/dialogChannel.md @@ -31,6 +31,13 @@ description: dialogChannel attributes, type and 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/disabledFeature.md b/old_docs/API_docs_v51/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v51/constructors/disabledFeature.md +++ b/old_docs/API_docs_v51/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/document.md b/old_docs/API_docs_v51/constructors/document.md index 7153e5a6..7e3482ad 100644 --- a/old_docs/API_docs_v51/constructors/document.md +++ b/old_docs/API_docs_v51/constructors/document.md @@ -31,6 +31,13 @@ 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, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v51/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/documentAttributeAudio.md b/old_docs/API_docs_v51/constructors/documentAttributeAudio.md index 83ba2eb9..74aa516d 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeAudio.md @@ -28,6 +28,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/documentAttributeFilename.md b/old_docs/API_docs_v51/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v51/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/documentAttributeSticker.md b/old_docs/API_docs_v51/constructors/documentAttributeSticker.md index 9f8168b1..3cb9fcd5 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeSticker.md @@ -25,6 +25,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/documentAttributeVideo.md b/old_docs/API_docs_v51/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/documentEmpty.md b/old_docs/API_docs_v51/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v51/constructors/documentEmpty.md +++ b/old_docs/API_docs_v51/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/encryptedChat.md b/old_docs/API_docs_v51/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChat.md +++ b/old_docs/API_docs_v51/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v51/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v51/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v51/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v51/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/encryptedChatRequested.md b/old_docs/API_docs_v51/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v51/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v51/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v51/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v51/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/encryptedFile.md b/old_docs/API_docs_v51/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v51/constructors/encryptedFile.md +++ b/old_docs/API_docs_v51/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v51/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v51/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v51/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/encryptedMessage.md b/old_docs/API_docs_v51/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v51/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v51/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/encryptedMessageService.md b/old_docs/API_docs_v51/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v51/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v51/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/error.md b/old_docs/API_docs_v51/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v51/constructors/error.md +++ b/old_docs/API_docs_v51/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/exportedMessageLink.md b/old_docs/API_docs_v51/constructors/exportedMessageLink.md index d151e98e..b6f0c21f 100644 --- a/old_docs/API_docs_v51/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v51/constructors/exportedMessageLink.md @@ -24,6 +24,13 @@ description: exportedMessageLink attributes, type and example $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"exportedMessageLink","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/fileLocation.md b/old_docs/API_docs_v51/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v51/constructors/fileLocation.md +++ b/old_docs/API_docs_v51/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v51/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v51/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v51/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/foundGif.md b/old_docs/API_docs_v51/constructors/foundGif.md index e241eabe..99a0faa0 100644 --- a/old_docs/API_docs_v51/constructors/foundGif.md +++ b/old_docs/API_docs_v51/constructors/foundGif.md @@ -29,6 +29,13 @@ description: foundGif attributes, type and example $foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/foundGifCached.md b/old_docs/API_docs_v51/constructors/foundGifCached.md index f73c07df..a73fb47c 100644 --- a/old_docs/API_docs_v51/constructors/foundGifCached.md +++ b/old_docs/API_docs_v51/constructors/foundGifCached.md @@ -26,6 +26,13 @@ description: foundGifCached attributes, type and example $foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/geoPoint.md b/old_docs/API_docs_v51/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v51/constructors/geoPoint.md +++ b/old_docs/API_docs_v51/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/geoPointEmpty.md b/old_docs/API_docs_v51/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v51/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v51/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/help_appChangelog.md b/old_docs/API_docs_v51/constructors/help_appChangelog.md index 77c1c338..67e40e85 100644 --- a/old_docs/API_docs_v51/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v51/constructors/help_appChangelog.md @@ -24,6 +24,13 @@ description: help_appChangelog attributes, type and example $help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelog","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md index abbb4865..f6ab5ace 100644 --- a/old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v51/constructors/help_appChangelogEmpty.md @@ -19,6 +19,13 @@ description: help_appChangelogEmpty attributes, type and example $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelogEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/help_appUpdate.md b/old_docs/API_docs_v51/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v51/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v51/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/help_inviteText.md b/old_docs/API_docs_v51/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v51/constructors/help_inviteText.md +++ b/old_docs/API_docs_v51/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/help_noAppUpdate.md b/old_docs/API_docs_v51/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v51/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v51/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/help_support.md b/old_docs/API_docs_v51/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v51/constructors/help_support.md +++ b/old_docs/API_docs_v51/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/help_termsOfService.md b/old_docs/API_docs_v51/constructors/help_termsOfService.md index a945b971..6af3d9e5 100644 --- a/old_docs/API_docs_v51/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v51/constructors/help_termsOfService.md @@ -24,6 +24,13 @@ description: help_termsOfService attributes, type and example $help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.termsOfService","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/importedContact.md b/old_docs/API_docs_v51/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v51/constructors/importedContact.md +++ b/old_docs/API_docs_v51/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v51/constructors/inlineBotSwitchPM.md index 41ca65ac..86c0d9d4 100644 --- a/old_docs/API_docs_v51/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v51/constructors/inlineBotSwitchPM.md @@ -25,6 +25,13 @@ description: inlineBotSwitchPM attributes, type and example $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputAppEvent.md b/old_docs/API_docs_v51/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v51/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v51/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageID.md index 0d8d3f9e..757f7146 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageID.md @@ -26,6 +26,13 @@ description: inputBotInlineMessageID attributes, type and example $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaAuto.md index 75bb48f3..aa6b51df 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaContact.md index 754ce5ac..1bd6518f 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaGeo.md index 6eac346e..8c4f7ecc 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaVenue.md index ddb3c3fe..01e38309 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md index 77de3cf6..c785cbed 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageText attributes, type and example $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineResult.md b/old_docs/API_docs_v51/constructors/inputBotInlineResult.md index 9ff31ee5..ed68ad5c 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v51/constructors/inputBotInlineResultDocument.md index a5d9c466..15080274 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineResultDocument.md @@ -29,6 +29,13 @@ description: inputBotInlineResultDocument attributes, type and example $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v51/constructors/inputBotInlineResultPhoto.md index ca2c6b7a..bbc38a5a 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineResultPhoto.md @@ -27,6 +27,13 @@ description: inputBotInlineResultPhoto attributes, type and example $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputChannel.md b/old_docs/API_docs_v51/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/old_docs/API_docs_v51/constructors/inputChannel.md +++ b/old_docs/API_docs_v51/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputChannelEmpty.md b/old_docs/API_docs_v51/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/old_docs/API_docs_v51/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputChatPhoto.md b/old_docs/API_docs_v51/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v51/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v51/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v51/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v51/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v51/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputDocument.md b/old_docs/API_docs_v51/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v51/constructors/inputDocument.md +++ b/old_docs/API_docs_v51/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v51/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v51/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v51/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v51/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v51/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputEncryptedChat.md b/old_docs/API_docs_v51/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputEncryptedFile.md b/old_docs/API_docs_v51/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v51/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v51/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v51/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v51/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v51/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v51/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputFile.md b/old_docs/API_docs_v51/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v51/constructors/inputFile.md +++ b/old_docs/API_docs_v51/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputFileBig.md b/old_docs/API_docs_v51/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v51/constructors/inputFileBig.md +++ b/old_docs/API_docs_v51/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputFileLocation.md b/old_docs/API_docs_v51/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v51/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v51/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputGeoPoint.md b/old_docs/API_docs_v51/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v51/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v51/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v51/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v51/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMediaContact.md b/old_docs/API_docs_v51/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v51/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMediaDocument.md b/old_docs/API_docs_v51/constructors/inputMediaDocument.md index 1959cc4e..89ef5bdc 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v51/constructors/inputMediaDocument.md @@ -25,6 +25,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMediaEmpty.md b/old_docs/API_docs_v51/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v51/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v51/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v51/constructors/inputMediaGifExternal.md index af227d69..284e3cdd 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v51/constructors/inputMediaGifExternal.md @@ -25,6 +25,13 @@ description: inputMediaGifExternal attributes, type and example $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGifExternal","url":"string","q":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMediaPhoto.md b/old_docs/API_docs_v51/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v51/constructors/inputMediaUploadedDocument.md index 39526664..d7c6dee4 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v51/constructors/inputMediaUploadedDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v51/constructors/inputMediaUploadedPhoto.md index 0c4c9135..923fd903 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputMediaUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v51/constructors/inputMediaUploadedThumbDocument.md index 6ad07130..8c1c9295 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v51/constructors/inputMediaUploadedThumbDocument.md @@ -28,6 +28,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMediaVenue.md b/old_docs/API_docs_v51/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v51/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v51/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterGif.md index 02da8091..31be8767 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterGif.md @@ -19,6 +19,13 @@ description: inputMessagesFilterGif attributes, type and example $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterMusic.md index 2b211ca0..99111007 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterMusic.md @@ -19,6 +19,13 @@ description: inputMessagesFilterMusic attributes, type and example $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterMusic"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v51/constructors/inputMessagesFilterVoice.md index 1318e465..f111a3df 100644 --- a/old_docs/API_docs_v51/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v51/constructors/inputMessagesFilterVoice.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVoice attributes, type and example $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVoice"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputNotifyAll.md b/old_docs/API_docs_v51/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v51/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v51/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputNotifyChats.md b/old_docs/API_docs_v51/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v51/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v51/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputNotifyPeer.md b/old_docs/API_docs_v51/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v51/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v51/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputNotifyUsers.md b/old_docs/API_docs_v51/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v51/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v51/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPeerChannel.md b/old_docs/API_docs_v51/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v51/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPeerChat.md b/old_docs/API_docs_v51/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v51/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPeerEmpty.md b/old_docs/API_docs_v51/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md index d8db7388..6676a2f6 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPeerSelf.md b/old_docs/API_docs_v51/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v51/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPeerUser.md b/old_docs/API_docs_v51/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v51/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPhoneContact.md b/old_docs/API_docs_v51/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v51/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v51/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPhoto.md b/old_docs/API_docs_v51/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v51/constructors/inputPhoto.md +++ b/old_docs/API_docs_v51/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPhotoCrop.md b/old_docs/API_docs_v51/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v51/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v51/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v51/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v51/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v51/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v51/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v51/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md index 43210930..293e876d 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputReportReasonOther.md b/old_docs/API_docs_v51/constructors/inputReportReasonOther.md index 547711c4..ffd351a0 100644 --- a/old_docs/API_docs_v51/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v51/constructors/inputReportReasonOther.md @@ -24,6 +24,13 @@ description: inputReportReasonOther attributes, type and example $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonOther","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v51/constructors/inputReportReasonPornography.md index f73c6f4d..866d691c 100644 --- a/old_docs/API_docs_v51/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v51/constructors/inputReportReasonPornography.md @@ -19,6 +19,13 @@ description: inputReportReasonPornography attributes, type and example $inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonPornography"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v51/constructors/inputReportReasonSpam.md index ea2a9257..4cf6f414 100644 --- a/old_docs/API_docs_v51/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v51/constructors/inputReportReasonSpam.md @@ -19,6 +19,13 @@ description: inputReportReasonSpam attributes, type and example $inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonSpam"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v51/constructors/inputReportReasonViolence.md index 18a2ba4c..f2046d6e 100644 --- a/old_docs/API_docs_v51/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v51/constructors/inputReportReasonViolence.md @@ -19,6 +19,13 @@ description: inputReportReasonViolence attributes, type and example $inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonViolence"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v51/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v51/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputStickerSetID.md b/old_docs/API_docs_v51/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v51/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v51/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v51/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v51/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v51/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputUser.md b/old_docs/API_docs_v51/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v51/constructors/inputUser.md +++ b/old_docs/API_docs_v51/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputUserEmpty.md b/old_docs/API_docs_v51/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v51/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v51/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/inputUserSelf.md b/old_docs/API_docs_v51/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v51/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v51/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/keyboardButton.md b/old_docs/API_docs_v51/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButton.md +++ b/old_docs/API_docs_v51/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v51/constructors/keyboardButtonCallback.md index 1fe8571c..27bc68b8 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonCallback.md @@ -25,6 +25,13 @@ description: keyboardButtonCallback attributes, type and example $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md index 05cfd3cb..38cdc756 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestGeoLocation","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v51/constructors/keyboardButtonRequestPhone.md index cbff4adb..9c76c330 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonRequestPhone.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestPhone attributes, type and example $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestPhone","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/keyboardButtonRow.md b/old_docs/API_docs_v51/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v51/constructors/keyboardButtonSwitchInline.md index 40ec1178..def12264 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonSwitchInline.md @@ -25,6 +25,13 @@ description: keyboardButtonSwitchInline attributes, type and example $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => string, 'query' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonSwitchInline","text":"string","query":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v51/constructors/keyboardButtonUrl.md index a6411824..bf60dc2a 100644 --- a/old_docs/API_docs_v51/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v51/constructors/keyboardButtonUrl.md @@ -25,6 +25,13 @@ description: keyboardButtonUrl attributes, type and example $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonUrl","text":"string","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/message.md b/old_docs/API_docs_v51/constructors/message.md index d0e34235..e45289d6 100644 --- a/old_docs/API_docs_v51/constructors/message.md +++ b/old_docs/API_docs_v51/constructors/message.md @@ -42,6 +42,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, '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' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","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":["MessageEntity"],"views":"int","edit_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v51/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v51/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v51/constructors/messageActionChannelMigrateFrom.md index d15c0bf3..b63de131 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v51/constructors/messageActionChannelMigrateFrom.md @@ -25,6 +25,13 @@ description: messageActionChannelMigrateFrom attributes, type and example $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v51/constructors/messageActionChatAddUser.md index 135e16de..5edc7d3b 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageActionChatCreate.md b/old_docs/API_docs_v51/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v51/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v51/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v51/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v51/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v51/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v51/constructors/messageActionChatMigrateTo.md index fda20a24..7214d295 100644 --- a/old_docs/API_docs_v51/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v51/constructors/messageActionChatMigrateTo.md @@ -24,6 +24,13 @@ description: messageActionChatMigrateTo attributes, type and example $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageActionEmpty.md b/old_docs/API_docs_v51/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v51/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v51/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageActionPinMessage.md b/old_docs/API_docs_v51/constructors/messageActionPinMessage.md index 05443bcc..c8595522 100644 --- a/old_docs/API_docs_v51/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v51/constructors/messageActionPinMessage.md @@ -19,6 +19,13 @@ description: messageActionPinMessage attributes, type and example $messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPinMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageEmpty.md b/old_docs/API_docs_v51/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v51/constructors/messageEmpty.md +++ b/old_docs/API_docs_v51/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageEntityBold.md b/old_docs/API_docs_v51/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v51/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v51/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v51/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageEntityCode.md b/old_docs/API_docs_v51/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v51/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageEntityEmail.md b/old_docs/API_docs_v51/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v51/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageEntityHashtag.md b/old_docs/API_docs_v51/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v51/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageEntityItalic.md b/old_docs/API_docs_v51/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v51/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageEntityMention.md b/old_docs/API_docs_v51/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v51/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageEntityPre.md b/old_docs/API_docs_v51/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v51/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v51/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v51/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageEntityUnknown.md b/old_docs/API_docs_v51/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v51/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageEntityUrl.md b/old_docs/API_docs_v51/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v51/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v51/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageFwdHeader.md b/old_docs/API_docs_v51/constructors/messageFwdHeader.md index 80baa30c..15b5b5f3 100644 --- a/old_docs/API_docs_v51/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v51/constructors/messageFwdHeader.md @@ -27,6 +27,13 @@ description: messageFwdHeader attributes, type and example $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageGroup.md b/old_docs/API_docs_v51/constructors/messageGroup.md index 5e3992c0..ddbc0e37 100644 --- a/old_docs/API_docs_v51/constructors/messageGroup.md +++ b/old_docs/API_docs_v51/constructors/messageGroup.md @@ -27,6 +27,13 @@ description: messageGroup attributes, type and example $messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageGroup","min_id":"int","max_id":"int","count":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageMediaContact.md b/old_docs/API_docs_v51/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v51/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageMediaDocument.md b/old_docs/API_docs_v51/constructors/messageMediaDocument.md index 66a67150..0fc6558b 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v51/constructors/messageMediaDocument.md @@ -25,6 +25,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageMediaEmpty.md b/old_docs/API_docs_v51/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v51/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageMediaGeo.md b/old_docs/API_docs_v51/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v51/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageMediaPhoto.md b/old_docs/API_docs_v51/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v51/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v51/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v51/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageMediaVenue.md b/old_docs/API_docs_v51/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v51/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageMediaWebPage.md b/old_docs/API_docs_v51/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v51/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v51/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageRange.md b/old_docs/API_docs_v51/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v51/constructors/messageRange.md +++ b/old_docs/API_docs_v51/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messageService.md b/old_docs/API_docs_v51/constructors/messageService.md index 801f4bc8..5848fb77 100644 --- a/old_docs/API_docs_v51/constructors/messageService.md +++ b/old_docs/API_docs_v51/constructors/messageService.md @@ -35,6 +35,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","id":"int","from_id":"int","to_id":"Peer","reply_to_msg_id":"int","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_affectedHistory.md b/old_docs/API_docs_v51/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v51/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v51/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_affectedMessages.md b/old_docs/API_docs_v51/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v51/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v51/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_allStickers.md b/old_docs/API_docs_v51/constructors/messages_allStickers.md index 7a5fe6af..a16f30e8 100644 --- a/old_docs/API_docs_v51/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v51/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v51/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md index 0f6860c6..02430084 100644 --- a/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md @@ -25,6 +25,13 @@ description: messages_botCallbackAnswer attributes, type and example $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botCallbackAnswer","alert":"Bool","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_botResults.md b/old_docs/API_docs_v51/constructors/messages_botResults.md index 10eb3db0..d552a4fe 100644 --- a/old_docs/API_docs_v51/constructors/messages_botResults.md +++ b/old_docs/API_docs_v51/constructors/messages_botResults.md @@ -28,6 +28,13 @@ description: messages_botResults attributes, type and example $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_channelMessages.md b/old_docs/API_docs_v51/constructors/messages_channelMessages.md index 94236376..d9264977 100644 --- a/old_docs/API_docs_v51/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v51/constructors/messages_channelMessages.md @@ -29,6 +29,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'collapsed' => [MessageGroup], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"collapsed":["MessageGroup"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_chatFull.md b/old_docs/API_docs_v51/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v51/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v51/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_chats.md b/old_docs/API_docs_v51/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v51/constructors/messages_chats.md +++ b/old_docs/API_docs_v51/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_dhConfig.md b/old_docs/API_docs_v51/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v51/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v51/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v51/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_dialogs.md b/old_docs/API_docs_v51/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v51/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v51/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v51/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v51/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v51/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_foundGifs.md b/old_docs/API_docs_v51/constructors/messages_foundGifs.md index 5db1a1db..7cf2eaac 100644 --- a/old_docs/API_docs_v51/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v51/constructors/messages_foundGifs.md @@ -25,6 +25,13 @@ description: messages_foundGifs attributes, type and example $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_messageEditData.md b/old_docs/API_docs_v51/constructors/messages_messageEditData.md index 84fede7d..f04529f4 100644 --- a/old_docs/API_docs_v51/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v51/constructors/messages_messageEditData.md @@ -24,6 +24,13 @@ description: messages_messageEditData attributes, type and example $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messageEditData","caption":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_messages.md b/old_docs/API_docs_v51/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v51/constructors/messages_messages.md +++ b/old_docs/API_docs_v51/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_messagesSlice.md b/old_docs/API_docs_v51/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v51/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v51/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_savedGifs.md b/old_docs/API_docs_v51/constructors/messages_savedGifs.md index dfcab426..6077da46 100644 --- a/old_docs/API_docs_v51/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v51/constructors/messages_savedGifs.md @@ -25,6 +25,13 @@ description: messages_savedGifs attributes, type and example $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md index 78292bdb..6f35f43d 100644 --- a/old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v51/constructors/messages_savedGifsNotModified.md @@ -19,6 +19,13 @@ description: messages_savedGifsNotModified attributes, type and example $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v51/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v51/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_stickerSet.md b/old_docs/API_docs_v51/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v51/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v51/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_stickers.md b/old_docs/API_docs_v51/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v51/constructors/messages_stickers.md +++ b/old_docs/API_docs_v51/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v51/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v51/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v51/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/nearestDc.md b/old_docs/API_docs_v51/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v51/constructors/nearestDc.md +++ b/old_docs/API_docs_v51/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/notifyAll.md b/old_docs/API_docs_v51/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v51/constructors/notifyAll.md +++ b/old_docs/API_docs_v51/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/notifyChats.md b/old_docs/API_docs_v51/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v51/constructors/notifyChats.md +++ b/old_docs/API_docs_v51/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/notifyPeer.md b/old_docs/API_docs_v51/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v51/constructors/notifyPeer.md +++ b/old_docs/API_docs_v51/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/notifyUsers.md b/old_docs/API_docs_v51/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v51/constructors/notifyUsers.md +++ b/old_docs/API_docs_v51/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/peerChannel.md b/old_docs/API_docs_v51/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v51/constructors/peerChannel.md +++ b/old_docs/API_docs_v51/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/peerChat.md b/old_docs/API_docs_v51/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v51/constructors/peerChat.md +++ b/old_docs/API_docs_v51/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v51/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v51/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v51/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v51/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v51/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v51/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/peerNotifySettings.md b/old_docs/API_docs_v51/constructors/peerNotifySettings.md index 6c2d984e..fb5f90ac 100644 --- a/old_docs/API_docs_v51/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v51/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v51/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v51/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v51/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/peerSettings.md b/old_docs/API_docs_v51/constructors/peerSettings.md index 0169488e..1c888af9 100644 --- a/old_docs/API_docs_v51/constructors/peerSettings.md +++ b/old_docs/API_docs_v51/constructors/peerSettings.md @@ -24,6 +24,13 @@ description: peerSettings attributes, type and example $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerSettings","report_spam":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/peerUser.md b/old_docs/API_docs_v51/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v51/constructors/peerUser.md +++ b/old_docs/API_docs_v51/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/photo.md b/old_docs/API_docs_v51/constructors/photo.md index f9c9582a..2aaa4efd 100644 --- a/old_docs/API_docs_v51/constructors/photo.md +++ b/old_docs/API_docs_v51/constructors/photo.md @@ -27,6 +27,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/photoCachedSize.md b/old_docs/API_docs_v51/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v51/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v51/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/photoEmpty.md b/old_docs/API_docs_v51/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v51/constructors/photoEmpty.md +++ b/old_docs/API_docs_v51/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/photoSize.md b/old_docs/API_docs_v51/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v51/constructors/photoSize.md +++ b/old_docs/API_docs_v51/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/photoSizeEmpty.md b/old_docs/API_docs_v51/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v51/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v51/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/photos_photo.md b/old_docs/API_docs_v51/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v51/constructors/photos_photo.md +++ b/old_docs/API_docs_v51/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/photos_photos.md b/old_docs/API_docs_v51/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v51/constructors/photos_photos.md +++ b/old_docs/API_docs_v51/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/photos_photosSlice.md b/old_docs/API_docs_v51/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v51/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v51/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v51/constructors/privacyKeyChatInvite.md index ad4a35e7..88fbe9a6 100644 --- a/old_docs/API_docs_v51/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v51/constructors/privacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: privacyKeyChatInvite attributes, type and example $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v51/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v51/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v51/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v51/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v51/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v51/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v51/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v51/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v51/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v51/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v51/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v51/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v51/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v51/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v51/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v51/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v51/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v51/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v51/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/replyInlineMarkup.md b/old_docs/API_docs_v51/constructors/replyInlineMarkup.md index 4bc5d372..76e87dc2 100644 --- a/old_docs/API_docs_v51/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v51/constructors/replyInlineMarkup.md @@ -24,6 +24,13 @@ description: replyInlineMarkup attributes, type and example $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md index 4f319506..02a0779a 100644 --- a/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md @@ -25,6 +25,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/replyKeyboardHide.md b/old_docs/API_docs_v51/constructors/replyKeyboardHide.md index 56faa8dd..8b210933 100644 --- a/old_docs/API_docs_v51/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v51/constructors/replyKeyboardHide.md @@ -24,6 +24,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md index 3cebc41f..4269aeb9 100644 --- a/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md @@ -27,6 +27,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v51/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v51/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v51/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v51/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v51/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v51/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v51/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v51/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v51/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v51/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v51/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v51/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/stickerPack.md b/old_docs/API_docs_v51/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v51/constructors/stickerPack.md +++ b/old_docs/API_docs_v51/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/stickerSet.md b/old_docs/API_docs_v51/constructors/stickerSet.md index bed0beeb..2c2aa5aa 100644 --- a/old_docs/API_docs_v51/constructors/stickerSet.md +++ b/old_docs/API_docs_v51/constructors/stickerSet.md @@ -32,6 +32,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/storage_fileGif.md b/old_docs/API_docs_v51/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v51/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/storage_fileJpeg.md b/old_docs/API_docs_v51/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v51/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/storage_fileMov.md b/old_docs/API_docs_v51/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v51/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/storage_fileMp3.md b/old_docs/API_docs_v51/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v51/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/storage_fileMp4.md b/old_docs/API_docs_v51/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v51/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/storage_filePartial.md b/old_docs/API_docs_v51/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v51/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v51/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/storage_filePdf.md b/old_docs/API_docs_v51/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v51/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v51/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/storage_filePng.md b/old_docs/API_docs_v51/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v51/constructors/storage_filePng.md +++ b/old_docs/API_docs_v51/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/storage_fileUnknown.md b/old_docs/API_docs_v51/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v51/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/storage_fileWebp.md b/old_docs/API_docs_v51/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v51/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v51/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/true.md b/old_docs/API_docs_v51/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v51/constructors/true.md +++ b/old_docs/API_docs_v51/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v51/constructors/updateBotCallbackQuery.md index 2e890863..3c72736d 100644 --- a/old_docs/API_docs_v51/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v51/constructors/updateBotCallbackQuery.md @@ -28,6 +28,13 @@ description: updateBotCallbackQuery attributes, type and example $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v51/constructors/updateBotInlineQuery.md index 5cc6956a..9002aa9b 100644 --- a/old_docs/API_docs_v51/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v51/constructors/updateBotInlineQuery.md @@ -28,6 +28,13 @@ description: updateBotInlineQuery attributes, type and example $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateBotInlineSend.md b/old_docs/API_docs_v51/constructors/updateBotInlineSend.md index fb062eb3..816f950f 100644 --- a/old_docs/API_docs_v51/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v51/constructors/updateBotInlineSend.md @@ -28,6 +28,13 @@ description: updateBotInlineSend attributes, type and example $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateChannel.md b/old_docs/API_docs_v51/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/old_docs/API_docs_v51/constructors/updateChannel.md +++ b/old_docs/API_docs_v51/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateChannelGroup.md b/old_docs/API_docs_v51/constructors/updateChannelGroup.md index 6ffad0dd..59290243 100644 --- a/old_docs/API_docs_v51/constructors/updateChannelGroup.md +++ b/old_docs/API_docs_v51/constructors/updateChannelGroup.md @@ -25,6 +25,13 @@ description: updateChannelGroup attributes, type and example $updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelGroup","channel_id":"int","group":"MessageGroup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v51/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/old_docs/API_docs_v51/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v51/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v51/constructors/updateChannelPinnedMessage.md index f6179fd7..cbdc70c7 100644 --- a/old_docs/API_docs_v51/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v51/constructors/updateChannelPinnedMessage.md @@ -25,6 +25,13 @@ description: updateChannelPinnedMessage attributes, type and example $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateChannelTooLong.md b/old_docs/API_docs_v51/constructors/updateChannelTooLong.md index c6a74206..f0a327af 100644 --- a/old_docs/API_docs_v51/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v51/constructors/updateChannelTooLong.md @@ -25,6 +25,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateChatAdmins.md b/old_docs/API_docs_v51/constructors/updateChatAdmins.md index 36fb3614..bf391961 100644 --- a/old_docs/API_docs_v51/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v51/constructors/updateChatAdmins.md @@ -26,6 +26,13 @@ description: updateChatAdmins attributes, type and example $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v51/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/old_docs/API_docs_v51/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v51/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v51/constructors/updateChatParticipantAdmin.md index fbb2cdae..ba5bbc95 100644 --- a/old_docs/API_docs_v51/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v51/constructors/updateChatParticipantAdmin.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdmin attributes, type and example $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v51/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v51/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v51/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateChatParticipants.md b/old_docs/API_docs_v51/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v51/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v51/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateChatUserTyping.md b/old_docs/API_docs_v51/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v51/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v51/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateContactLink.md b/old_docs/API_docs_v51/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v51/constructors/updateContactLink.md +++ b/old_docs/API_docs_v51/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateContactRegistered.md b/old_docs/API_docs_v51/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v51/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v51/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateDcOptions.md b/old_docs/API_docs_v51/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v51/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v51/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v51/constructors/updateDeleteChannelMessages.md index 6f8c20d5..a078a880 100644 --- a/old_docs/API_docs_v51/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v51/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateDeleteMessages.md b/old_docs/API_docs_v51/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v51/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v51/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v51/constructors/updateEditChannelMessage.md index 65a44b23..f2d2b288 100644 --- a/old_docs/API_docs_v51/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v51/constructors/updateEditChannelMessage.md @@ -26,6 +26,13 @@ description: updateEditChannelMessage attributes, type and example $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateEditMessage.md b/old_docs/API_docs_v51/constructors/updateEditMessage.md index 7b681445..3e2f86a3 100644 --- a/old_docs/API_docs_v51/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v51/constructors/updateEditMessage.md @@ -26,6 +26,13 @@ description: updateEditMessage attributes, type and example $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v51/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v51/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v51/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v51/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v51/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v51/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateEncryption.md b/old_docs/API_docs_v51/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v51/constructors/updateEncryption.md +++ b/old_docs/API_docs_v51/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v51/constructors/updateInlineBotCallbackQuery.md index ff99c35f..da31cfe1 100644 --- a/old_docs/API_docs_v51/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v51/constructors/updateInlineBotCallbackQuery.md @@ -27,6 +27,13 @@ description: updateInlineBotCallbackQuery attributes, type and example $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateMessageID.md b/old_docs/API_docs_v51/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v51/constructors/updateMessageID.md +++ b/old_docs/API_docs_v51/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateNewAuthorization.md b/old_docs/API_docs_v51/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v51/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v51/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v51/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/old_docs/API_docs_v51/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v51/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v51/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v51/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v51/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateNewMessage.md b/old_docs/API_docs_v51/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v51/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v51/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateNewStickerSet.md b/old_docs/API_docs_v51/constructors/updateNewStickerSet.md index ccb4f17f..919c3ad8 100644 --- a/old_docs/API_docs_v51/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v51/constructors/updateNewStickerSet.md @@ -24,6 +24,13 @@ description: updateNewStickerSet attributes, type and example $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateNotifySettings.md b/old_docs/API_docs_v51/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v51/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v51/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updatePrivacy.md b/old_docs/API_docs_v51/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v51/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v51/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v51/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/old_docs/API_docs_v51/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v51/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v51/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v51/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v51/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v51/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v51/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v51/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v51/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v51/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v51/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateSavedGifs.md b/old_docs/API_docs_v51/constructors/updateSavedGifs.md index a52b7838..46dfb8a6 100644 --- a/old_docs/API_docs_v51/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v51/constructors/updateSavedGifs.md @@ -19,6 +19,13 @@ description: updateSavedGifs attributes, type and example $updateSavedGifs = ['_' => 'updateSavedGifs', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateSavedGifs"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateServiceNotification.md b/old_docs/API_docs_v51/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v51/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v51/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateShort.md b/old_docs/API_docs_v51/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v51/constructors/updateShort.md +++ b/old_docs/API_docs_v51/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateShortChatMessage.md b/old_docs/API_docs_v51/constructors/updateShortChatMessage.md index 2e263f0a..b317c31a 100644 --- a/old_docs/API_docs_v51/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v51/constructors/updateShortChatMessage.md @@ -39,6 +39,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateShortMessage.md b/old_docs/API_docs_v51/constructors/updateShortMessage.md index 3f0ee5d0..fbb470f4 100644 --- a/old_docs/API_docs_v51/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v51/constructors/updateShortMessage.md @@ -38,6 +38,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","unread":"Bool","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateShortSentMessage.md b/old_docs/API_docs_v51/constructors/updateShortSentMessage.md index cf123f7b..5005d3a2 100644 --- a/old_docs/API_docs_v51/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v51/constructors/updateShortSentMessage.md @@ -31,6 +31,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","unread":"Bool","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateStickerSets.md b/old_docs/API_docs_v51/constructors/updateStickerSets.md index 0affa36f..69c53b51 100644 --- a/old_docs/API_docs_v51/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v51/constructors/updateStickerSets.md @@ -19,6 +19,13 @@ description: updateStickerSets attributes, type and example $updateStickerSets = ['_' => 'updateStickerSets', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSets"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v51/constructors/updateStickerSetsOrder.md index ee954112..950fdb48 100644 --- a/old_docs/API_docs_v51/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v51/constructors/updateStickerSetsOrder.md @@ -24,6 +24,13 @@ description: updateStickerSetsOrder attributes, type and example $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSetsOrder","order":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateUserBlocked.md b/old_docs/API_docs_v51/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v51/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v51/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateUserName.md b/old_docs/API_docs_v51/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v51/constructors/updateUserName.md +++ b/old_docs/API_docs_v51/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateUserPhone.md b/old_docs/API_docs_v51/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v51/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v51/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateUserPhoto.md b/old_docs/API_docs_v51/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v51/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v51/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateUserStatus.md b/old_docs/API_docs_v51/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v51/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v51/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateUserTyping.md b/old_docs/API_docs_v51/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v51/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v51/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updateWebPage.md b/old_docs/API_docs_v51/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/old_docs/API_docs_v51/constructors/updateWebPage.md +++ b/old_docs/API_docs_v51/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updates.md b/old_docs/API_docs_v51/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v51/constructors/updates.md +++ b/old_docs/API_docs_v51/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updatesCombined.md b/old_docs/API_docs_v51/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v51/constructors/updatesCombined.md +++ b/old_docs/API_docs_v51/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updatesTooLong.md b/old_docs/API_docs_v51/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v51/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v51/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updates_channelDifference.md b/old_docs/API_docs_v51/constructors/updates_channelDifference.md index c64c69b6..876e8d13 100644 --- a/old_docs/API_docs_v51/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v51/constructors/updates_channelDifference.md @@ -30,6 +30,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md index 6e4d7bde..c596d24a 100644 --- a/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md @@ -26,6 +26,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md index ca05cf53..4302d54b 100644 --- a/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md @@ -34,6 +34,13 @@ description: updates_channelDifferenceTooLong attributes, type and example $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceTooLong","final":"Bool","pts":"int","timeout":"int","top_message":"int","top_important_message":"int","read_inbox_max_id":"int","unread_count":"int","unread_important_count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updates_difference.md b/old_docs/API_docs_v51/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v51/constructors/updates_difference.md +++ b/old_docs/API_docs_v51/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v51/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v51/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v51/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updates_differenceSlice.md b/old_docs/API_docs_v51/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v51/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v51/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/updates_state.md b/old_docs/API_docs_v51/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v51/constructors/updates_state.md +++ b/old_docs/API_docs_v51/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/upload_file.md b/old_docs/API_docs_v51/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v51/constructors/upload_file.md +++ b/old_docs/API_docs_v51/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/user.md b/old_docs/API_docs_v51/constructors/user.md index 900236af..a0f86878 100644 --- a/old_docs/API_docs_v51/constructors/user.md +++ b/old_docs/API_docs_v51/constructors/user.md @@ -45,6 +45,13 @@ description: user attributes, type and example $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, '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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","self":"Bool","contact":"Bool","mutual_contact":"Bool","deleted":"Bool","bot":"Bool","bot_chat_history":"Bool","bot_nochats":"Bool","verified":"Bool","restricted":"Bool","min":"Bool","bot_inline_geo":"Bool","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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/userEmpty.md b/old_docs/API_docs_v51/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v51/constructors/userEmpty.md +++ b/old_docs/API_docs_v51/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/userFull.md b/old_docs/API_docs_v51/constructors/userFull.md index 4b9a2346..da08e19b 100644 --- a/old_docs/API_docs_v51/constructors/userFull.md +++ b/old_docs/API_docs_v51/constructors/userFull.md @@ -30,6 +30,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","blocked":"Bool","user":"User","about":"string","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","bot_info":"BotInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/userProfilePhoto.md b/old_docs/API_docs_v51/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v51/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v51/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v51/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v51/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v51/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/userStatusEmpty.md b/old_docs/API_docs_v51/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v51/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v51/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/userStatusLastMonth.md b/old_docs/API_docs_v51/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v51/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v51/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/userStatusLastWeek.md b/old_docs/API_docs_v51/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v51/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v51/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/userStatusOffline.md b/old_docs/API_docs_v51/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v51/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v51/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/userStatusOnline.md b/old_docs/API_docs_v51/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v51/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v51/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/userStatusRecently.md b/old_docs/API_docs_v51/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v51/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v51/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/vector.md b/old_docs/API_docs_v51/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v51/constructors/vector.md +++ b/old_docs/API_docs_v51/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/wallPaper.md b/old_docs/API_docs_v51/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v51/constructors/wallPaper.md +++ b/old_docs/API_docs_v51/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/wallPaperSolid.md b/old_docs/API_docs_v51/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v51/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v51/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/webPage.md b/old_docs/API_docs_v51/constructors/webPage.md index 7c0a432f..b4dd86ee 100644 --- a/old_docs/API_docs_v51/constructors/webPage.md +++ b/old_docs/API_docs_v51/constructors/webPage.md @@ -38,6 +38,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/webPageEmpty.md b/old_docs/API_docs_v51/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v51/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v51/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/constructors/webPagePending.md b/old_docs/API_docs_v51/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v51/constructors/webPagePending.md +++ b/old_docs/API_docs_v51/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/account_changePhone.md b/old_docs/API_docs_v51/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v51/methods/account_changePhone.md +++ b/old_docs/API_docs_v51/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_checkUsername.md b/old_docs/API_docs_v51/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v51/methods/account_checkUsername.md +++ b/old_docs/API_docs_v51/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_deleteAccount.md b/old_docs/API_docs_v51/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v51/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v51/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_getAccountTTL.md b/old_docs/API_docs_v51/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v51/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v51/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/account_getAuthorizations.md b/old_docs/API_docs_v51/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v51/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v51/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/account_getNotifySettings.md b/old_docs/API_docs_v51/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v51/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_getPassword.md b/old_docs/API_docs_v51/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v51/methods/account_getPassword.md +++ b/old_docs/API_docs_v51/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/account_getPasswordSettings.md b/old_docs/API_docs_v51/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v51/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v51/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_getPrivacy.md b/old_docs/API_docs_v51/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v51/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v51/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_getWallPapers.md b/old_docs/API_docs_v51/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v51/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v51/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/account_registerDevice.md b/old_docs/API_docs_v51/methods/account_registerDevice.md index 746ac76d..c786c6a8 100644 --- a/old_docs/API_docs_v51/methods/account_registerDevice.md +++ b/old_docs/API_docs_v51/methods/account_registerDevice.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string","device_model":"string","system_version":"string","app_version":"string","app_sandbox":"Bool","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +app_sandbox - Json encoded Bool +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_reportPeer.md b/old_docs/API_docs_v51/methods/account_reportPeer.md index 019e88a5..08c8d0d5 100644 --- a/old_docs/API_docs_v51/methods/account_reportPeer.md +++ b/old_docs/API_docs_v51/methods/account_reportPeer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.reportPeer +* params - {"peer":"InputPeer","reason":"ReportReason"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.reportPeer` + +Parameters: + +peer - Json encoded InputPeer +reason - Json encoded ReportReason + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_resetAuthorization.md b/old_docs/API_docs_v51/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v51/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v51/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_resetNotifySettings.md b/old_docs/API_docs_v51/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v51/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md index 83cfe3e2..1c4c0ca7 100644 --- a/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v51/methods/account_sendChangePhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_setAccountTTL.md b/old_docs/API_docs_v51/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v51/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v51/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_setPrivacy.md b/old_docs/API_docs_v51/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v51/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v51/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_unregisterDevice.md b/old_docs/API_docs_v51/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v51/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v51/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v51/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_updateNotifySettings.md b/old_docs/API_docs_v51/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v51/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v51/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v51/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_updateProfile.md b/old_docs/API_docs_v51/methods/account_updateProfile.md index e12a2f1c..10ab8f0c 100644 --- a/old_docs/API_docs_v51/methods/account_updateProfile.md +++ b/old_docs/API_docs_v51/methods/account_updateProfile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_updateStatus.md b/old_docs/API_docs_v51/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v51/methods/account_updateStatus.md +++ b/old_docs/API_docs_v51/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/account_updateUsername.md b/old_docs/API_docs_v51/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v51/methods/account_updateUsername.md +++ b/old_docs/API_docs_v51/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v51/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/auth_cancelCode.md b/old_docs/API_docs_v51/methods/auth_cancelCode.md index 73a8c55b..05aae0cf 100644 --- a/old_docs/API_docs_v51/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v51/methods/auth_cancelCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.cancelCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.cancelCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/auth_checkPassword.md b/old_docs/API_docs_v51/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v51/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v51/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/auth_checkPhone.md b/old_docs/API_docs_v51/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v51/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v51/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/auth_exportAuthorization.md b/old_docs/API_docs_v51/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v51/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/auth_importAuthorization.md b/old_docs/API_docs_v51/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v51/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v51/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/auth_logOut.md b/old_docs/API_docs_v51/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v51/methods/auth_logOut.md +++ b/old_docs/API_docs_v51/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/auth_recoverPassword.md b/old_docs/API_docs_v51/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v51/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v51/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v51/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/auth_resendCode.md b/old_docs/API_docs_v51/methods/auth_resendCode.md index 6ba623cf..aaea73a0 100644 --- a/old_docs/API_docs_v51/methods/auth_resendCode.md +++ b/old_docs/API_docs_v51/methods/auth_resendCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resendCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resendCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v51/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/auth_sendCode.md b/old_docs/API_docs_v51/methods/auth_sendCode.md index d9b0a00e..fb7f5085 100644 --- a/old_docs/API_docs_v51/methods/auth_sendCode.md +++ b/old_docs/API_docs_v51/methods/auth_sendCode.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool +api_id - Json encoded int +api_hash - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/auth_sendInvites.md b/old_docs/API_docs_v51/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v51/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v51/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/auth_signIn.md b/old_docs/API_docs_v51/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v51/methods/auth_signIn.md +++ b/old_docs/API_docs_v51/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/auth_signUp.md b/old_docs/API_docs_v51/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v51/methods/auth_signUp.md +++ b/old_docs/API_docs_v51/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_checkUsername.md b/old_docs/API_docs_v51/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/old_docs/API_docs_v51/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v51/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_createChannel.md b/old_docs/API_docs_v51/methods/channels_createChannel.md index a4819767..853ca900 100644 --- a/old_docs/API_docs_v51/methods/channels_createChannel.md +++ b/old_docs/API_docs_v51/methods/channels_createChannel.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +broadcast - Json encoded Bool +megagroup - Json encoded Bool +title - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_deleteChannel.md b/old_docs/API_docs_v51/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v51/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_deleteMessages.md b/old_docs/API_docs_v51/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v51/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v51/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_editAbout.md b/old_docs/API_docs_v51/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/old_docs/API_docs_v51/methods/channels_editAbout.md +++ b/old_docs/API_docs_v51/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_editAdmin.md b/old_docs/API_docs_v51/methods/channels_editAdmin.md index 4596e082..729d5e28 100644 --- a/old_docs/API_docs_v51/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v51/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +role - Json encoded ChannelParticipantRole + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_editPhoto.md b/old_docs/API_docs_v51/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/old_docs/API_docs_v51/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v51/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_editTitle.md b/old_docs/API_docs_v51/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/old_docs/API_docs_v51/methods/channels_editTitle.md +++ b/old_docs/API_docs_v51/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_exportInvite.md b/old_docs/API_docs_v51/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/old_docs/API_docs_v51/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v51/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_exportMessageLink.md b/old_docs/API_docs_v51/methods/channels_exportMessageLink.md index 644c5b1a..4d5ba2df 100644 --- a/old_docs/API_docs_v51/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v51/methods/channels_exportMessageLink.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportMessageLink +* params - {"channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportMessageLink` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_getChannels.md b/old_docs/API_docs_v51/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/old_docs/API_docs_v51/methods/channels_getChannels.md +++ b/old_docs/API_docs_v51/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_getDialogs.md b/old_docs/API_docs_v51/methods/channels_getDialogs.md index 601510e1..b20fb17c 100644 --- a/old_docs/API_docs_v51/methods/channels_getDialogs.md +++ b/old_docs/API_docs_v51/methods/channels_getDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getDialogs +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getDialogs` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_getFullChannel.md b/old_docs/API_docs_v51/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/old_docs/API_docs_v51/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v51/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_getImportantHistory.md b/old_docs/API_docs_v51/methods/channels_getImportantHistory.md index d636b401..305b171d 100644 --- a/old_docs/API_docs_v51/methods/channels_getImportantHistory.md +++ b/old_docs/API_docs_v51/methods/channels_getImportantHistory.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getImportantHistory +* params - {"channel":"InputChannel","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getImportantHistory` + +Parameters: + +channel - Json encoded InputChannel +offset_id - Json encoded int +offset_date - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_getMessages.md b/old_docs/API_docs_v51/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/old_docs/API_docs_v51/methods/channels_getMessages.md +++ b/old_docs/API_docs_v51/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_getParticipant.md b/old_docs/API_docs_v51/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_getParticipants.md b/old_docs/API_docs_v51/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/old_docs/API_docs_v51/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v51/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_inviteToChannel.md b/old_docs/API_docs_v51/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/old_docs/API_docs_v51/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v51/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_joinChannel.md b/old_docs/API_docs_v51/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/old_docs/API_docs_v51/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v51/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_kickFromChannel.md b/old_docs/API_docs_v51/methods/channels_kickFromChannel.md index 1dc6b4b7..5e91bc24 100644 --- a/old_docs/API_docs_v51/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v51/methods/channels_kickFromChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.kickFromChannel +* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.kickFromChannel` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +kicked - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_leaveChannel.md b/old_docs/API_docs_v51/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/old_docs/API_docs_v51/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v51/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_readHistory.md b/old_docs/API_docs_v51/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/old_docs/API_docs_v51/methods/channels_readHistory.md +++ b/old_docs/API_docs_v51/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_reportSpam.md b/old_docs/API_docs_v51/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/old_docs/API_docs_v51/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v51/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_toggleComments.md b/old_docs/API_docs_v51/methods/channels_toggleComments.md index 930df0e2..e3b45398 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleComments.md +++ b/old_docs/API_docs_v51/methods/channels_toggleComments.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleComments +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleComments` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_toggleInvites.md b/old_docs/API_docs_v51/methods/channels_toggleInvites.md index f537ada8..86569f90 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v51/methods/channels_toggleInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleInvites +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleInvites` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_toggleSignatures.md b/old_docs/API_docs_v51/methods/channels_toggleSignatures.md index 327795f4..ea833e9a 100644 --- a/old_docs/API_docs_v51/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v51/methods/channels_toggleSignatures.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleSignatures +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleSignatures` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md index 97327889..0fd2da72 100644 --- a/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v51/methods/channels_updatePinnedMessage.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updatePinnedMessage +* params - {"silent":"Bool","channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updatePinnedMessage` + +Parameters: + +silent - Json encoded Bool +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/channels_updateUsername.md b/old_docs/API_docs_v51/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/old_docs/API_docs_v51/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v51/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/contacts_block.md b/old_docs/API_docs_v51/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v51/methods/contacts_block.md +++ b/old_docs/API_docs_v51/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/contacts_deleteContact.md b/old_docs/API_docs_v51/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v51/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v51/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/contacts_deleteContacts.md b/old_docs/API_docs_v51/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v51/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/contacts_exportCard.md b/old_docs/API_docs_v51/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v51/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v51/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/contacts_getBlocked.md b/old_docs/API_docs_v51/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v51/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v51/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/contacts_getContacts.md b/old_docs/API_docs_v51/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v51/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/contacts_getStatuses.md b/old_docs/API_docs_v51/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v51/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v51/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/contacts_importCard.md b/old_docs/API_docs_v51/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v51/methods/contacts_importCard.md +++ b/old_docs/API_docs_v51/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/contacts_importContacts.md b/old_docs/API_docs_v51/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v51/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v51/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/contacts_resolveUsername.md b/old_docs/API_docs_v51/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/old_docs/API_docs_v51/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v51/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/contacts_search.md b/old_docs/API_docs_v51/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v51/methods/contacts_search.md +++ b/old_docs/API_docs_v51/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/contacts_unblock.md b/old_docs/API_docs_v51/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v51/methods/contacts_unblock.md +++ b/old_docs/API_docs_v51/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/help_getAppChangelog.md b/old_docs/API_docs_v51/methods/help_getAppChangelog.md index 337c12be..b93c56db 100644 --- a/old_docs/API_docs_v51/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v51/methods/help_getAppChangelog.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/help_getAppUpdate.md b/old_docs/API_docs_v51/methods/help_getAppUpdate.md index b52e83e8..58430792 100644 --- a/old_docs/API_docs_v51/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v51/methods/help_getAppUpdate.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - {"device_model":"string","system_version":"string","app_version":"string","lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/help_getConfig.md b/old_docs/API_docs_v51/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v51/methods/help_getConfig.md +++ b/old_docs/API_docs_v51/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/help_getInviteText.md b/old_docs/API_docs_v51/methods/help_getInviteText.md index 2d9c4653..ec75a17f 100644 --- a/old_docs/API_docs_v51/methods/help_getInviteText.md +++ b/old_docs/API_docs_v51/methods/help_getInviteText.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/help_getNearestDc.md b/old_docs/API_docs_v51/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v51/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v51/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/help_getSupport.md b/old_docs/API_docs_v51/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v51/methods/help_getSupport.md +++ b/old_docs/API_docs_v51/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/help_getTermsOfService.md b/old_docs/API_docs_v51/methods/help_getTermsOfService.md index 41d8b978..c6bfce8a 100644 --- a/old_docs/API_docs_v51/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v51/methods/help_getTermsOfService.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getTermsOfService +* params - {"lang_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getTermsOfService` + +Parameters: + +lang_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/help_saveAppLog.md b/old_docs/API_docs_v51/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v51/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v51/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/initConnection.md b/old_docs/API_docs_v51/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v51/methods/initConnection.md +++ b/old_docs/API_docs_v51/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/invokeAfterMsg.md b/old_docs/API_docs_v51/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v51/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v51/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/invokeAfterMsgs.md b/old_docs/API_docs_v51/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v51/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v51/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/invokeWithLayer.md b/old_docs/API_docs_v51/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v51/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v51/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v51/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_acceptEncryption.md b/old_docs/API_docs_v51/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v51/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v51/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_addChatUser.md b/old_docs/API_docs_v51/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v51/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v51/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_checkChatInvite.md b/old_docs/API_docs_v51/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v51/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_createChat.md b/old_docs/API_docs_v51/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v51/methods/messages_createChat.md +++ b/old_docs/API_docs_v51/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_deleteChatUser.md b/old_docs/API_docs_v51/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v51/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_deleteHistory.md b/old_docs/API_docs_v51/methods/messages_deleteHistory.md index f37e5d08..e5f132c6 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v51/methods/messages_deleteHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_deleteMessages.md b/old_docs/API_docs_v51/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v51/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v51/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_discardEncryption.md b/old_docs/API_docs_v51/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v51/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v51/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_editChatAdmin.md b/old_docs/API_docs_v51/methods/messages_editChatAdmin.md index 515c2ede..2ad6d72c 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v51/methods/messages_editChatAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatAdmin +* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +is_admin - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_editChatPhoto.md b/old_docs/API_docs_v51/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v51/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_editChatTitle.md b/old_docs/API_docs_v51/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v51/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v51/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md index 19405712..4daa439f 100644 --- a/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editInlineBotMessage.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editInlineBotMessage +* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editInlineBotMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_editMessage.md b/old_docs/API_docs_v51/methods/messages_editMessage.md index 05410c5d..d405e718 100644 --- a/old_docs/API_docs_v51/methods/messages_editMessage.md +++ b/old_docs/API_docs_v51/methods/messages_editMessage.md @@ -42,6 +42,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editMessage +* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_exportChatInvite.md b/old_docs/API_docs_v51/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v51/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_forwardMessage.md b/old_docs/API_docs_v51/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v51/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v51/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_forwardMessages.md b/old_docs/API_docs_v51/methods/messages_forwardMessages.md index fe973826..69481a44 100644 --- a/old_docs/API_docs_v51/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v51/methods/messages_forwardMessages.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'silent' => Bool, 'background' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"broadcast":"Bool","silent":"Bool","background":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +broadcast - Json encoded Bool +silent - Json encoded Bool +background - Json encoded Bool +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getAllStickers.md b/old_docs/API_docs_v51/methods/messages_getAllStickers.md index bc49bdd6..b2f1eb71 100644 --- a/old_docs/API_docs_v51/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v51/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md index 6bab943c..0efcfbba 100644 --- a/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v51/methods/messages_getBotCallbackAnswer.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getBotCallbackAnswer +* params - {"peer":"InputPeer","msg_id":"int","data":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getBotCallbackAnswer` + +Parameters: + +peer - Json encoded InputPeer +msg_id - Json encoded int +data - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getChats.md b/old_docs/API_docs_v51/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v51/methods/messages_getChats.md +++ b/old_docs/API_docs_v51/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getDhConfig.md b/old_docs/API_docs_v51/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v51/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v51/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getDialogs.md b/old_docs/API_docs_v51/methods/messages_getDialogs.md index 61fa3149..a0884730 100644 --- a/old_docs/API_docs_v51/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v51/methods/messages_getDialogs.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset_date - Json encoded int +offset_id - Json encoded int +offset_peer - Json encoded InputPeer +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md index 2daac691..ca541c7e 100644 --- a/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v51/methods/messages_getDocumentByHash.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDocumentByHash +* params - {"sha256":"bytes","size":"int","mime_type":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDocumentByHash` + +Parameters: + +sha256 - Json encoded bytes +size - Json encoded int +mime_type - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getFullChat.md b/old_docs/API_docs_v51/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v51/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v51/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getHistory.md b/old_docs/API_docs_v51/methods/messages_getHistory.md index 9d54dd86..b976c6d5 100644 --- a/old_docs/API_docs_v51/methods/messages_getHistory.md +++ b/old_docs/API_docs_v51/methods/messages_getHistory.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +offset_date - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md index 0ad9e385..d3959eab 100644 --- a/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v51/methods/messages_getInlineBotResults.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineBotResults +* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineBotResults` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +geo_point - Json encoded InputGeoPoint +query - Json encoded string +offset - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getMessageEditData.md b/old_docs/API_docs_v51/methods/messages_getMessageEditData.md index eb2ea4e3..732fdff5 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v51/methods/messages_getMessageEditData.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessageEditData +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessageEditData` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getMessages.md b/old_docs/API_docs_v51/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessages.md +++ b/old_docs/API_docs_v51/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getMessagesViews.md b/old_docs/API_docs_v51/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/old_docs/API_docs_v51/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v51/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getPeerSettings.md b/old_docs/API_docs_v51/methods/messages_getPeerSettings.md index 9a8817c0..b78406e9 100644 --- a/old_docs/API_docs_v51/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v51/methods/messages_getPeerSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerSettings +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerSettings` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getSavedGifs.md b/old_docs/API_docs_v51/methods/messages_getSavedGifs.md index c528873b..a7a0cbd2 100644 --- a/old_docs/API_docs_v51/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v51/methods/messages_getSavedGifs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getSavedGifs +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getSavedGifs` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getStickerSet.md b/old_docs/API_docs_v51/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v51/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getStickers.md b/old_docs/API_docs_v51/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v51/methods/messages_getStickers.md +++ b/old_docs/API_docs_v51/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v51/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_hideReportSpam.md b/old_docs/API_docs_v51/methods/messages_hideReportSpam.md index dbf882ee..9ddaa09c 100644 --- a/old_docs/API_docs_v51/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v51/methods/messages_hideReportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.hideReportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.hideReportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_importChatInvite.md b/old_docs/API_docs_v51/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v51/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v51/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_installStickerSet.md b/old_docs/API_docs_v51/methods/messages_installStickerSet.md index a3c12183..637005f3 100644 --- a/old_docs/API_docs_v51/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","disabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +disabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_migrateChat.md b/old_docs/API_docs_v51/methods/messages_migrateChat.md index eaa988a7..1d8e1ca5 100644 --- a/old_docs/API_docs_v51/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v51/methods/messages_migrateChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.migrateChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.migrateChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v51/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_readHistory.md b/old_docs/API_docs_v51/methods/messages_readHistory.md index c5ddb451..99ce0e57 100644 --- a/old_docs/API_docs_v51/methods/messages_readHistory.md +++ b/old_docs/API_docs_v51/methods/messages_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_readMessageContents.md b/old_docs/API_docs_v51/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v51/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v51/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_receivedMessages.md b/old_docs/API_docs_v51/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v51/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v51/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_receivedQueue.md b/old_docs/API_docs_v51/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v51/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v51/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md index eda07dd9..3187ba89 100644 --- a/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v51/methods/messages_reorderStickerSets.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderStickerSets +* params - {"order":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderStickerSets` + +Parameters: + +order - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_reportSpam.md b/old_docs/API_docs_v51/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v51/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v51/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_requestEncryption.md b/old_docs/API_docs_v51/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v51/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v51/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_saveGif.md b/old_docs/API_docs_v51/methods/messages_saveGif.md index 6a2269b5..c6a5e7ba 100644 --- a/old_docs/API_docs_v51/methods/messages_saveGif.md +++ b/old_docs/API_docs_v51/methods/messages_saveGif.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveGif +* params - {"id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveGif` + +Parameters: + +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_search.md b/old_docs/API_docs_v51/methods/messages_search.md index 3b082420..bba7fce0 100644 --- a/old_docs/API_docs_v51/methods/messages_search.md +++ b/old_docs/API_docs_v51/methods/messages_search.md @@ -44,6 +44,38 @@ if (isset($number)) { // Login as a user $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, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"important_only":"Bool","peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +important_only - Json encoded Bool +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_searchGifs.md b/old_docs/API_docs_v51/methods/messages_searchGifs.md index ca0934be..24658214 100644 --- a/old_docs/API_docs_v51/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v51/methods/messages_searchGifs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGifs +* params - {"q":"string","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGifs` + +Parameters: + +q - Json encoded string +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_searchGlobal.md b/old_docs/API_docs_v51/methods/messages_searchGlobal.md index 36f09366..0095015c 100644 --- a/old_docs/API_docs_v51/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v51/methods/messages_searchGlobal.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGlobal +* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGlobal` + +Parameters: + +q - Json encoded string +offset_date - Json encoded int +offset_peer - Json encoded InputPeer +offset_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendBroadcast.md b/old_docs/API_docs_v51/methods/messages_sendBroadcast.md index d4af6317..81e9c7b8 100644 --- a/old_docs/API_docs_v51/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v51/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendEncrypted.md b/old_docs/API_docs_v51/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v51/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md index 6eabd098..e703900f 100644 --- a/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v51/methods/messages_sendInlineBotResult.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'silent' => Bool, 'background' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendInlineBotResult +* params - {"broadcast":"Bool","silent":"Bool","background":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendInlineBotResult` + +Parameters: + +broadcast - Json encoded Bool +silent - Json encoded Bool +background - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +query_id - Json encoded long +id - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendMedia.md b/old_docs/API_docs_v51/methods/messages_sendMedia.md index 32b5f54f..432d4e44 100644 --- a/old_docs/API_docs_v51/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v51/methods/messages_sendMedia.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'silent' => Bool, 'background' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"broadcast":"Bool","silent":"Bool","background":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +broadcast - Json encoded Bool +silent - Json encoded Bool +background - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_sendMessage.md b/old_docs/API_docs_v51/methods/messages_sendMessage.md index 5581905a..0e55beb8 100644 --- a/old_docs/API_docs_v51/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v51/methods/messages_sendMessage.md @@ -45,6 +45,30 @@ if (isset($number)) { // Login as a user $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], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"no_webpage":"Bool","broadcast":"Bool","silent":"Bool","background":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md index c55beed7..39216c12 100644 --- a/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v51/methods/messages_setBotCallbackAnswer.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotCallbackAnswer +* params - {"alert":"Bool","query_id":"long","message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotCallbackAnswer` + +Parameters: + +alert - Json encoded Bool +query_id - Json encoded long +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v51/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md index 0ef74b32..5a2b1da0 100644 --- a/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v51/methods/messages_setInlineBotResults.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineBotResults +* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineBotResults` + +Parameters: + +gallery - Json encoded Bool +private - Json encoded Bool +query_id - Json encoded long +results - Json encoded array of InputBotInlineResult +cache_time - Json encoded int +next_offset - Json encoded string +switch_pm - Json encoded InlineBotSwitchPM + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_setTyping.md b/old_docs/API_docs_v51/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v51/methods/messages_setTyping.md +++ b/old_docs/API_docs_v51/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_startBot.md b/old_docs/API_docs_v51/methods/messages_startBot.md index 58aadfab..93229d34 100644 --- a/old_docs/API_docs_v51/methods/messages_startBot.md +++ b/old_docs/API_docs_v51/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md index ec1809f3..2edb160a 100644 --- a/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v51/methods/messages_toggleChatAdmins.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleChatAdmins +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleChatAdmins` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v51/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/photos_deletePhotos.md b/old_docs/API_docs_v51/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v51/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v51/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/photos_getUserPhotos.md b/old_docs/API_docs_v51/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v51/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v51/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v51/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v51/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/updates_getChannelDifference.md b/old_docs/API_docs_v51/methods/updates_getChannelDifference.md index 6fe9722a..d2aedcea 100644 --- a/old_docs/API_docs_v51/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v51/methods/updates_getChannelDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/updates_getDifference.md b/old_docs/API_docs_v51/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v51/methods/updates_getDifference.md +++ b/old_docs/API_docs_v51/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/updates_getState.md b/old_docs/API_docs_v51/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v51/methods/updates_getState.md +++ b/old_docs/API_docs_v51/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v51/methods/upload_getFile.md b/old_docs/API_docs_v51/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v51/methods/upload_getFile.md +++ b/old_docs/API_docs_v51/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v51/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/upload_saveFilePart.md b/old_docs/API_docs_v51/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v51/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v51/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/users_getFullUser.md b/old_docs/API_docs_v51/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v51/methods/users_getFullUser.md +++ b/old_docs/API_docs_v51/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v51/methods/users_getUsers.md b/old_docs/API_docs_v51/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v51/methods/users_getUsers.md +++ b/old_docs/API_docs_v51/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/constructors/accountDaysTTL.md b/old_docs/API_docs_v53/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v53/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v53/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/account_authorizations.md b/old_docs/API_docs_v53/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v53/constructors/account_authorizations.md +++ b/old_docs/API_docs_v53/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/account_noPassword.md b/old_docs/API_docs_v53/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v53/constructors/account_noPassword.md +++ b/old_docs/API_docs_v53/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/account_password.md b/old_docs/API_docs_v53/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v53/constructors/account_password.md +++ b/old_docs/API_docs_v53/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v53/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v53/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v53/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/account_passwordSettings.md b/old_docs/API_docs_v53/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v53/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v53/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/account_privacyRules.md b/old_docs/API_docs_v53/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v53/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v53/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/auth_authorization.md b/old_docs/API_docs_v53/constructors/auth_authorization.md index 6b60d2ec..90504507 100644 --- a/old_docs/API_docs_v53/constructors/auth_authorization.md +++ b/old_docs/API_docs_v53/constructors/auth_authorization.md @@ -24,6 +24,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/auth_checkedPhone.md b/old_docs/API_docs_v53/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v53/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v53/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v53/constructors/auth_codeTypeCall.md index 6ac151ad..714eb23c 100644 --- a/old_docs/API_docs_v53/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v53/constructors/auth_codeTypeCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeCall attributes, type and example $auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md index a8c2bc05..c535eccf 100644 --- a/old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v53/constructors/auth_codeTypeFlashCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeFlashCall attributes, type and example $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeFlashCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v53/constructors/auth_codeTypeSms.md index aa7eccac..cbeb31cb 100644 --- a/old_docs/API_docs_v53/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v53/constructors/auth_codeTypeSms.md @@ -19,6 +19,13 @@ description: auth_codeTypeSms attributes, type and example $auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeSms"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v53/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v53/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v53/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v53/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/auth_sentCode.md b/old_docs/API_docs_v53/constructors/auth_sentCode.md index f3ac1809..51e2d458 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCode.md @@ -28,6 +28,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md index 84d05955..2456a284 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeApp.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeApp attributes, type and example $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeApp","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md index 889cec01..39745809 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeCall attributes, type and example $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeCall","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md index f5ec0920..2ba727ec 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md index 5c4075c1..4a350ff6 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCodeTypeSms.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeSms attributes, type and example $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeSms","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/authorization.md b/old_docs/API_docs_v53/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v53/constructors/authorization.md +++ b/old_docs/API_docs_v53/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/botCommand.md b/old_docs/API_docs_v53/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v53/constructors/botCommand.md +++ b/old_docs/API_docs_v53/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/botInfo.md b/old_docs/API_docs_v53/constructors/botInfo.md index 0fce4bf8..baaf28fd 100644 --- a/old_docs/API_docs_v53/constructors/botInfo.md +++ b/old_docs/API_docs_v53/constructors/botInfo.md @@ -26,6 +26,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/botInlineMediaResult.md b/old_docs/API_docs_v53/constructors/botInlineMediaResult.md index 147b4774..29854010 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v53/constructors/botInlineMediaResult.md @@ -30,6 +30,13 @@ description: botInlineMediaResult attributes, type and example $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v53/constructors/botInlineMessageMediaAuto.md index 694cf6ea..c652331d 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaAuto attributes, type and example $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v53/constructors/botInlineMessageMediaContact.md index f57e4752..5e57bf4f 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: botInlineMessageMediaContact attributes, type and example $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v53/constructors/botInlineMessageMediaGeo.md index 40ea4ca1..04a4abed 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaGeo attributes, type and example $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v53/constructors/botInlineMessageMediaVenue.md index 236f3cf1..6c08ee05 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: botInlineMessageMediaVenue attributes, type and example $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/botInlineMessageText.md b/old_docs/API_docs_v53/constructors/botInlineMessageText.md index 278fe01d..007acd3d 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageText.md @@ -27,6 +27,13 @@ description: botInlineMessageText attributes, type and example $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/botInlineResult.md b/old_docs/API_docs_v53/constructors/botInlineResult.md index 839edda1..57255b6c 100644 --- a/old_docs/API_docs_v53/constructors/botInlineResult.md +++ b/old_docs/API_docs_v53/constructors/botInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channel.md b/old_docs/API_docs_v53/constructors/channel.md index 1a1db52f..86740c87 100644 --- a/old_docs/API_docs_v53/constructors/channel.md +++ b/old_docs/API_docs_v53/constructors/channel.md @@ -43,6 +43,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","creator":"Bool","kicked":"Bool","left":"Bool","editor":"Bool","moderator":"Bool","broadcast":"Bool","verified":"Bool","megagroup":"Bool","restricted":"Bool","democracy":"Bool","signatures":"Bool","min":"Bool","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int","restriction_reason":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelForbidden.md b/old_docs/API_docs_v53/constructors/channelForbidden.md index 5522fd5c..3d3a3a69 100644 --- a/old_docs/API_docs_v53/constructors/channelForbidden.md +++ b/old_docs/API_docs_v53/constructors/channelForbidden.md @@ -28,6 +28,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelFull.md b/old_docs/API_docs_v53/constructors/channelFull.md index 2b3387b7..ea66e000 100644 --- a/old_docs/API_docs_v53/constructors/channelFull.md +++ b/old_docs/API_docs_v53/constructors/channelFull.md @@ -40,6 +40,13 @@ description: channelFull attributes, type and example $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, '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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","can_view_participants":"Bool","can_set_username":"Bool","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":["BotInfo"],"migrated_from_chat_id":"int","migrated_from_max_id":"int","pinned_msg_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelMessagesFilter.md b/old_docs/API_docs_v53/constructors/channelMessagesFilter.md index b8b7725b..677f7356 100644 --- a/old_docs/API_docs_v53/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v53/constructors/channelMessagesFilter.md @@ -25,6 +25,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v53/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v53/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v53/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelParticipant.md b/old_docs/API_docs_v53/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipant.md +++ b/old_docs/API_docs_v53/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelParticipantCreator.md b/old_docs/API_docs_v53/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelParticipantEditor.md b/old_docs/API_docs_v53/constructors/channelParticipantEditor.md index 3c866534..64f84b38 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantEditor.md @@ -26,6 +26,13 @@ description: channelParticipantEditor attributes, type and example $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelParticipantKicked.md b/old_docs/API_docs_v53/constructors/channelParticipantKicked.md index 362872f9..4aedad4d 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantKicked.md @@ -26,6 +26,13 @@ description: channelParticipantKicked attributes, type and example $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelParticipantModerator.md b/old_docs/API_docs_v53/constructors/channelParticipantModerator.md index ff9a7094..634f9de8 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantModerator.md @@ -26,6 +26,13 @@ description: channelParticipantModerator attributes, type and example $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelParticipantSelf.md b/old_docs/API_docs_v53/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v53/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelParticipantsBots.md b/old_docs/API_docs_v53/constructors/channelParticipantsBots.md index 24b68c95..963f155e 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantsBots.md @@ -19,6 +19,13 @@ description: channelParticipantsBots attributes, type and example $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBots"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v53/constructors/channelParticipantsKicked.md index d7889060..37714c3e 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantsKicked.md @@ -19,6 +19,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v53/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/old_docs/API_docs_v53/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v53/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelRoleEditor.md b/old_docs/API_docs_v53/constructors/channelRoleEditor.md index 103b7ae5..fea2e406 100644 --- a/old_docs/API_docs_v53/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v53/constructors/channelRoleEditor.md @@ -19,6 +19,13 @@ description: channelRoleEditor attributes, type and example $channelRoleEditor = ['_' => 'channelRoleEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEditor"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelRoleEmpty.md b/old_docs/API_docs_v53/constructors/channelRoleEmpty.md index b5a7b52c..932c9fb4 100644 --- a/old_docs/API_docs_v53/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v53/constructors/channelRoleEmpty.md @@ -19,6 +19,13 @@ description: channelRoleEmpty attributes, type and example $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channelRoleModerator.md b/old_docs/API_docs_v53/constructors/channelRoleModerator.md index f3aaff68..5d6a37d1 100644 --- a/old_docs/API_docs_v53/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v53/constructors/channelRoleModerator.md @@ -19,6 +19,13 @@ description: channelRoleModerator attributes, type and example $channelRoleModerator = ['_' => 'channelRoleModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleModerator"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channels_channelParticipant.md b/old_docs/API_docs_v53/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/old_docs/API_docs_v53/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v53/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/channels_channelParticipants.md b/old_docs/API_docs_v53/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/old_docs/API_docs_v53/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v53/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chat.md b/old_docs/API_docs_v53/constructors/chat.md index 9bad67b3..70955e06 100644 --- a/old_docs/API_docs_v53/constructors/chat.md +++ b/old_docs/API_docs_v53/constructors/chat.md @@ -36,6 +36,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatEmpty.md b/old_docs/API_docs_v53/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v53/constructors/chatEmpty.md +++ b/old_docs/API_docs_v53/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatForbidden.md b/old_docs/API_docs_v53/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/old_docs/API_docs_v53/constructors/chatForbidden.md +++ b/old_docs/API_docs_v53/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatFull.md b/old_docs/API_docs_v53/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v53/constructors/chatFull.md +++ b/old_docs/API_docs_v53/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatInvite.md b/old_docs/API_docs_v53/constructors/chatInvite.md index 8207c7f1..effead5a 100644 --- a/old_docs/API_docs_v53/constructors/chatInvite.md +++ b/old_docs/API_docs_v53/constructors/chatInvite.md @@ -28,6 +28,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatInviteAlready.md b/old_docs/API_docs_v53/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v53/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v53/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatInviteEmpty.md b/old_docs/API_docs_v53/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v53/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v53/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatInviteExported.md b/old_docs/API_docs_v53/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v53/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v53/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatParticipant.md b/old_docs/API_docs_v53/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipant.md +++ b/old_docs/API_docs_v53/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v53/constructors/chatParticipantAdmin.md index 6740c4a3..775f29c7 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v53/constructors/chatParticipantAdmin.md @@ -26,6 +26,13 @@ description: chatParticipantAdmin attributes, type and example $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatParticipantCreator.md b/old_docs/API_docs_v53/constructors/chatParticipantCreator.md index b80542a7..687dd93f 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v53/constructors/chatParticipantCreator.md @@ -24,6 +24,13 @@ description: chatParticipantCreator attributes, type and example $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatParticipants.md b/old_docs/API_docs_v53/constructors/chatParticipants.md index 2420f15e..c1602888 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipants.md +++ b/old_docs/API_docs_v53/constructors/chatParticipants.md @@ -26,6 +26,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v53/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/old_docs/API_docs_v53/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v53/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatPhoto.md b/old_docs/API_docs_v53/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v53/constructors/chatPhoto.md +++ b/old_docs/API_docs_v53/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v53/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v53/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v53/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/config.md b/old_docs/API_docs_v53/constructors/config.md index 066eb397..8e632f8e 100644 --- a/old_docs/API_docs_v53/constructors/config.md +++ b/old_docs/API_docs_v53/constructors/config.md @@ -44,6 +44,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contact.md b/old_docs/API_docs_v53/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v53/constructors/contact.md +++ b/old_docs/API_docs_v53/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contactBlocked.md b/old_docs/API_docs_v53/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v53/constructors/contactBlocked.md +++ b/old_docs/API_docs_v53/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contactLinkContact.md b/old_docs/API_docs_v53/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v53/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v53/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v53/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v53/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v53/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contactLinkNone.md b/old_docs/API_docs_v53/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v53/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v53/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contactLinkUnknown.md b/old_docs/API_docs_v53/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v53/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v53/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contactStatus.md b/old_docs/API_docs_v53/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v53/constructors/contactStatus.md +++ b/old_docs/API_docs_v53/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contacts_blocked.md b/old_docs/API_docs_v53/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v53/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v53/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v53/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v53/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v53/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contacts_contacts.md b/old_docs/API_docs_v53/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v53/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v53/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v53/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contacts_found.md b/old_docs/API_docs_v53/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/old_docs/API_docs_v53/constructors/contacts_found.md +++ b/old_docs/API_docs_v53/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contacts_importedContacts.md b/old_docs/API_docs_v53/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v53/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v53/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contacts_link.md b/old_docs/API_docs_v53/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v53/constructors/contacts_link.md +++ b/old_docs/API_docs_v53/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v53/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contacts_topPeers.md b/old_docs/API_docs_v53/constructors/contacts_topPeers.md index 0ef10578..d059cb80 100644 --- a/old_docs/API_docs_v53/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v53/constructors/contacts_topPeers.md @@ -26,6 +26,13 @@ description: contacts_topPeers attributes, type and example $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md index 9ab95116..ce380f72 100644 --- a/old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v53/constructors/contacts_topPeersNotModified.md @@ -19,6 +19,13 @@ description: contacts_topPeersNotModified attributes, type and example $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/dcOption.md b/old_docs/API_docs_v53/constructors/dcOption.md index c05fcca1..a44017bd 100644 --- a/old_docs/API_docs_v53/constructors/dcOption.md +++ b/old_docs/API_docs_v53/constructors/dcOption.md @@ -29,6 +29,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/dialog.md b/old_docs/API_docs_v53/constructors/dialog.md index 89193da9..de84b635 100644 --- a/old_docs/API_docs_v53/constructors/dialog.md +++ b/old_docs/API_docs_v53/constructors/dialog.md @@ -31,6 +31,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/disabledFeature.md b/old_docs/API_docs_v53/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v53/constructors/disabledFeature.md +++ b/old_docs/API_docs_v53/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/document.md b/old_docs/API_docs_v53/constructors/document.md index 7153e5a6..7e3482ad 100644 --- a/old_docs/API_docs_v53/constructors/document.md +++ b/old_docs/API_docs_v53/constructors/document.md @@ -31,6 +31,13 @@ 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, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v53/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/documentAttributeAudio.md b/old_docs/API_docs_v53/constructors/documentAttributeAudio.md index 83ba2eb9..74aa516d 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeAudio.md @@ -28,6 +28,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/documentAttributeFilename.md b/old_docs/API_docs_v53/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v53/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/documentAttributeSticker.md b/old_docs/API_docs_v53/constructors/documentAttributeSticker.md index 9f8168b1..3cb9fcd5 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeSticker.md @@ -25,6 +25,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/documentAttributeVideo.md b/old_docs/API_docs_v53/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/documentEmpty.md b/old_docs/API_docs_v53/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v53/constructors/documentEmpty.md +++ b/old_docs/API_docs_v53/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/draftMessage.md b/old_docs/API_docs_v53/constructors/draftMessage.md index 9cbeec53..57d7d5c9 100644 --- a/old_docs/API_docs_v53/constructors/draftMessage.md +++ b/old_docs/API_docs_v53/constructors/draftMessage.md @@ -28,6 +28,13 @@ description: draftMessage attributes, type and example $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/draftMessageEmpty.md b/old_docs/API_docs_v53/constructors/draftMessageEmpty.md index 0ddfc989..4a9098b7 100644 --- a/old_docs/API_docs_v53/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v53/constructors/draftMessageEmpty.md @@ -19,6 +19,13 @@ description: draftMessageEmpty attributes, type and example $draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessageEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/encryptedChat.md b/old_docs/API_docs_v53/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChat.md +++ b/old_docs/API_docs_v53/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v53/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v53/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v53/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v53/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/encryptedChatRequested.md b/old_docs/API_docs_v53/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v53/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v53/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v53/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v53/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/encryptedFile.md b/old_docs/API_docs_v53/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v53/constructors/encryptedFile.md +++ b/old_docs/API_docs_v53/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v53/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v53/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v53/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/encryptedMessage.md b/old_docs/API_docs_v53/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v53/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v53/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/encryptedMessageService.md b/old_docs/API_docs_v53/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v53/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v53/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/error.md b/old_docs/API_docs_v53/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v53/constructors/error.md +++ b/old_docs/API_docs_v53/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/exportedMessageLink.md b/old_docs/API_docs_v53/constructors/exportedMessageLink.md index d151e98e..b6f0c21f 100644 --- a/old_docs/API_docs_v53/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v53/constructors/exportedMessageLink.md @@ -24,6 +24,13 @@ description: exportedMessageLink attributes, type and example $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"exportedMessageLink","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/fileLocation.md b/old_docs/API_docs_v53/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v53/constructors/fileLocation.md +++ b/old_docs/API_docs_v53/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v53/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v53/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v53/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/foundGif.md b/old_docs/API_docs_v53/constructors/foundGif.md index e241eabe..99a0faa0 100644 --- a/old_docs/API_docs_v53/constructors/foundGif.md +++ b/old_docs/API_docs_v53/constructors/foundGif.md @@ -29,6 +29,13 @@ description: foundGif attributes, type and example $foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/foundGifCached.md b/old_docs/API_docs_v53/constructors/foundGifCached.md index f73c07df..a73fb47c 100644 --- a/old_docs/API_docs_v53/constructors/foundGifCached.md +++ b/old_docs/API_docs_v53/constructors/foundGifCached.md @@ -26,6 +26,13 @@ description: foundGifCached attributes, type and example $foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/geoPoint.md b/old_docs/API_docs_v53/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v53/constructors/geoPoint.md +++ b/old_docs/API_docs_v53/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/geoPointEmpty.md b/old_docs/API_docs_v53/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v53/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v53/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/help_appChangelog.md b/old_docs/API_docs_v53/constructors/help_appChangelog.md index 77c1c338..67e40e85 100644 --- a/old_docs/API_docs_v53/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v53/constructors/help_appChangelog.md @@ -24,6 +24,13 @@ description: help_appChangelog attributes, type and example $help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelog","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md index abbb4865..f6ab5ace 100644 --- a/old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v53/constructors/help_appChangelogEmpty.md @@ -19,6 +19,13 @@ description: help_appChangelogEmpty attributes, type and example $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelogEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/help_appUpdate.md b/old_docs/API_docs_v53/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v53/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v53/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/help_inviteText.md b/old_docs/API_docs_v53/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v53/constructors/help_inviteText.md +++ b/old_docs/API_docs_v53/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/help_noAppUpdate.md b/old_docs/API_docs_v53/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v53/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v53/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/help_support.md b/old_docs/API_docs_v53/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v53/constructors/help_support.md +++ b/old_docs/API_docs_v53/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/help_termsOfService.md b/old_docs/API_docs_v53/constructors/help_termsOfService.md index a945b971..6af3d9e5 100644 --- a/old_docs/API_docs_v53/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v53/constructors/help_termsOfService.md @@ -24,6 +24,13 @@ description: help_termsOfService attributes, type and example $help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.termsOfService","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/importedContact.md b/old_docs/API_docs_v53/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v53/constructors/importedContact.md +++ b/old_docs/API_docs_v53/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v53/constructors/inlineBotSwitchPM.md index 41ca65ac..86c0d9d4 100644 --- a/old_docs/API_docs_v53/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v53/constructors/inlineBotSwitchPM.md @@ -25,6 +25,13 @@ description: inlineBotSwitchPM attributes, type and example $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputAppEvent.md b/old_docs/API_docs_v53/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v53/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v53/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageID.md index 0d8d3f9e..757f7146 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageID.md @@ -26,6 +26,13 @@ description: inputBotInlineMessageID attributes, type and example $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaAuto.md index 75bb48f3..aa6b51df 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaContact.md index 754ce5ac..1bd6518f 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaGeo.md index 6eac346e..8c4f7ecc 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaVenue.md index ddb3c3fe..01e38309 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md index 77de3cf6..c785cbed 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageText attributes, type and example $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineResult.md b/old_docs/API_docs_v53/constructors/inputBotInlineResult.md index 9ff31ee5..ed68ad5c 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v53/constructors/inputBotInlineResultDocument.md index a5d9c466..15080274 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineResultDocument.md @@ -29,6 +29,13 @@ description: inputBotInlineResultDocument attributes, type and example $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v53/constructors/inputBotInlineResultPhoto.md index ca2c6b7a..bbc38a5a 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineResultPhoto.md @@ -27,6 +27,13 @@ description: inputBotInlineResultPhoto attributes, type and example $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputChannel.md b/old_docs/API_docs_v53/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/old_docs/API_docs_v53/constructors/inputChannel.md +++ b/old_docs/API_docs_v53/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputChannelEmpty.md b/old_docs/API_docs_v53/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/old_docs/API_docs_v53/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputChatPhoto.md b/old_docs/API_docs_v53/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v53/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v53/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v53/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v53/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v53/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputDocument.md b/old_docs/API_docs_v53/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v53/constructors/inputDocument.md +++ b/old_docs/API_docs_v53/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v53/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v53/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v53/constructors/inputDocumentFileLocation.md index f42e44ad..373b6e01 100644 --- a/old_docs/API_docs_v53/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v53/constructors/inputDocumentFileLocation.md @@ -25,6 +25,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputEncryptedChat.md b/old_docs/API_docs_v53/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputEncryptedFile.md b/old_docs/API_docs_v53/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v53/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v53/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v53/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v53/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v53/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v53/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputFile.md b/old_docs/API_docs_v53/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v53/constructors/inputFile.md +++ b/old_docs/API_docs_v53/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputFileBig.md b/old_docs/API_docs_v53/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v53/constructors/inputFileBig.md +++ b/old_docs/API_docs_v53/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputFileLocation.md b/old_docs/API_docs_v53/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v53/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v53/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputGeoPoint.md b/old_docs/API_docs_v53/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v53/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v53/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v53/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v53/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMediaContact.md b/old_docs/API_docs_v53/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v53/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMediaDocument.md b/old_docs/API_docs_v53/constructors/inputMediaDocument.md index 1959cc4e..89ef5bdc 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v53/constructors/inputMediaDocument.md @@ -25,6 +25,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMediaEmpty.md b/old_docs/API_docs_v53/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v53/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v53/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v53/constructors/inputMediaGifExternal.md index af227d69..284e3cdd 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v53/constructors/inputMediaGifExternal.md @@ -25,6 +25,13 @@ description: inputMediaGifExternal attributes, type and example $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGifExternal","url":"string","q":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMediaPhoto.md b/old_docs/API_docs_v53/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v53/constructors/inputMediaUploadedDocument.md index 39526664..d7c6dee4 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v53/constructors/inputMediaUploadedDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v53/constructors/inputMediaUploadedPhoto.md index 0c4c9135..923fd903 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputMediaUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v53/constructors/inputMediaUploadedThumbDocument.md index 6ad07130..8c1c9295 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v53/constructors/inputMediaUploadedThumbDocument.md @@ -28,6 +28,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMediaVenue.md b/old_docs/API_docs_v53/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v53/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v53/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v53/constructors/inputMessageEntityMentionName.md index ba7132d5..9465bf2b 100644 --- a/old_docs/API_docs_v53/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v53/constructors/inputMessageEntityMentionName.md @@ -26,6 +26,13 @@ description: inputMessageEntityMentionName attributes, type and example $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterChatPhotos.md index 06e4b6ed..7a78f5c4 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterChatPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterChatPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterGif.md index 02da8091..31be8767 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterGif.md @@ -19,6 +19,13 @@ description: inputMessagesFilterGif attributes, type and example $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterMusic.md index 2b211ca0..99111007 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterMusic.md @@ -19,6 +19,13 @@ description: inputMessagesFilterMusic attributes, type and example $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterMusic"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v53/constructors/inputMessagesFilterVoice.md index 1318e465..f111a3df 100644 --- a/old_docs/API_docs_v53/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v53/constructors/inputMessagesFilterVoice.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVoice attributes, type and example $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVoice"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputNotifyAll.md b/old_docs/API_docs_v53/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v53/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v53/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputNotifyChats.md b/old_docs/API_docs_v53/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v53/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v53/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputNotifyPeer.md b/old_docs/API_docs_v53/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v53/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v53/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputNotifyUsers.md b/old_docs/API_docs_v53/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v53/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v53/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPeerChannel.md b/old_docs/API_docs_v53/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v53/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPeerChat.md b/old_docs/API_docs_v53/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v53/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPeerEmpty.md b/old_docs/API_docs_v53/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md index d8db7388..6676a2f6 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPeerSelf.md b/old_docs/API_docs_v53/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v53/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPeerUser.md b/old_docs/API_docs_v53/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v53/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPhoneContact.md b/old_docs/API_docs_v53/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v53/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v53/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPhoto.md b/old_docs/API_docs_v53/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v53/constructors/inputPhoto.md +++ b/old_docs/API_docs_v53/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPhotoCrop.md b/old_docs/API_docs_v53/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v53/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v53/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v53/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v53/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v53/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v53/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v53/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md index 43210930..293e876d 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputReportReasonOther.md b/old_docs/API_docs_v53/constructors/inputReportReasonOther.md index 547711c4..ffd351a0 100644 --- a/old_docs/API_docs_v53/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v53/constructors/inputReportReasonOther.md @@ -24,6 +24,13 @@ description: inputReportReasonOther attributes, type and example $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonOther","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v53/constructors/inputReportReasonPornography.md index f73c6f4d..866d691c 100644 --- a/old_docs/API_docs_v53/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v53/constructors/inputReportReasonPornography.md @@ -19,6 +19,13 @@ description: inputReportReasonPornography attributes, type and example $inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonPornography"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v53/constructors/inputReportReasonSpam.md index ea2a9257..4cf6f414 100644 --- a/old_docs/API_docs_v53/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v53/constructors/inputReportReasonSpam.md @@ -19,6 +19,13 @@ description: inputReportReasonSpam attributes, type and example $inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonSpam"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v53/constructors/inputReportReasonViolence.md index 18a2ba4c..f2046d6e 100644 --- a/old_docs/API_docs_v53/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v53/constructors/inputReportReasonViolence.md @@ -19,6 +19,13 @@ description: inputReportReasonViolence attributes, type and example $inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonViolence"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v53/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v53/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputStickerSetID.md b/old_docs/API_docs_v53/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v53/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v53/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v53/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v53/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v53/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputUser.md b/old_docs/API_docs_v53/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v53/constructors/inputUser.md +++ b/old_docs/API_docs_v53/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputUserEmpty.md b/old_docs/API_docs_v53/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v53/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v53/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/inputUserSelf.md b/old_docs/API_docs_v53/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v53/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v53/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/keyboardButton.md b/old_docs/API_docs_v53/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButton.md +++ b/old_docs/API_docs_v53/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v53/constructors/keyboardButtonCallback.md index 1fe8571c..27bc68b8 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonCallback.md @@ -25,6 +25,13 @@ description: keyboardButtonCallback attributes, type and example $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v53/constructors/keyboardButtonRequestGeoLocation.md index 05cfd3cb..38cdc756 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonRequestGeoLocation.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestGeoLocation","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v53/constructors/keyboardButtonRequestPhone.md index cbff4adb..9c76c330 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonRequestPhone.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestPhone attributes, type and example $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestPhone","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/keyboardButtonRow.md b/old_docs/API_docs_v53/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v53/constructors/keyboardButtonSwitchInline.md index 40ec1178..def12264 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonSwitchInline.md @@ -25,6 +25,13 @@ description: keyboardButtonSwitchInline attributes, type and example $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => string, 'query' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonSwitchInline","text":"string","query":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v53/constructors/keyboardButtonUrl.md index a6411824..bf60dc2a 100644 --- a/old_docs/API_docs_v53/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v53/constructors/keyboardButtonUrl.md @@ -25,6 +25,13 @@ description: keyboardButtonUrl attributes, type and example $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonUrl","text":"string","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/message.md b/old_docs/API_docs_v53/constructors/message.md index 135401c5..cce1fc65 100644 --- a/old_docs/API_docs_v53/constructors/message.md +++ b/old_docs/API_docs_v53/constructors/message.md @@ -41,6 +41,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, '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' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","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":["MessageEntity"],"views":"int","edit_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v53/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v53/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v53/constructors/messageActionChannelMigrateFrom.md index d15c0bf3..b63de131 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v53/constructors/messageActionChannelMigrateFrom.md @@ -25,6 +25,13 @@ description: messageActionChannelMigrateFrom attributes, type and example $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v53/constructors/messageActionChatAddUser.md index 135e16de..5edc7d3b 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageActionChatCreate.md b/old_docs/API_docs_v53/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v53/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v53/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v53/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v53/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v53/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v53/constructors/messageActionChatMigrateTo.md index fda20a24..7214d295 100644 --- a/old_docs/API_docs_v53/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v53/constructors/messageActionChatMigrateTo.md @@ -24,6 +24,13 @@ description: messageActionChatMigrateTo attributes, type and example $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageActionEmpty.md b/old_docs/API_docs_v53/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v53/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v53/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v53/constructors/messageActionHistoryClear.md index 02160753..d576d087 100644 --- a/old_docs/API_docs_v53/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v53/constructors/messageActionHistoryClear.md @@ -19,6 +19,13 @@ description: messageActionHistoryClear attributes, type and example $messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionHistoryClear"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageActionPinMessage.md b/old_docs/API_docs_v53/constructors/messageActionPinMessage.md index 05443bcc..c8595522 100644 --- a/old_docs/API_docs_v53/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v53/constructors/messageActionPinMessage.md @@ -19,6 +19,13 @@ description: messageActionPinMessage attributes, type and example $messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPinMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageEmpty.md b/old_docs/API_docs_v53/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v53/constructors/messageEmpty.md +++ b/old_docs/API_docs_v53/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageEntityBold.md b/old_docs/API_docs_v53/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v53/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v53/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v53/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageEntityCode.md b/old_docs/API_docs_v53/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v53/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageEntityEmail.md b/old_docs/API_docs_v53/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v53/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageEntityHashtag.md b/old_docs/API_docs_v53/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v53/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageEntityItalic.md b/old_docs/API_docs_v53/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v53/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageEntityMention.md b/old_docs/API_docs_v53/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v53/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageEntityMentionName.md b/old_docs/API_docs_v53/constructors/messageEntityMentionName.md index 7d3947db..2eb6439b 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v53/constructors/messageEntityMentionName.md @@ -26,6 +26,13 @@ description: messageEntityMentionName attributes, type and example $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageEntityPre.md b/old_docs/API_docs_v53/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v53/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v53/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v53/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageEntityUnknown.md b/old_docs/API_docs_v53/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v53/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageEntityUrl.md b/old_docs/API_docs_v53/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v53/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v53/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageFwdHeader.md b/old_docs/API_docs_v53/constructors/messageFwdHeader.md index 80baa30c..15b5b5f3 100644 --- a/old_docs/API_docs_v53/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v53/constructors/messageFwdHeader.md @@ -27,6 +27,13 @@ description: messageFwdHeader attributes, type and example $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageMediaContact.md b/old_docs/API_docs_v53/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v53/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageMediaDocument.md b/old_docs/API_docs_v53/constructors/messageMediaDocument.md index 66a67150..0fc6558b 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v53/constructors/messageMediaDocument.md @@ -25,6 +25,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageMediaEmpty.md b/old_docs/API_docs_v53/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v53/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageMediaGeo.md b/old_docs/API_docs_v53/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v53/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageMediaPhoto.md b/old_docs/API_docs_v53/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v53/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v53/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v53/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageMediaVenue.md b/old_docs/API_docs_v53/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v53/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageMediaWebPage.md b/old_docs/API_docs_v53/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v53/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v53/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageRange.md b/old_docs/API_docs_v53/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v53/constructors/messageRange.md +++ b/old_docs/API_docs_v53/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messageService.md b/old_docs/API_docs_v53/constructors/messageService.md index 2b2990c5..558cc6c9 100644 --- a/old_docs/API_docs_v53/constructors/messageService.md +++ b/old_docs/API_docs_v53/constructors/messageService.md @@ -34,6 +34,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","id":"int","from_id":"int","to_id":"Peer","reply_to_msg_id":"int","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_affectedHistory.md b/old_docs/API_docs_v53/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v53/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v53/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_affectedMessages.md b/old_docs/API_docs_v53/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v53/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v53/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_allStickers.md b/old_docs/API_docs_v53/constructors/messages_allStickers.md index 7a5fe6af..a16f30e8 100644 --- a/old_docs/API_docs_v53/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v53/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v53/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md index 0f6860c6..02430084 100644 --- a/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md @@ -25,6 +25,13 @@ description: messages_botCallbackAnswer attributes, type and example $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botCallbackAnswer","alert":"Bool","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_botResults.md b/old_docs/API_docs_v53/constructors/messages_botResults.md index 10eb3db0..d552a4fe 100644 --- a/old_docs/API_docs_v53/constructors/messages_botResults.md +++ b/old_docs/API_docs_v53/constructors/messages_botResults.md @@ -28,6 +28,13 @@ description: messages_botResults attributes, type and example $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_channelMessages.md b/old_docs/API_docs_v53/constructors/messages_channelMessages.md index e1e8ab16..4c5e4839 100644 --- a/old_docs/API_docs_v53/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v53/constructors/messages_channelMessages.md @@ -28,6 +28,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_chatFull.md b/old_docs/API_docs_v53/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v53/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v53/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_chats.md b/old_docs/API_docs_v53/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v53/constructors/messages_chats.md +++ b/old_docs/API_docs_v53/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_dhConfig.md b/old_docs/API_docs_v53/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v53/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v53/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v53/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_dialogs.md b/old_docs/API_docs_v53/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v53/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v53/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v53/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v53/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v53/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_foundGifs.md b/old_docs/API_docs_v53/constructors/messages_foundGifs.md index 5db1a1db..7cf2eaac 100644 --- a/old_docs/API_docs_v53/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v53/constructors/messages_foundGifs.md @@ -25,6 +25,13 @@ description: messages_foundGifs attributes, type and example $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_messageEditData.md b/old_docs/API_docs_v53/constructors/messages_messageEditData.md index 84fede7d..f04529f4 100644 --- a/old_docs/API_docs_v53/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v53/constructors/messages_messageEditData.md @@ -24,6 +24,13 @@ description: messages_messageEditData attributes, type and example $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messageEditData","caption":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_messages.md b/old_docs/API_docs_v53/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v53/constructors/messages_messages.md +++ b/old_docs/API_docs_v53/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_messagesSlice.md b/old_docs/API_docs_v53/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v53/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v53/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_peerDialogs.md b/old_docs/API_docs_v53/constructors/messages_peerDialogs.md index 3f6ba7b2..ba596c19 100644 --- a/old_docs/API_docs_v53/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v53/constructors/messages_peerDialogs.md @@ -28,6 +28,13 @@ description: messages_peerDialogs attributes, type and example $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_savedGifs.md b/old_docs/API_docs_v53/constructors/messages_savedGifs.md index dfcab426..6077da46 100644 --- a/old_docs/API_docs_v53/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v53/constructors/messages_savedGifs.md @@ -25,6 +25,13 @@ description: messages_savedGifs attributes, type and example $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md index 78292bdb..6f35f43d 100644 --- a/old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v53/constructors/messages_savedGifsNotModified.md @@ -19,6 +19,13 @@ description: messages_savedGifsNotModified attributes, type and example $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v53/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v53/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_stickerSet.md b/old_docs/API_docs_v53/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v53/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v53/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_stickers.md b/old_docs/API_docs_v53/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v53/constructors/messages_stickers.md +++ b/old_docs/API_docs_v53/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v53/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v53/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v53/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/nearestDc.md b/old_docs/API_docs_v53/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v53/constructors/nearestDc.md +++ b/old_docs/API_docs_v53/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/notifyAll.md b/old_docs/API_docs_v53/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v53/constructors/notifyAll.md +++ b/old_docs/API_docs_v53/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/notifyChats.md b/old_docs/API_docs_v53/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v53/constructors/notifyChats.md +++ b/old_docs/API_docs_v53/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/notifyPeer.md b/old_docs/API_docs_v53/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v53/constructors/notifyPeer.md +++ b/old_docs/API_docs_v53/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/notifyUsers.md b/old_docs/API_docs_v53/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v53/constructors/notifyUsers.md +++ b/old_docs/API_docs_v53/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/peerChannel.md b/old_docs/API_docs_v53/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v53/constructors/peerChannel.md +++ b/old_docs/API_docs_v53/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/peerChat.md b/old_docs/API_docs_v53/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v53/constructors/peerChat.md +++ b/old_docs/API_docs_v53/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v53/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v53/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v53/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v53/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v53/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v53/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/peerNotifySettings.md b/old_docs/API_docs_v53/constructors/peerNotifySettings.md index 6c2d984e..fb5f90ac 100644 --- a/old_docs/API_docs_v53/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v53/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v53/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v53/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v53/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/peerSettings.md b/old_docs/API_docs_v53/constructors/peerSettings.md index 0169488e..1c888af9 100644 --- a/old_docs/API_docs_v53/constructors/peerSettings.md +++ b/old_docs/API_docs_v53/constructors/peerSettings.md @@ -24,6 +24,13 @@ description: peerSettings attributes, type and example $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerSettings","report_spam":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/peerUser.md b/old_docs/API_docs_v53/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v53/constructors/peerUser.md +++ b/old_docs/API_docs_v53/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/photo.md b/old_docs/API_docs_v53/constructors/photo.md index f9c9582a..2aaa4efd 100644 --- a/old_docs/API_docs_v53/constructors/photo.md +++ b/old_docs/API_docs_v53/constructors/photo.md @@ -27,6 +27,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/photoCachedSize.md b/old_docs/API_docs_v53/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v53/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v53/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/photoEmpty.md b/old_docs/API_docs_v53/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v53/constructors/photoEmpty.md +++ b/old_docs/API_docs_v53/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/photoSize.md b/old_docs/API_docs_v53/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v53/constructors/photoSize.md +++ b/old_docs/API_docs_v53/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/photoSizeEmpty.md b/old_docs/API_docs_v53/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v53/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v53/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/photos_photo.md b/old_docs/API_docs_v53/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v53/constructors/photos_photo.md +++ b/old_docs/API_docs_v53/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/photos_photos.md b/old_docs/API_docs_v53/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v53/constructors/photos_photos.md +++ b/old_docs/API_docs_v53/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/photos_photosSlice.md b/old_docs/API_docs_v53/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v53/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v53/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v53/constructors/privacyKeyChatInvite.md index ad4a35e7..88fbe9a6 100644 --- a/old_docs/API_docs_v53/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v53/constructors/privacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: privacyKeyChatInvite attributes, type and example $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v53/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v53/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v53/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v53/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v53/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v53/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v53/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v53/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v53/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v53/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v53/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v53/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v53/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v53/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v53/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v53/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v53/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v53/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v53/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/replyInlineMarkup.md b/old_docs/API_docs_v53/constructors/replyInlineMarkup.md index 4bc5d372..76e87dc2 100644 --- a/old_docs/API_docs_v53/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v53/constructors/replyInlineMarkup.md @@ -24,6 +24,13 @@ description: replyInlineMarkup attributes, type and example $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md index 4f319506..02a0779a 100644 --- a/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md @@ -25,6 +25,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/replyKeyboardHide.md b/old_docs/API_docs_v53/constructors/replyKeyboardHide.md index 56faa8dd..8b210933 100644 --- a/old_docs/API_docs_v53/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v53/constructors/replyKeyboardHide.md @@ -24,6 +24,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md index 3cebc41f..4269aeb9 100644 --- a/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md @@ -27,6 +27,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v53/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v53/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v53/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v53/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v53/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v53/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v53/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v53/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v53/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v53/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v53/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v53/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/stickerPack.md b/old_docs/API_docs_v53/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v53/constructors/stickerPack.md +++ b/old_docs/API_docs_v53/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/stickerSet.md b/old_docs/API_docs_v53/constructors/stickerSet.md index bed0beeb..2c2aa5aa 100644 --- a/old_docs/API_docs_v53/constructors/stickerSet.md +++ b/old_docs/API_docs_v53/constructors/stickerSet.md @@ -32,6 +32,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","installed":"Bool","disabled":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/storage_fileGif.md b/old_docs/API_docs_v53/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v53/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/storage_fileJpeg.md b/old_docs/API_docs_v53/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v53/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/storage_fileMov.md b/old_docs/API_docs_v53/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v53/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/storage_fileMp3.md b/old_docs/API_docs_v53/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v53/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/storage_fileMp4.md b/old_docs/API_docs_v53/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v53/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/storage_filePartial.md b/old_docs/API_docs_v53/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v53/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v53/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/storage_filePdf.md b/old_docs/API_docs_v53/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v53/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v53/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/storage_filePng.md b/old_docs/API_docs_v53/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v53/constructors/storage_filePng.md +++ b/old_docs/API_docs_v53/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/storage_fileUnknown.md b/old_docs/API_docs_v53/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v53/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/storage_fileWebp.md b/old_docs/API_docs_v53/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v53/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v53/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/topPeer.md b/old_docs/API_docs_v53/constructors/topPeer.md index 016a7857..25b4c2c3 100644 --- a/old_docs/API_docs_v53/constructors/topPeer.md +++ b/old_docs/API_docs_v53/constructors/topPeer.md @@ -25,6 +25,13 @@ description: topPeer attributes, type and example $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeer","peer":"Peer","rating":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v53/constructors/topPeerCategoryBotsInline.md index 30fa513f..e6dc94bf 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryBotsInline.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsInline attributes, type and example $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsInline"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v53/constructors/topPeerCategoryBotsPM.md index f87934ed..07fc07da 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryBotsPM.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsPM attributes, type and example $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsPM"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v53/constructors/topPeerCategoryChannels.md index 6b72af0a..61f1750a 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryChannels.md @@ -19,6 +19,13 @@ description: topPeerCategoryChannels attributes, type and example $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryChannels"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v53/constructors/topPeerCategoryCorrespondents.md index c45dee85..735ff49e 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryCorrespondents.md @@ -19,6 +19,13 @@ description: topPeerCategoryCorrespondents attributes, type and example $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryCorrespondents"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v53/constructors/topPeerCategoryGroups.md index 3f6c8fdf..4ae25a25 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryGroups.md @@ -19,6 +19,13 @@ description: topPeerCategoryGroups attributes, type and example $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryGroups"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v53/constructors/topPeerCategoryPeers.md index 8fd2021b..655db3fb 100644 --- a/old_docs/API_docs_v53/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v53/constructors/topPeerCategoryPeers.md @@ -26,6 +26,13 @@ description: topPeerCategoryPeers attributes, type and example $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/true.md b/old_docs/API_docs_v53/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v53/constructors/true.md +++ b/old_docs/API_docs_v53/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v53/constructors/updateBotCallbackQuery.md index 2e890863..3c72736d 100644 --- a/old_docs/API_docs_v53/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v53/constructors/updateBotCallbackQuery.md @@ -28,6 +28,13 @@ description: updateBotCallbackQuery attributes, type and example $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v53/constructors/updateBotInlineQuery.md index 5cc6956a..9002aa9b 100644 --- a/old_docs/API_docs_v53/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v53/constructors/updateBotInlineQuery.md @@ -28,6 +28,13 @@ description: updateBotInlineQuery attributes, type and example $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateBotInlineSend.md b/old_docs/API_docs_v53/constructors/updateBotInlineSend.md index fb062eb3..816f950f 100644 --- a/old_docs/API_docs_v53/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v53/constructors/updateBotInlineSend.md @@ -28,6 +28,13 @@ description: updateBotInlineSend attributes, type and example $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateChannel.md b/old_docs/API_docs_v53/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/old_docs/API_docs_v53/constructors/updateChannel.md +++ b/old_docs/API_docs_v53/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v53/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/old_docs/API_docs_v53/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v53/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v53/constructors/updateChannelPinnedMessage.md index f6179fd7..cbdc70c7 100644 --- a/old_docs/API_docs_v53/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v53/constructors/updateChannelPinnedMessage.md @@ -25,6 +25,13 @@ description: updateChannelPinnedMessage attributes, type and example $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateChannelTooLong.md b/old_docs/API_docs_v53/constructors/updateChannelTooLong.md index c6a74206..f0a327af 100644 --- a/old_docs/API_docs_v53/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v53/constructors/updateChannelTooLong.md @@ -25,6 +25,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateChatAdmins.md b/old_docs/API_docs_v53/constructors/updateChatAdmins.md index 36fb3614..bf391961 100644 --- a/old_docs/API_docs_v53/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v53/constructors/updateChatAdmins.md @@ -26,6 +26,13 @@ description: updateChatAdmins attributes, type and example $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v53/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/old_docs/API_docs_v53/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v53/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v53/constructors/updateChatParticipantAdmin.md index fbb2cdae..ba5bbc95 100644 --- a/old_docs/API_docs_v53/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v53/constructors/updateChatParticipantAdmin.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdmin attributes, type and example $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v53/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v53/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v53/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateChatParticipants.md b/old_docs/API_docs_v53/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v53/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v53/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateChatUserTyping.md b/old_docs/API_docs_v53/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v53/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v53/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateContactLink.md b/old_docs/API_docs_v53/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v53/constructors/updateContactLink.md +++ b/old_docs/API_docs_v53/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateContactRegistered.md b/old_docs/API_docs_v53/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v53/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v53/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateDcOptions.md b/old_docs/API_docs_v53/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v53/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v53/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v53/constructors/updateDeleteChannelMessages.md index 6f8c20d5..a078a880 100644 --- a/old_docs/API_docs_v53/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v53/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateDeleteMessages.md b/old_docs/API_docs_v53/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v53/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v53/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateDraftMessage.md b/old_docs/API_docs_v53/constructors/updateDraftMessage.md index 3eb98097..5dedfd93 100644 --- a/old_docs/API_docs_v53/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v53/constructors/updateDraftMessage.md @@ -25,6 +25,13 @@ description: updateDraftMessage attributes, type and example $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v53/constructors/updateEditChannelMessage.md index 65a44b23..f2d2b288 100644 --- a/old_docs/API_docs_v53/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v53/constructors/updateEditChannelMessage.md @@ -26,6 +26,13 @@ description: updateEditChannelMessage attributes, type and example $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateEditMessage.md b/old_docs/API_docs_v53/constructors/updateEditMessage.md index 7b681445..3e2f86a3 100644 --- a/old_docs/API_docs_v53/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v53/constructors/updateEditMessage.md @@ -26,6 +26,13 @@ description: updateEditMessage attributes, type and example $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v53/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v53/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v53/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v53/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v53/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v53/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateEncryption.md b/old_docs/API_docs_v53/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v53/constructors/updateEncryption.md +++ b/old_docs/API_docs_v53/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v53/constructors/updateInlineBotCallbackQuery.md index ff99c35f..da31cfe1 100644 --- a/old_docs/API_docs_v53/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v53/constructors/updateInlineBotCallbackQuery.md @@ -27,6 +27,13 @@ description: updateInlineBotCallbackQuery attributes, type and example $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateMessageID.md b/old_docs/API_docs_v53/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v53/constructors/updateMessageID.md +++ b/old_docs/API_docs_v53/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateNewAuthorization.md b/old_docs/API_docs_v53/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v53/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v53/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v53/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/old_docs/API_docs_v53/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v53/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v53/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v53/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v53/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateNewMessage.md b/old_docs/API_docs_v53/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v53/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v53/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateNewStickerSet.md b/old_docs/API_docs_v53/constructors/updateNewStickerSet.md index ccb4f17f..919c3ad8 100644 --- a/old_docs/API_docs_v53/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v53/constructors/updateNewStickerSet.md @@ -24,6 +24,13 @@ description: updateNewStickerSet attributes, type and example $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateNotifySettings.md b/old_docs/API_docs_v53/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v53/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v53/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updatePrivacy.md b/old_docs/API_docs_v53/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v53/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v53/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v53/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/old_docs/API_docs_v53/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v53/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v53/constructors/updateReadChannelOutbox.md index 162db1ec..5e1ce23d 100644 --- a/old_docs/API_docs_v53/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v53/constructors/updateReadChannelOutbox.md @@ -25,6 +25,13 @@ description: updateReadChannelOutbox attributes, type and example $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v53/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v53/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v53/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v53/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v53/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v53/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v53/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v53/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v53/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateSavedGifs.md b/old_docs/API_docs_v53/constructors/updateSavedGifs.md index a52b7838..46dfb8a6 100644 --- a/old_docs/API_docs_v53/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v53/constructors/updateSavedGifs.md @@ -19,6 +19,13 @@ description: updateSavedGifs attributes, type and example $updateSavedGifs = ['_' => 'updateSavedGifs', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateSavedGifs"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateServiceNotification.md b/old_docs/API_docs_v53/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v53/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v53/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateShort.md b/old_docs/API_docs_v53/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v53/constructors/updateShort.md +++ b/old_docs/API_docs_v53/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateShortChatMessage.md b/old_docs/API_docs_v53/constructors/updateShortChatMessage.md index 5bd6de08..ea43359c 100644 --- a/old_docs/API_docs_v53/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v53/constructors/updateShortChatMessage.md @@ -38,6 +38,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateShortMessage.md b/old_docs/API_docs_v53/constructors/updateShortMessage.md index 0c46fb50..1a9f106f 100644 --- a/old_docs/API_docs_v53/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v53/constructors/updateShortMessage.md @@ -37,6 +37,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateShortSentMessage.md b/old_docs/API_docs_v53/constructors/updateShortSentMessage.md index 2172b3a1..d67179f2 100644 --- a/old_docs/API_docs_v53/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v53/constructors/updateShortSentMessage.md @@ -30,6 +30,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateStickerSets.md b/old_docs/API_docs_v53/constructors/updateStickerSets.md index 0affa36f..69c53b51 100644 --- a/old_docs/API_docs_v53/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v53/constructors/updateStickerSets.md @@ -19,6 +19,13 @@ description: updateStickerSets attributes, type and example $updateStickerSets = ['_' => 'updateStickerSets', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSets"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v53/constructors/updateStickerSetsOrder.md index ee954112..950fdb48 100644 --- a/old_docs/API_docs_v53/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v53/constructors/updateStickerSetsOrder.md @@ -24,6 +24,13 @@ description: updateStickerSetsOrder attributes, type and example $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSetsOrder","order":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateUserBlocked.md b/old_docs/API_docs_v53/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v53/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v53/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateUserName.md b/old_docs/API_docs_v53/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v53/constructors/updateUserName.md +++ b/old_docs/API_docs_v53/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateUserPhone.md b/old_docs/API_docs_v53/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v53/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v53/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateUserPhoto.md b/old_docs/API_docs_v53/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v53/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v53/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateUserStatus.md b/old_docs/API_docs_v53/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v53/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v53/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateUserTyping.md b/old_docs/API_docs_v53/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v53/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v53/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updateWebPage.md b/old_docs/API_docs_v53/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/old_docs/API_docs_v53/constructors/updateWebPage.md +++ b/old_docs/API_docs_v53/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updates.md b/old_docs/API_docs_v53/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v53/constructors/updates.md +++ b/old_docs/API_docs_v53/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updatesCombined.md b/old_docs/API_docs_v53/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v53/constructors/updatesCombined.md +++ b/old_docs/API_docs_v53/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updatesTooLong.md b/old_docs/API_docs_v53/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v53/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v53/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updates_channelDifference.md b/old_docs/API_docs_v53/constructors/updates_channelDifference.md index c64c69b6..876e8d13 100644 --- a/old_docs/API_docs_v53/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v53/constructors/updates_channelDifference.md @@ -30,6 +30,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md index 6e4d7bde..c596d24a 100644 --- a/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md @@ -26,6 +26,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md index 0e295673..464117f9 100644 --- a/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md @@ -33,6 +33,13 @@ description: updates_channelDifferenceTooLong attributes, type and example $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceTooLong","final":"Bool","pts":"int","timeout":"int","top_message":"int","read_inbox_max_id":"int","read_outbox_max_id":"int","unread_count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updates_difference.md b/old_docs/API_docs_v53/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v53/constructors/updates_difference.md +++ b/old_docs/API_docs_v53/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v53/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v53/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v53/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updates_differenceSlice.md b/old_docs/API_docs_v53/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v53/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v53/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/updates_state.md b/old_docs/API_docs_v53/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v53/constructors/updates_state.md +++ b/old_docs/API_docs_v53/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/upload_file.md b/old_docs/API_docs_v53/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v53/constructors/upload_file.md +++ b/old_docs/API_docs_v53/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/user.md b/old_docs/API_docs_v53/constructors/user.md index 900236af..a0f86878 100644 --- a/old_docs/API_docs_v53/constructors/user.md +++ b/old_docs/API_docs_v53/constructors/user.md @@ -45,6 +45,13 @@ description: user attributes, type and example $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, '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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","self":"Bool","contact":"Bool","mutual_contact":"Bool","deleted":"Bool","bot":"Bool","bot_chat_history":"Bool","bot_nochats":"Bool","verified":"Bool","restricted":"Bool","min":"Bool","bot_inline_geo":"Bool","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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/userEmpty.md b/old_docs/API_docs_v53/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v53/constructors/userEmpty.md +++ b/old_docs/API_docs_v53/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/userFull.md b/old_docs/API_docs_v53/constructors/userFull.md index 4b9a2346..da08e19b 100644 --- a/old_docs/API_docs_v53/constructors/userFull.md +++ b/old_docs/API_docs_v53/constructors/userFull.md @@ -30,6 +30,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","blocked":"Bool","user":"User","about":"string","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","bot_info":"BotInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/userProfilePhoto.md b/old_docs/API_docs_v53/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v53/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v53/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v53/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v53/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v53/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/userStatusEmpty.md b/old_docs/API_docs_v53/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v53/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v53/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/userStatusLastMonth.md b/old_docs/API_docs_v53/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v53/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v53/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/userStatusLastWeek.md b/old_docs/API_docs_v53/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v53/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v53/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/userStatusOffline.md b/old_docs/API_docs_v53/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v53/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v53/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/userStatusOnline.md b/old_docs/API_docs_v53/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v53/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v53/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/userStatusRecently.md b/old_docs/API_docs_v53/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v53/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v53/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/vector.md b/old_docs/API_docs_v53/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v53/constructors/vector.md +++ b/old_docs/API_docs_v53/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/wallPaper.md b/old_docs/API_docs_v53/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v53/constructors/wallPaper.md +++ b/old_docs/API_docs_v53/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/wallPaperSolid.md b/old_docs/API_docs_v53/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v53/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v53/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/webPage.md b/old_docs/API_docs_v53/constructors/webPage.md index 7c0a432f..b4dd86ee 100644 --- a/old_docs/API_docs_v53/constructors/webPage.md +++ b/old_docs/API_docs_v53/constructors/webPage.md @@ -38,6 +38,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/webPageEmpty.md b/old_docs/API_docs_v53/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v53/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v53/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/constructors/webPagePending.md b/old_docs/API_docs_v53/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v53/constructors/webPagePending.md +++ b/old_docs/API_docs_v53/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/account_changePhone.md b/old_docs/API_docs_v53/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v53/methods/account_changePhone.md +++ b/old_docs/API_docs_v53/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_checkUsername.md b/old_docs/API_docs_v53/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v53/methods/account_checkUsername.md +++ b/old_docs/API_docs_v53/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_deleteAccount.md b/old_docs/API_docs_v53/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v53/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v53/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_getAccountTTL.md b/old_docs/API_docs_v53/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v53/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v53/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/account_getAuthorizations.md b/old_docs/API_docs_v53/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v53/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v53/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/account_getNotifySettings.md b/old_docs/API_docs_v53/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v53/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_getPassword.md b/old_docs/API_docs_v53/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v53/methods/account_getPassword.md +++ b/old_docs/API_docs_v53/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/account_getPasswordSettings.md b/old_docs/API_docs_v53/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v53/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v53/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_getPrivacy.md b/old_docs/API_docs_v53/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v53/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v53/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_getWallPapers.md b/old_docs/API_docs_v53/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v53/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v53/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/account_registerDevice.md b/old_docs/API_docs_v53/methods/account_registerDevice.md index 07381be6..fa4aae85 100644 --- a/old_docs/API_docs_v53/methods/account_registerDevice.md +++ b/old_docs/API_docs_v53/methods/account_registerDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_reportPeer.md b/old_docs/API_docs_v53/methods/account_reportPeer.md index 019e88a5..08c8d0d5 100644 --- a/old_docs/API_docs_v53/methods/account_reportPeer.md +++ b/old_docs/API_docs_v53/methods/account_reportPeer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.reportPeer +* params - {"peer":"InputPeer","reason":"ReportReason"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.reportPeer` + +Parameters: + +peer - Json encoded InputPeer +reason - Json encoded ReportReason + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_resetAuthorization.md b/old_docs/API_docs_v53/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v53/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v53/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_resetNotifySettings.md b/old_docs/API_docs_v53/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v53/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md index 83cfe3e2..1c4c0ca7 100644 --- a/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v53/methods/account_sendChangePhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_setAccountTTL.md b/old_docs/API_docs_v53/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v53/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v53/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_setPrivacy.md b/old_docs/API_docs_v53/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v53/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v53/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_unregisterDevice.md b/old_docs/API_docs_v53/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v53/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v53/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v53/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_updateNotifySettings.md b/old_docs/API_docs_v53/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v53/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v53/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v53/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_updateProfile.md b/old_docs/API_docs_v53/methods/account_updateProfile.md index e12a2f1c..10ab8f0c 100644 --- a/old_docs/API_docs_v53/methods/account_updateProfile.md +++ b/old_docs/API_docs_v53/methods/account_updateProfile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_updateStatus.md b/old_docs/API_docs_v53/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v53/methods/account_updateStatus.md +++ b/old_docs/API_docs_v53/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/account_updateUsername.md b/old_docs/API_docs_v53/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v53/methods/account_updateUsername.md +++ b/old_docs/API_docs_v53/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v53/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/auth_cancelCode.md b/old_docs/API_docs_v53/methods/auth_cancelCode.md index 73a8c55b..05aae0cf 100644 --- a/old_docs/API_docs_v53/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v53/methods/auth_cancelCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.cancelCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.cancelCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/auth_checkPassword.md b/old_docs/API_docs_v53/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v53/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v53/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/auth_checkPhone.md b/old_docs/API_docs_v53/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v53/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v53/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/auth_exportAuthorization.md b/old_docs/API_docs_v53/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v53/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/auth_importAuthorization.md b/old_docs/API_docs_v53/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v53/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v53/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/auth_logOut.md b/old_docs/API_docs_v53/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v53/methods/auth_logOut.md +++ b/old_docs/API_docs_v53/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/auth_recoverPassword.md b/old_docs/API_docs_v53/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v53/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v53/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v53/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/auth_resendCode.md b/old_docs/API_docs_v53/methods/auth_resendCode.md index 6ba623cf..aaea73a0 100644 --- a/old_docs/API_docs_v53/methods/auth_resendCode.md +++ b/old_docs/API_docs_v53/methods/auth_resendCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resendCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resendCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v53/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/auth_sendCode.md b/old_docs/API_docs_v53/methods/auth_sendCode.md index 423da558..c6e4d8aa 100644 --- a/old_docs/API_docs_v53/methods/auth_sendCode.md +++ b/old_docs/API_docs_v53/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool +api_id - Json encoded int +api_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/auth_sendInvites.md b/old_docs/API_docs_v53/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v53/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v53/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/auth_signIn.md b/old_docs/API_docs_v53/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v53/methods/auth_signIn.md +++ b/old_docs/API_docs_v53/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/auth_signUp.md b/old_docs/API_docs_v53/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v53/methods/auth_signUp.md +++ b/old_docs/API_docs_v53/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_checkUsername.md b/old_docs/API_docs_v53/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/old_docs/API_docs_v53/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v53/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_createChannel.md b/old_docs/API_docs_v53/methods/channels_createChannel.md index a4819767..853ca900 100644 --- a/old_docs/API_docs_v53/methods/channels_createChannel.md +++ b/old_docs/API_docs_v53/methods/channels_createChannel.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +broadcast - Json encoded Bool +megagroup - Json encoded Bool +title - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_deleteChannel.md b/old_docs/API_docs_v53/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v53/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_deleteMessages.md b/old_docs/API_docs_v53/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v53/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v53/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_editAbout.md b/old_docs/API_docs_v53/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/old_docs/API_docs_v53/methods/channels_editAbout.md +++ b/old_docs/API_docs_v53/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_editAdmin.md b/old_docs/API_docs_v53/methods/channels_editAdmin.md index 4596e082..729d5e28 100644 --- a/old_docs/API_docs_v53/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v53/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +role - Json encoded ChannelParticipantRole + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_editPhoto.md b/old_docs/API_docs_v53/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/old_docs/API_docs_v53/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v53/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_editTitle.md b/old_docs/API_docs_v53/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/old_docs/API_docs_v53/methods/channels_editTitle.md +++ b/old_docs/API_docs_v53/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_exportInvite.md b/old_docs/API_docs_v53/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/old_docs/API_docs_v53/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v53/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_exportMessageLink.md b/old_docs/API_docs_v53/methods/channels_exportMessageLink.md index 644c5b1a..4d5ba2df 100644 --- a/old_docs/API_docs_v53/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v53/methods/channels_exportMessageLink.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportMessageLink +* params - {"channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportMessageLink` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_getChannels.md b/old_docs/API_docs_v53/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/old_docs/API_docs_v53/methods/channels_getChannels.md +++ b/old_docs/API_docs_v53/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_getFullChannel.md b/old_docs/API_docs_v53/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/old_docs/API_docs_v53/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v53/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_getMessages.md b/old_docs/API_docs_v53/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/old_docs/API_docs_v53/methods/channels_getMessages.md +++ b/old_docs/API_docs_v53/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_getParticipant.md b/old_docs/API_docs_v53/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_getParticipants.md b/old_docs/API_docs_v53/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/old_docs/API_docs_v53/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v53/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_inviteToChannel.md b/old_docs/API_docs_v53/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/old_docs/API_docs_v53/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v53/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_joinChannel.md b/old_docs/API_docs_v53/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/old_docs/API_docs_v53/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v53/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_kickFromChannel.md b/old_docs/API_docs_v53/methods/channels_kickFromChannel.md index 1dc6b4b7..5e91bc24 100644 --- a/old_docs/API_docs_v53/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v53/methods/channels_kickFromChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.kickFromChannel +* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.kickFromChannel` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +kicked - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_leaveChannel.md b/old_docs/API_docs_v53/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/old_docs/API_docs_v53/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v53/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_readHistory.md b/old_docs/API_docs_v53/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/old_docs/API_docs_v53/methods/channels_readHistory.md +++ b/old_docs/API_docs_v53/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_reportSpam.md b/old_docs/API_docs_v53/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/old_docs/API_docs_v53/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v53/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_toggleInvites.md b/old_docs/API_docs_v53/methods/channels_toggleInvites.md index f537ada8..86569f90 100644 --- a/old_docs/API_docs_v53/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v53/methods/channels_toggleInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleInvites +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleInvites` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_toggleSignatures.md b/old_docs/API_docs_v53/methods/channels_toggleSignatures.md index 327795f4..ea833e9a 100644 --- a/old_docs/API_docs_v53/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v53/methods/channels_toggleSignatures.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleSignatures +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleSignatures` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md index 97327889..0fd2da72 100644 --- a/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v53/methods/channels_updatePinnedMessage.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updatePinnedMessage +* params - {"silent":"Bool","channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updatePinnedMessage` + +Parameters: + +silent - Json encoded Bool +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/channels_updateUsername.md b/old_docs/API_docs_v53/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/old_docs/API_docs_v53/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v53/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/contacts_block.md b/old_docs/API_docs_v53/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v53/methods/contacts_block.md +++ b/old_docs/API_docs_v53/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/contacts_deleteContact.md b/old_docs/API_docs_v53/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v53/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v53/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/contacts_deleteContacts.md b/old_docs/API_docs_v53/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v53/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/contacts_exportCard.md b/old_docs/API_docs_v53/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v53/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v53/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/contacts_getBlocked.md b/old_docs/API_docs_v53/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v53/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v53/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/contacts_getContacts.md b/old_docs/API_docs_v53/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v53/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/contacts_getStatuses.md b/old_docs/API_docs_v53/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v53/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v53/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/contacts_getTopPeers.md b/old_docs/API_docs_v53/methods/contacts_getTopPeers.md index 0c8813ff..293a3541 100644 --- a/old_docs/API_docs_v53/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v53/methods/contacts_getTopPeers.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getTopPeers +* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getTopPeers` + +Parameters: + +correspondents - Json encoded Bool +bots_pm - Json encoded Bool +bots_inline - Json encoded Bool +groups - Json encoded Bool +channels - Json encoded Bool +offset - Json encoded int +limit - Json encoded int +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/contacts_importCard.md b/old_docs/API_docs_v53/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v53/methods/contacts_importCard.md +++ b/old_docs/API_docs_v53/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/contacts_importContacts.md b/old_docs/API_docs_v53/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v53/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v53/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md index 6d2b6397..adb3f83a 100644 --- a/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v53/methods/contacts_resetTopPeerRating.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resetTopPeerRating +* params - {"category":"TopPeerCategory","peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resetTopPeerRating` + +Parameters: + +category - Json encoded TopPeerCategory +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/contacts_resolveUsername.md b/old_docs/API_docs_v53/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/old_docs/API_docs_v53/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v53/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/contacts_search.md b/old_docs/API_docs_v53/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v53/methods/contacts_search.md +++ b/old_docs/API_docs_v53/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/contacts_unblock.md b/old_docs/API_docs_v53/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v53/methods/contacts_unblock.md +++ b/old_docs/API_docs_v53/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/help_getAppChangelog.md b/old_docs/API_docs_v53/methods/help_getAppChangelog.md index 4dbf6812..e88c66bd 100644 --- a/old_docs/API_docs_v53/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v53/methods/help_getAppChangelog.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_AppChangelog = $MadelineProto->help->getAppChangelog(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/help_getAppUpdate.md b/old_docs/API_docs_v53/methods/help_getAppUpdate.md index 8870072b..851fc06e 100644 --- a/old_docs/API_docs_v53/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v53/methods/help_getAppUpdate.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_AppUpdate = $MadelineProto->help->getAppUpdate(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/help_getConfig.md b/old_docs/API_docs_v53/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v53/methods/help_getConfig.md +++ b/old_docs/API_docs_v53/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/help_getInviteText.md b/old_docs/API_docs_v53/methods/help_getInviteText.md index 19fd0484..77e3acd1 100644 --- a/old_docs/API_docs_v53/methods/help_getInviteText.md +++ b/old_docs/API_docs_v53/methods/help_getInviteText.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_InviteText = $MadelineProto->help->getInviteText(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/help_getNearestDc.md b/old_docs/API_docs_v53/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v53/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v53/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/help_getSupport.md b/old_docs/API_docs_v53/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v53/methods/help_getSupport.md +++ b/old_docs/API_docs_v53/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/help_getTermsOfService.md b/old_docs/API_docs_v53/methods/help_getTermsOfService.md index e53dba71..14f1a976 100644 --- a/old_docs/API_docs_v53/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v53/methods/help_getTermsOfService.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_TermsOfService = $MadelineProto->help->getTermsOfService(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getTermsOfService +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getTermsOfService` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/help_saveAppLog.md b/old_docs/API_docs_v53/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v53/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v53/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/initConnection.md b/old_docs/API_docs_v53/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v53/methods/initConnection.md +++ b/old_docs/API_docs_v53/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/invokeAfterMsg.md b/old_docs/API_docs_v53/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v53/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v53/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/invokeAfterMsgs.md b/old_docs/API_docs_v53/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v53/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v53/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/invokeWithLayer.md b/old_docs/API_docs_v53/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v53/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v53/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v53/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_acceptEncryption.md b/old_docs/API_docs_v53/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v53/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v53/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_addChatUser.md b/old_docs/API_docs_v53/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v53/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v53/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_checkChatInvite.md b/old_docs/API_docs_v53/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v53/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_createChat.md b/old_docs/API_docs_v53/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v53/methods/messages_createChat.md +++ b/old_docs/API_docs_v53/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_deleteChatUser.md b/old_docs/API_docs_v53/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v53/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_deleteHistory.md b/old_docs/API_docs_v53/methods/messages_deleteHistory.md index 4a3c7e3f..4e5321c6 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v53/methods/messages_deleteHistory.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +just_clear - Json encoded Bool +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_deleteMessages.md b/old_docs/API_docs_v53/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v53/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v53/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_discardEncryption.md b/old_docs/API_docs_v53/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v53/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v53/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_editChatAdmin.md b/old_docs/API_docs_v53/methods/messages_editChatAdmin.md index 515c2ede..2ad6d72c 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v53/methods/messages_editChatAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatAdmin +* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +is_admin - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_editChatPhoto.md b/old_docs/API_docs_v53/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v53/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_editChatTitle.md b/old_docs/API_docs_v53/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v53/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v53/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md index 19405712..4daa439f 100644 --- a/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editInlineBotMessage.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editInlineBotMessage +* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editInlineBotMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_editMessage.md b/old_docs/API_docs_v53/methods/messages_editMessage.md index 05410c5d..d405e718 100644 --- a/old_docs/API_docs_v53/methods/messages_editMessage.md +++ b/old_docs/API_docs_v53/methods/messages_editMessage.md @@ -42,6 +42,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editMessage +* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_exportChatInvite.md b/old_docs/API_docs_v53/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v53/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_forwardMessage.md b/old_docs/API_docs_v53/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v53/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v53/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_forwardMessages.md b/old_docs/API_docs_v53/methods/messages_forwardMessages.md index a4e2329a..f7ae9a13 100644 --- a/old_docs/API_docs_v53/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v53/methods/messages_forwardMessages.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"silent":"Bool","background":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getAllDrafts.md b/old_docs/API_docs_v53/methods/messages_getAllDrafts.md index 97807321..6039321d 100644 --- a/old_docs/API_docs_v53/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v53/methods/messages_getAllDrafts.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Updates = $MadelineProto->messages->getAllDrafts(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllDrafts +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllDrafts` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/messages_getAllStickers.md b/old_docs/API_docs_v53/methods/messages_getAllStickers.md index bc49bdd6..b2f1eb71 100644 --- a/old_docs/API_docs_v53/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v53/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md index 6bab943c..0efcfbba 100644 --- a/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v53/methods/messages_getBotCallbackAnswer.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getBotCallbackAnswer +* params - {"peer":"InputPeer","msg_id":"int","data":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getBotCallbackAnswer` + +Parameters: + +peer - Json encoded InputPeer +msg_id - Json encoded int +data - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getChats.md b/old_docs/API_docs_v53/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v53/methods/messages_getChats.md +++ b/old_docs/API_docs_v53/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getDhConfig.md b/old_docs/API_docs_v53/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v53/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v53/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getDialogs.md b/old_docs/API_docs_v53/methods/messages_getDialogs.md index 61fa3149..a0884730 100644 --- a/old_docs/API_docs_v53/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v53/methods/messages_getDialogs.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset_date - Json encoded int +offset_id - Json encoded int +offset_peer - Json encoded InputPeer +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md index 2daac691..ca541c7e 100644 --- a/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v53/methods/messages_getDocumentByHash.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDocumentByHash +* params - {"sha256":"bytes","size":"int","mime_type":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDocumentByHash` + +Parameters: + +sha256 - Json encoded bytes +size - Json encoded int +mime_type - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getFullChat.md b/old_docs/API_docs_v53/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v53/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v53/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getHistory.md b/old_docs/API_docs_v53/methods/messages_getHistory.md index 9d54dd86..b976c6d5 100644 --- a/old_docs/API_docs_v53/methods/messages_getHistory.md +++ b/old_docs/API_docs_v53/methods/messages_getHistory.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +offset_date - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md index 0ad9e385..d3959eab 100644 --- a/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v53/methods/messages_getInlineBotResults.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineBotResults +* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineBotResults` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +geo_point - Json encoded InputGeoPoint +query - Json encoded string +offset - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getMessageEditData.md b/old_docs/API_docs_v53/methods/messages_getMessageEditData.md index eb2ea4e3..732fdff5 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v53/methods/messages_getMessageEditData.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessageEditData +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessageEditData` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getMessages.md b/old_docs/API_docs_v53/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessages.md +++ b/old_docs/API_docs_v53/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getMessagesViews.md b/old_docs/API_docs_v53/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/old_docs/API_docs_v53/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v53/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md index af44c1dd..bd191681 100644 --- a/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v53/methods/messages_getPeerDialogs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerDialogs +* params - {"peers":["InputPeer"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerDialogs` + +Parameters: + +peers - Json encoded array of InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getPeerSettings.md b/old_docs/API_docs_v53/methods/messages_getPeerSettings.md index 9a8817c0..b78406e9 100644 --- a/old_docs/API_docs_v53/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v53/methods/messages_getPeerSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerSettings +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerSettings` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getSavedGifs.md b/old_docs/API_docs_v53/methods/messages_getSavedGifs.md index c528873b..a7a0cbd2 100644 --- a/old_docs/API_docs_v53/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v53/methods/messages_getSavedGifs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getSavedGifs +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getSavedGifs` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getStickerSet.md b/old_docs/API_docs_v53/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v53/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getStickers.md b/old_docs/API_docs_v53/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v53/methods/messages_getStickers.md +++ b/old_docs/API_docs_v53/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v53/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_hideReportSpam.md b/old_docs/API_docs_v53/methods/messages_hideReportSpam.md index dbf882ee..9ddaa09c 100644 --- a/old_docs/API_docs_v53/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v53/methods/messages_hideReportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.hideReportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.hideReportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_importChatInvite.md b/old_docs/API_docs_v53/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v53/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v53/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_installStickerSet.md b/old_docs/API_docs_v53/methods/messages_installStickerSet.md index a3c12183..637005f3 100644 --- a/old_docs/API_docs_v53/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","disabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +disabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_migrateChat.md b/old_docs/API_docs_v53/methods/messages_migrateChat.md index eaa988a7..1d8e1ca5 100644 --- a/old_docs/API_docs_v53/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v53/methods/messages_migrateChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.migrateChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.migrateChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v53/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_readHistory.md b/old_docs/API_docs_v53/methods/messages_readHistory.md index c5ddb451..99ce0e57 100644 --- a/old_docs/API_docs_v53/methods/messages_readHistory.md +++ b/old_docs/API_docs_v53/methods/messages_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_readMessageContents.md b/old_docs/API_docs_v53/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v53/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v53/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_receivedMessages.md b/old_docs/API_docs_v53/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v53/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v53/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_receivedQueue.md b/old_docs/API_docs_v53/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v53/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v53/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md index eda07dd9..3187ba89 100644 --- a/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v53/methods/messages_reorderStickerSets.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderStickerSets +* params - {"order":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderStickerSets` + +Parameters: + +order - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_reportSpam.md b/old_docs/API_docs_v53/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v53/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v53/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_requestEncryption.md b/old_docs/API_docs_v53/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v53/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v53/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_saveDraft.md b/old_docs/API_docs_v53/methods/messages_saveDraft.md index c28f8fd9..f683ea04 100644 --- a/old_docs/API_docs_v53/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v53/methods/messages_saveDraft.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveDraft +* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveDraft` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_saveGif.md b/old_docs/API_docs_v53/methods/messages_saveGif.md index 6a2269b5..c6a5e7ba 100644 --- a/old_docs/API_docs_v53/methods/messages_saveGif.md +++ b/old_docs/API_docs_v53/methods/messages_saveGif.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveGif +* params - {"id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveGif` + +Parameters: + +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_search.md b/old_docs/API_docs_v53/methods/messages_search.md index d53456d0..a0485ebe 100644 --- a/old_docs/API_docs_v53/methods/messages_search.md +++ b/old_docs/API_docs_v53/methods/messages_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_searchGifs.md b/old_docs/API_docs_v53/methods/messages_searchGifs.md index ca0934be..24658214 100644 --- a/old_docs/API_docs_v53/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v53/methods/messages_searchGifs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGifs +* params - {"q":"string","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGifs` + +Parameters: + +q - Json encoded string +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_searchGlobal.md b/old_docs/API_docs_v53/methods/messages_searchGlobal.md index 36f09366..0095015c 100644 --- a/old_docs/API_docs_v53/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v53/methods/messages_searchGlobal.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGlobal +* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGlobal` + +Parameters: + +q - Json encoded string +offset_date - Json encoded int +offset_peer - Json encoded InputPeer +offset_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendBroadcast.md b/old_docs/API_docs_v53/methods/messages_sendBroadcast.md index d4af6317..81e9c7b8 100644 --- a/old_docs/API_docs_v53/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v53/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendEncrypted.md b/old_docs/API_docs_v53/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v53/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md index 42eee3c3..c747e54b 100644 --- a/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v53/methods/messages_sendInlineBotResult.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendInlineBotResult +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendInlineBotResult` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +query_id - Json encoded long +id - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendMedia.md b/old_docs/API_docs_v53/methods/messages_sendMedia.md index 4f763d5e..05464ad5 100644 --- a/old_docs/API_docs_v53/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v53/methods/messages_sendMedia.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_sendMessage.md b/old_docs/API_docs_v53/methods/messages_sendMessage.md index b31fc6cc..6cc234c3 100644 --- a/old_docs/API_docs_v53/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v53/methods/messages_sendMessage.md @@ -45,6 +45,30 @@ if (isset($number)) { // Login as a user $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], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"no_webpage":"Bool","silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md index c55beed7..39216c12 100644 --- a/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v53/methods/messages_setBotCallbackAnswer.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotCallbackAnswer +* params - {"alert":"Bool","query_id":"long","message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotCallbackAnswer` + +Parameters: + +alert - Json encoded Bool +query_id - Json encoded long +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v53/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md index 0ef74b32..5a2b1da0 100644 --- a/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v53/methods/messages_setInlineBotResults.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineBotResults +* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineBotResults` + +Parameters: + +gallery - Json encoded Bool +private - Json encoded Bool +query_id - Json encoded long +results - Json encoded array of InputBotInlineResult +cache_time - Json encoded int +next_offset - Json encoded string +switch_pm - Json encoded InlineBotSwitchPM + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_setTyping.md b/old_docs/API_docs_v53/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v53/methods/messages_setTyping.md +++ b/old_docs/API_docs_v53/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_startBot.md b/old_docs/API_docs_v53/methods/messages_startBot.md index 58aadfab..93229d34 100644 --- a/old_docs/API_docs_v53/methods/messages_startBot.md +++ b/old_docs/API_docs_v53/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md index ec1809f3..2edb160a 100644 --- a/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v53/methods/messages_toggleChatAdmins.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleChatAdmins +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleChatAdmins` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v53/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/photos_deletePhotos.md b/old_docs/API_docs_v53/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v53/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v53/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/photos_getUserPhotos.md b/old_docs/API_docs_v53/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v53/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v53/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v53/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v53/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/updates_getChannelDifference.md b/old_docs/API_docs_v53/methods/updates_getChannelDifference.md index 6fe9722a..d2aedcea 100644 --- a/old_docs/API_docs_v53/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v53/methods/updates_getChannelDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/updates_getDifference.md b/old_docs/API_docs_v53/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v53/methods/updates_getDifference.md +++ b/old_docs/API_docs_v53/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/updates_getState.md b/old_docs/API_docs_v53/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v53/methods/updates_getState.md +++ b/old_docs/API_docs_v53/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v53/methods/upload_getFile.md b/old_docs/API_docs_v53/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v53/methods/upload_getFile.md +++ b/old_docs/API_docs_v53/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v53/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/upload_saveFilePart.md b/old_docs/API_docs_v53/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v53/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v53/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/users_getFullUser.md b/old_docs/API_docs_v53/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v53/methods/users_getFullUser.md +++ b/old_docs/API_docs_v53/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v53/methods/users_getUsers.md b/old_docs/API_docs_v53/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v53/methods/users_getUsers.md +++ b/old_docs/API_docs_v53/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/constructors/accountDaysTTL.md b/old_docs/API_docs_v55/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v55/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v55/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/account_authorizations.md b/old_docs/API_docs_v55/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v55/constructors/account_authorizations.md +++ b/old_docs/API_docs_v55/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/account_noPassword.md b/old_docs/API_docs_v55/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v55/constructors/account_noPassword.md +++ b/old_docs/API_docs_v55/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/account_password.md b/old_docs/API_docs_v55/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v55/constructors/account_password.md +++ b/old_docs/API_docs_v55/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v55/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/account_passwordSettings.md b/old_docs/API_docs_v55/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v55/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v55/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/account_privacyRules.md b/old_docs/API_docs_v55/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v55/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v55/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/auth_authorization.md b/old_docs/API_docs_v55/constructors/auth_authorization.md index a162abcd..b59d5d96 100644 --- a/old_docs/API_docs_v55/constructors/auth_authorization.md +++ b/old_docs/API_docs_v55/constructors/auth_authorization.md @@ -25,6 +25,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","tmp_sessions":"int","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/auth_checkedPhone.md b/old_docs/API_docs_v55/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v55/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v55/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v55/constructors/auth_codeTypeCall.md index 6ac151ad..714eb23c 100644 --- a/old_docs/API_docs_v55/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v55/constructors/auth_codeTypeCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeCall attributes, type and example $auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md index a8c2bc05..c535eccf 100644 --- a/old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v55/constructors/auth_codeTypeFlashCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeFlashCall attributes, type and example $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeFlashCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v55/constructors/auth_codeTypeSms.md index aa7eccac..cbeb31cb 100644 --- a/old_docs/API_docs_v55/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v55/constructors/auth_codeTypeSms.md @@ -19,6 +19,13 @@ description: auth_codeTypeSms attributes, type and example $auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeSms"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v55/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v55/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v55/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v55/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/auth_sentCode.md b/old_docs/API_docs_v55/constructors/auth_sentCode.md index f3ac1809..51e2d458 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCode.md @@ -28,6 +28,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md index 84d05955..2456a284 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeApp.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeApp attributes, type and example $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeApp","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md index 889cec01..39745809 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeCall attributes, type and example $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeCall","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md index f5ec0920..2ba727ec 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md index 5c4075c1..4a350ff6 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCodeTypeSms.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeSms attributes, type and example $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeSms","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/authorization.md b/old_docs/API_docs_v55/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v55/constructors/authorization.md +++ b/old_docs/API_docs_v55/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/botCommand.md b/old_docs/API_docs_v55/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v55/constructors/botCommand.md +++ b/old_docs/API_docs_v55/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/botInfo.md b/old_docs/API_docs_v55/constructors/botInfo.md index 0fce4bf8..baaf28fd 100644 --- a/old_docs/API_docs_v55/constructors/botInfo.md +++ b/old_docs/API_docs_v55/constructors/botInfo.md @@ -26,6 +26,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/botInlineMediaResult.md b/old_docs/API_docs_v55/constructors/botInlineMediaResult.md index 147b4774..29854010 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v55/constructors/botInlineMediaResult.md @@ -30,6 +30,13 @@ description: botInlineMediaResult attributes, type and example $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v55/constructors/botInlineMessageMediaAuto.md index 694cf6ea..c652331d 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaAuto attributes, type and example $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v55/constructors/botInlineMessageMediaContact.md index f57e4752..5e57bf4f 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: botInlineMessageMediaContact attributes, type and example $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v55/constructors/botInlineMessageMediaGeo.md index 40ea4ca1..04a4abed 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaGeo attributes, type and example $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v55/constructors/botInlineMessageMediaVenue.md index 236f3cf1..6c08ee05 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: botInlineMessageMediaVenue attributes, type and example $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/botInlineMessageText.md b/old_docs/API_docs_v55/constructors/botInlineMessageText.md index 278fe01d..007acd3d 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageText.md @@ -27,6 +27,13 @@ description: botInlineMessageText attributes, type and example $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/botInlineResult.md b/old_docs/API_docs_v55/constructors/botInlineResult.md index 839edda1..57255b6c 100644 --- a/old_docs/API_docs_v55/constructors/botInlineResult.md +++ b/old_docs/API_docs_v55/constructors/botInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channel.md b/old_docs/API_docs_v55/constructors/channel.md index 1a1db52f..86740c87 100644 --- a/old_docs/API_docs_v55/constructors/channel.md +++ b/old_docs/API_docs_v55/constructors/channel.md @@ -43,6 +43,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","creator":"Bool","kicked":"Bool","left":"Bool","editor":"Bool","moderator":"Bool","broadcast":"Bool","verified":"Bool","megagroup":"Bool","restricted":"Bool","democracy":"Bool","signatures":"Bool","min":"Bool","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int","restriction_reason":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelForbidden.md b/old_docs/API_docs_v55/constructors/channelForbidden.md index 5522fd5c..3d3a3a69 100644 --- a/old_docs/API_docs_v55/constructors/channelForbidden.md +++ b/old_docs/API_docs_v55/constructors/channelForbidden.md @@ -28,6 +28,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelFull.md b/old_docs/API_docs_v55/constructors/channelFull.md index 2b3387b7..ea66e000 100644 --- a/old_docs/API_docs_v55/constructors/channelFull.md +++ b/old_docs/API_docs_v55/constructors/channelFull.md @@ -40,6 +40,13 @@ description: channelFull attributes, type and example $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, '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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","can_view_participants":"Bool","can_set_username":"Bool","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":["BotInfo"],"migrated_from_chat_id":"int","migrated_from_max_id":"int","pinned_msg_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelMessagesFilter.md b/old_docs/API_docs_v55/constructors/channelMessagesFilter.md index b8b7725b..677f7356 100644 --- a/old_docs/API_docs_v55/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v55/constructors/channelMessagesFilter.md @@ -25,6 +25,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v55/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v55/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v55/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelParticipant.md b/old_docs/API_docs_v55/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipant.md +++ b/old_docs/API_docs_v55/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelParticipantCreator.md b/old_docs/API_docs_v55/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelParticipantEditor.md b/old_docs/API_docs_v55/constructors/channelParticipantEditor.md index 3c866534..64f84b38 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantEditor.md @@ -26,6 +26,13 @@ description: channelParticipantEditor attributes, type and example $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelParticipantKicked.md b/old_docs/API_docs_v55/constructors/channelParticipantKicked.md index 362872f9..4aedad4d 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantKicked.md @@ -26,6 +26,13 @@ description: channelParticipantKicked attributes, type and example $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelParticipantModerator.md b/old_docs/API_docs_v55/constructors/channelParticipantModerator.md index ff9a7094..634f9de8 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantModerator.md @@ -26,6 +26,13 @@ description: channelParticipantModerator attributes, type and example $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelParticipantSelf.md b/old_docs/API_docs_v55/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v55/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelParticipantsBots.md b/old_docs/API_docs_v55/constructors/channelParticipantsBots.md index 24b68c95..963f155e 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantsBots.md @@ -19,6 +19,13 @@ description: channelParticipantsBots attributes, type and example $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBots"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v55/constructors/channelParticipantsKicked.md index d7889060..37714c3e 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantsKicked.md @@ -19,6 +19,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v55/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/old_docs/API_docs_v55/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v55/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelRoleEditor.md b/old_docs/API_docs_v55/constructors/channelRoleEditor.md index 103b7ae5..fea2e406 100644 --- a/old_docs/API_docs_v55/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v55/constructors/channelRoleEditor.md @@ -19,6 +19,13 @@ description: channelRoleEditor attributes, type and example $channelRoleEditor = ['_' => 'channelRoleEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEditor"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelRoleEmpty.md b/old_docs/API_docs_v55/constructors/channelRoleEmpty.md index b5a7b52c..932c9fb4 100644 --- a/old_docs/API_docs_v55/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v55/constructors/channelRoleEmpty.md @@ -19,6 +19,13 @@ description: channelRoleEmpty attributes, type and example $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channelRoleModerator.md b/old_docs/API_docs_v55/constructors/channelRoleModerator.md index f3aaff68..5d6a37d1 100644 --- a/old_docs/API_docs_v55/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v55/constructors/channelRoleModerator.md @@ -19,6 +19,13 @@ description: channelRoleModerator attributes, type and example $channelRoleModerator = ['_' => 'channelRoleModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleModerator"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channels_channelParticipant.md b/old_docs/API_docs_v55/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/old_docs/API_docs_v55/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v55/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/channels_channelParticipants.md b/old_docs/API_docs_v55/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/old_docs/API_docs_v55/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v55/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chat.md b/old_docs/API_docs_v55/constructors/chat.md index 9bad67b3..70955e06 100644 --- a/old_docs/API_docs_v55/constructors/chat.md +++ b/old_docs/API_docs_v55/constructors/chat.md @@ -36,6 +36,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatEmpty.md b/old_docs/API_docs_v55/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v55/constructors/chatEmpty.md +++ b/old_docs/API_docs_v55/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatForbidden.md b/old_docs/API_docs_v55/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/old_docs/API_docs_v55/constructors/chatForbidden.md +++ b/old_docs/API_docs_v55/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatFull.md b/old_docs/API_docs_v55/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v55/constructors/chatFull.md +++ b/old_docs/API_docs_v55/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatInvite.md b/old_docs/API_docs_v55/constructors/chatInvite.md index 7f23c6b9..b818ebc8 100644 --- a/old_docs/API_docs_v55/constructors/chatInvite.md +++ b/old_docs/API_docs_v55/constructors/chatInvite.md @@ -31,6 +31,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string","photo":"ChatPhoto","participants_count":"int","participants":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatInviteAlready.md b/old_docs/API_docs_v55/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v55/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v55/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatInviteEmpty.md b/old_docs/API_docs_v55/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v55/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v55/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatInviteExported.md b/old_docs/API_docs_v55/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v55/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v55/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatParticipant.md b/old_docs/API_docs_v55/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipant.md +++ b/old_docs/API_docs_v55/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v55/constructors/chatParticipantAdmin.md index 6740c4a3..775f29c7 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v55/constructors/chatParticipantAdmin.md @@ -26,6 +26,13 @@ description: chatParticipantAdmin attributes, type and example $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatParticipantCreator.md b/old_docs/API_docs_v55/constructors/chatParticipantCreator.md index b80542a7..687dd93f 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v55/constructors/chatParticipantCreator.md @@ -24,6 +24,13 @@ description: chatParticipantCreator attributes, type and example $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatParticipants.md b/old_docs/API_docs_v55/constructors/chatParticipants.md index 2420f15e..c1602888 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipants.md +++ b/old_docs/API_docs_v55/constructors/chatParticipants.md @@ -26,6 +26,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v55/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/old_docs/API_docs_v55/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v55/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatPhoto.md b/old_docs/API_docs_v55/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v55/constructors/chatPhoto.md +++ b/old_docs/API_docs_v55/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v55/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v55/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v55/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/config.md b/old_docs/API_docs_v55/constructors/config.md index dd6a653a..86416c97 100644 --- a/old_docs/API_docs_v55/constructors/config.md +++ b/old_docs/API_docs_v55/constructors/config.md @@ -46,6 +46,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contact.md b/old_docs/API_docs_v55/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v55/constructors/contact.md +++ b/old_docs/API_docs_v55/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contactBlocked.md b/old_docs/API_docs_v55/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v55/constructors/contactBlocked.md +++ b/old_docs/API_docs_v55/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contactLinkContact.md b/old_docs/API_docs_v55/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v55/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v55/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v55/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v55/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v55/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contactLinkNone.md b/old_docs/API_docs_v55/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v55/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v55/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contactLinkUnknown.md b/old_docs/API_docs_v55/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v55/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v55/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contactStatus.md b/old_docs/API_docs_v55/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v55/constructors/contactStatus.md +++ b/old_docs/API_docs_v55/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contacts_blocked.md b/old_docs/API_docs_v55/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v55/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v55/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v55/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v55/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v55/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contacts_contacts.md b/old_docs/API_docs_v55/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v55/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v55/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v55/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contacts_found.md b/old_docs/API_docs_v55/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/old_docs/API_docs_v55/constructors/contacts_found.md +++ b/old_docs/API_docs_v55/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contacts_importedContacts.md b/old_docs/API_docs_v55/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v55/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v55/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contacts_link.md b/old_docs/API_docs_v55/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v55/constructors/contacts_link.md +++ b/old_docs/API_docs_v55/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v55/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contacts_topPeers.md b/old_docs/API_docs_v55/constructors/contacts_topPeers.md index 0ef10578..d059cb80 100644 --- a/old_docs/API_docs_v55/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v55/constructors/contacts_topPeers.md @@ -26,6 +26,13 @@ description: contacts_topPeers attributes, type and example $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md index 9ab95116..ce380f72 100644 --- a/old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v55/constructors/contacts_topPeersNotModified.md @@ -19,6 +19,13 @@ description: contacts_topPeersNotModified attributes, type and example $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/dcOption.md b/old_docs/API_docs_v55/constructors/dcOption.md index c05fcca1..a44017bd 100644 --- a/old_docs/API_docs_v55/constructors/dcOption.md +++ b/old_docs/API_docs_v55/constructors/dcOption.md @@ -29,6 +29,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/dialog.md b/old_docs/API_docs_v55/constructors/dialog.md index 89193da9..de84b635 100644 --- a/old_docs/API_docs_v55/constructors/dialog.md +++ b/old_docs/API_docs_v55/constructors/dialog.md @@ -31,6 +31,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/disabledFeature.md b/old_docs/API_docs_v55/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v55/constructors/disabledFeature.md +++ b/old_docs/API_docs_v55/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/document.md b/old_docs/API_docs_v55/constructors/document.md index 5921896e..fdadf27d 100644 --- a/old_docs/API_docs_v55/constructors/document.md +++ b/old_docs/API_docs_v55/constructors/document.md @@ -32,6 +32,13 @@ 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' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","version":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v55/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/documentAttributeAudio.md b/old_docs/API_docs_v55/constructors/documentAttributeAudio.md index 83ba2eb9..74aa516d 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeAudio.md @@ -28,6 +28,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/documentAttributeFilename.md b/old_docs/API_docs_v55/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v55/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/documentAttributeSticker.md b/old_docs/API_docs_v55/constructors/documentAttributeSticker.md index 9f8168b1..3cb9fcd5 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeSticker.md @@ -25,6 +25,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","alt":"string","stickerset":"InputStickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/documentAttributeVideo.md b/old_docs/API_docs_v55/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/documentEmpty.md b/old_docs/API_docs_v55/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v55/constructors/documentEmpty.md +++ b/old_docs/API_docs_v55/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/draftMessage.md b/old_docs/API_docs_v55/constructors/draftMessage.md index 9cbeec53..57d7d5c9 100644 --- a/old_docs/API_docs_v55/constructors/draftMessage.md +++ b/old_docs/API_docs_v55/constructors/draftMessage.md @@ -28,6 +28,13 @@ description: draftMessage attributes, type and example $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/draftMessageEmpty.md b/old_docs/API_docs_v55/constructors/draftMessageEmpty.md index 0ddfc989..4a9098b7 100644 --- a/old_docs/API_docs_v55/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v55/constructors/draftMessageEmpty.md @@ -19,6 +19,13 @@ description: draftMessageEmpty attributes, type and example $draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessageEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/encryptedChat.md b/old_docs/API_docs_v55/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChat.md +++ b/old_docs/API_docs_v55/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v55/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v55/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v55/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v55/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/encryptedChatRequested.md b/old_docs/API_docs_v55/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v55/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v55/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v55/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v55/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/encryptedFile.md b/old_docs/API_docs_v55/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v55/constructors/encryptedFile.md +++ b/old_docs/API_docs_v55/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v55/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v55/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v55/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/encryptedMessage.md b/old_docs/API_docs_v55/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v55/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v55/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/encryptedMessageService.md b/old_docs/API_docs_v55/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v55/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v55/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/error.md b/old_docs/API_docs_v55/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v55/constructors/error.md +++ b/old_docs/API_docs_v55/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/exportedMessageLink.md b/old_docs/API_docs_v55/constructors/exportedMessageLink.md index d151e98e..b6f0c21f 100644 --- a/old_docs/API_docs_v55/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v55/constructors/exportedMessageLink.md @@ -24,6 +24,13 @@ description: exportedMessageLink attributes, type and example $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"exportedMessageLink","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/fileLocation.md b/old_docs/API_docs_v55/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v55/constructors/fileLocation.md +++ b/old_docs/API_docs_v55/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v55/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v55/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v55/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/foundGif.md b/old_docs/API_docs_v55/constructors/foundGif.md index e241eabe..99a0faa0 100644 --- a/old_docs/API_docs_v55/constructors/foundGif.md +++ b/old_docs/API_docs_v55/constructors/foundGif.md @@ -29,6 +29,13 @@ description: foundGif attributes, type and example $foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/foundGifCached.md b/old_docs/API_docs_v55/constructors/foundGifCached.md index f73c07df..a73fb47c 100644 --- a/old_docs/API_docs_v55/constructors/foundGifCached.md +++ b/old_docs/API_docs_v55/constructors/foundGifCached.md @@ -26,6 +26,13 @@ description: foundGifCached attributes, type and example $foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/geoPoint.md b/old_docs/API_docs_v55/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v55/constructors/geoPoint.md +++ b/old_docs/API_docs_v55/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/geoPointEmpty.md b/old_docs/API_docs_v55/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v55/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v55/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/help_appChangelog.md b/old_docs/API_docs_v55/constructors/help_appChangelog.md index 77c1c338..67e40e85 100644 --- a/old_docs/API_docs_v55/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v55/constructors/help_appChangelog.md @@ -24,6 +24,13 @@ description: help_appChangelog attributes, type and example $help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelog","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md index abbb4865..f6ab5ace 100644 --- a/old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v55/constructors/help_appChangelogEmpty.md @@ -19,6 +19,13 @@ description: help_appChangelogEmpty attributes, type and example $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelogEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/help_appUpdate.md b/old_docs/API_docs_v55/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v55/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v55/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/help_inviteText.md b/old_docs/API_docs_v55/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v55/constructors/help_inviteText.md +++ b/old_docs/API_docs_v55/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/help_noAppUpdate.md b/old_docs/API_docs_v55/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v55/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v55/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/help_support.md b/old_docs/API_docs_v55/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v55/constructors/help_support.md +++ b/old_docs/API_docs_v55/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/help_termsOfService.md b/old_docs/API_docs_v55/constructors/help_termsOfService.md index a945b971..6af3d9e5 100644 --- a/old_docs/API_docs_v55/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v55/constructors/help_termsOfService.md @@ -24,6 +24,13 @@ description: help_termsOfService attributes, type and example $help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.termsOfService","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/importedContact.md b/old_docs/API_docs_v55/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v55/constructors/importedContact.md +++ b/old_docs/API_docs_v55/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v55/constructors/inlineBotSwitchPM.md index 41ca65ac..86c0d9d4 100644 --- a/old_docs/API_docs_v55/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v55/constructors/inlineBotSwitchPM.md @@ -25,6 +25,13 @@ description: inlineBotSwitchPM attributes, type and example $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputAppEvent.md b/old_docs/API_docs_v55/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v55/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v55/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageID.md index 0d8d3f9e..757f7146 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageID.md @@ -26,6 +26,13 @@ description: inputBotInlineMessageID attributes, type and example $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaAuto.md index 75bb48f3..aa6b51df 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaContact.md index 754ce5ac..1bd6518f 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaGeo.md index 6eac346e..8c4f7ecc 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaVenue.md index ddb3c3fe..01e38309 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md index 77de3cf6..c785cbed 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageText attributes, type and example $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineResult.md b/old_docs/API_docs_v55/constructors/inputBotInlineResult.md index 9ff31ee5..ed68ad5c 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v55/constructors/inputBotInlineResultDocument.md index a5d9c466..15080274 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineResultDocument.md @@ -29,6 +29,13 @@ description: inputBotInlineResultDocument attributes, type and example $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v55/constructors/inputBotInlineResultPhoto.md index ca2c6b7a..bbc38a5a 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineResultPhoto.md @@ -27,6 +27,13 @@ description: inputBotInlineResultPhoto attributes, type and example $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputChannel.md b/old_docs/API_docs_v55/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/old_docs/API_docs_v55/constructors/inputChannel.md +++ b/old_docs/API_docs_v55/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputChannelEmpty.md b/old_docs/API_docs_v55/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/old_docs/API_docs_v55/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputChatPhoto.md b/old_docs/API_docs_v55/constructors/inputChatPhoto.md index 3b10c612..f37bd939 100644 --- a/old_docs/API_docs_v55/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputChatPhoto.md @@ -25,6 +25,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v55/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v55/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v55/constructors/inputChatUploadedPhoto.md index cf3493ae..27a1ce61 100644 --- a/old_docs/API_docs_v55/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputChatUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile","crop":"InputPhotoCrop"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputDocument.md b/old_docs/API_docs_v55/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v55/constructors/inputDocument.md +++ b/old_docs/API_docs_v55/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v55/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v55/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v55/constructors/inputDocumentFileLocation.md index 41e520bb..b13feb4a 100644 --- a/old_docs/API_docs_v55/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v55/constructors/inputDocumentFileLocation.md @@ -26,6 +26,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputEncryptedChat.md b/old_docs/API_docs_v55/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputEncryptedFile.md b/old_docs/API_docs_v55/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v55/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v55/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v55/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v55/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v55/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v55/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputFile.md b/old_docs/API_docs_v55/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v55/constructors/inputFile.md +++ b/old_docs/API_docs_v55/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputFileBig.md b/old_docs/API_docs_v55/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v55/constructors/inputFileBig.md +++ b/old_docs/API_docs_v55/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputFileLocation.md b/old_docs/API_docs_v55/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v55/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v55/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputGeoPoint.md b/old_docs/API_docs_v55/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v55/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v55/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v55/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v55/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMediaContact.md b/old_docs/API_docs_v55/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v55/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMediaDocument.md b/old_docs/API_docs_v55/constructors/inputMediaDocument.md index 1959cc4e..89ef5bdc 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v55/constructors/inputMediaDocument.md @@ -25,6 +25,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMediaEmpty.md b/old_docs/API_docs_v55/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v55/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v55/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v55/constructors/inputMediaGifExternal.md index af227d69..284e3cdd 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v55/constructors/inputMediaGifExternal.md @@ -25,6 +25,13 @@ description: inputMediaGifExternal attributes, type and example $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGifExternal","url":"string","q":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMediaPhoto.md b/old_docs/API_docs_v55/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v55/constructors/inputMediaUploadedDocument.md index 39526664..d7c6dee4 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v55/constructors/inputMediaUploadedDocument.md @@ -27,6 +27,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v55/constructors/inputMediaUploadedPhoto.md index 0c4c9135..923fd903 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputMediaUploadedPhoto.md @@ -25,6 +25,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v55/constructors/inputMediaUploadedThumbDocument.md index 6ad07130..8c1c9295 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v55/constructors/inputMediaUploadedThumbDocument.md @@ -28,6 +28,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMediaVenue.md b/old_docs/API_docs_v55/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v55/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v55/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v55/constructors/inputMessageEntityMentionName.md index ba7132d5..9465bf2b 100644 --- a/old_docs/API_docs_v55/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v55/constructors/inputMessageEntityMentionName.md @@ -26,6 +26,13 @@ description: inputMessageEntityMentionName attributes, type and example $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterChatPhotos.md index 06e4b6ed..7a78f5c4 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterChatPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterChatPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterGif.md index 02da8091..31be8767 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterGif.md @@ -19,6 +19,13 @@ description: inputMessagesFilterGif attributes, type and example $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterMusic.md index 2b211ca0..99111007 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterMusic.md @@ -19,6 +19,13 @@ description: inputMessagesFilterMusic attributes, type and example $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterMusic"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v55/constructors/inputMessagesFilterVoice.md index 1318e465..f111a3df 100644 --- a/old_docs/API_docs_v55/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v55/constructors/inputMessagesFilterVoice.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVoice attributes, type and example $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVoice"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputNotifyAll.md b/old_docs/API_docs_v55/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v55/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v55/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputNotifyChats.md b/old_docs/API_docs_v55/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v55/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v55/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputNotifyPeer.md b/old_docs/API_docs_v55/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v55/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v55/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputNotifyUsers.md b/old_docs/API_docs_v55/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v55/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v55/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPeerChannel.md b/old_docs/API_docs_v55/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v55/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPeerChat.md b/old_docs/API_docs_v55/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v55/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPeerEmpty.md b/old_docs/API_docs_v55/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md index d8db7388..6676a2f6 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPeerSelf.md b/old_docs/API_docs_v55/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v55/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPeerUser.md b/old_docs/API_docs_v55/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v55/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPhoneContact.md b/old_docs/API_docs_v55/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v55/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v55/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPhoto.md b/old_docs/API_docs_v55/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v55/constructors/inputPhoto.md +++ b/old_docs/API_docs_v55/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPhotoCrop.md b/old_docs/API_docs_v55/constructors/inputPhotoCrop.md index 6a26db80..a9202ca6 100644 --- a/old_docs/API_docs_v55/constructors/inputPhotoCrop.md +++ b/old_docs/API_docs_v55/constructors/inputPhotoCrop.md @@ -26,6 +26,13 @@ description: inputPhotoCrop attributes, type and example $inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCrop","crop_left":"double","crop_top":"double","crop_width":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPhotoCropAuto.md b/old_docs/API_docs_v55/constructors/inputPhotoCropAuto.md index ee52a460..b81ce17d 100644 --- a/old_docs/API_docs_v55/constructors/inputPhotoCropAuto.md +++ b/old_docs/API_docs_v55/constructors/inputPhotoCropAuto.md @@ -19,6 +19,13 @@ description: inputPhotoCropAuto attributes, type and example $inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoCropAuto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v55/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v55/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md index 43210930..293e876d 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputReportReasonOther.md b/old_docs/API_docs_v55/constructors/inputReportReasonOther.md index 547711c4..ffd351a0 100644 --- a/old_docs/API_docs_v55/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v55/constructors/inputReportReasonOther.md @@ -24,6 +24,13 @@ description: inputReportReasonOther attributes, type and example $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonOther","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v55/constructors/inputReportReasonPornography.md index f73c6f4d..866d691c 100644 --- a/old_docs/API_docs_v55/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v55/constructors/inputReportReasonPornography.md @@ -19,6 +19,13 @@ description: inputReportReasonPornography attributes, type and example $inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonPornography"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v55/constructors/inputReportReasonSpam.md index ea2a9257..4cf6f414 100644 --- a/old_docs/API_docs_v55/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v55/constructors/inputReportReasonSpam.md @@ -19,6 +19,13 @@ description: inputReportReasonSpam attributes, type and example $inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonSpam"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v55/constructors/inputReportReasonViolence.md index 18a2ba4c..f2046d6e 100644 --- a/old_docs/API_docs_v55/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v55/constructors/inputReportReasonViolence.md @@ -19,6 +19,13 @@ description: inputReportReasonViolence attributes, type and example $inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonViolence"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v55/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v55/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputStickerSetID.md b/old_docs/API_docs_v55/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v55/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v55/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v55/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v55/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v55/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputUser.md b/old_docs/API_docs_v55/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v55/constructors/inputUser.md +++ b/old_docs/API_docs_v55/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputUserEmpty.md b/old_docs/API_docs_v55/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v55/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v55/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/inputUserSelf.md b/old_docs/API_docs_v55/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v55/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v55/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/keyboardButton.md b/old_docs/API_docs_v55/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButton.md +++ b/old_docs/API_docs_v55/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v55/constructors/keyboardButtonCallback.md index 1fe8571c..27bc68b8 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonCallback.md @@ -25,6 +25,13 @@ description: keyboardButtonCallback attributes, type and example $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v55/constructors/keyboardButtonRequestGeoLocation.md index 05cfd3cb..38cdc756 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonRequestGeoLocation.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestGeoLocation","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v55/constructors/keyboardButtonRequestPhone.md index cbff4adb..9c76c330 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonRequestPhone.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestPhone attributes, type and example $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestPhone","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/keyboardButtonRow.md b/old_docs/API_docs_v55/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v55/constructors/keyboardButtonSwitchInline.md index 40ec1178..def12264 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonSwitchInline.md @@ -25,6 +25,13 @@ description: keyboardButtonSwitchInline attributes, type and example $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => string, 'query' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonSwitchInline","text":"string","query":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v55/constructors/keyboardButtonUrl.md index a6411824..bf60dc2a 100644 --- a/old_docs/API_docs_v55/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v55/constructors/keyboardButtonUrl.md @@ -25,6 +25,13 @@ description: keyboardButtonUrl attributes, type and example $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonUrl","text":"string","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/message.md b/old_docs/API_docs_v55/constructors/message.md index 135401c5..cce1fc65 100644 --- a/old_docs/API_docs_v55/constructors/message.md +++ b/old_docs/API_docs_v55/constructors/message.md @@ -41,6 +41,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, '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' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","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":["MessageEntity"],"views":"int","edit_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v55/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v55/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v55/constructors/messageActionChannelMigrateFrom.md index d15c0bf3..b63de131 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v55/constructors/messageActionChannelMigrateFrom.md @@ -25,6 +25,13 @@ description: messageActionChannelMigrateFrom attributes, type and example $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v55/constructors/messageActionChatAddUser.md index 135e16de..5edc7d3b 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageActionChatCreate.md b/old_docs/API_docs_v55/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v55/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v55/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v55/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v55/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v55/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v55/constructors/messageActionChatMigrateTo.md index fda20a24..7214d295 100644 --- a/old_docs/API_docs_v55/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v55/constructors/messageActionChatMigrateTo.md @@ -24,6 +24,13 @@ description: messageActionChatMigrateTo attributes, type and example $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageActionEmpty.md b/old_docs/API_docs_v55/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v55/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v55/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v55/constructors/messageActionHistoryClear.md index 02160753..d576d087 100644 --- a/old_docs/API_docs_v55/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v55/constructors/messageActionHistoryClear.md @@ -19,6 +19,13 @@ description: messageActionHistoryClear attributes, type and example $messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionHistoryClear"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageActionPinMessage.md b/old_docs/API_docs_v55/constructors/messageActionPinMessage.md index 05443bcc..c8595522 100644 --- a/old_docs/API_docs_v55/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v55/constructors/messageActionPinMessage.md @@ -19,6 +19,13 @@ description: messageActionPinMessage attributes, type and example $messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPinMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageEmpty.md b/old_docs/API_docs_v55/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v55/constructors/messageEmpty.md +++ b/old_docs/API_docs_v55/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageEntityBold.md b/old_docs/API_docs_v55/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v55/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v55/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v55/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageEntityCode.md b/old_docs/API_docs_v55/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v55/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageEntityEmail.md b/old_docs/API_docs_v55/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v55/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageEntityHashtag.md b/old_docs/API_docs_v55/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v55/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageEntityItalic.md b/old_docs/API_docs_v55/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v55/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageEntityMention.md b/old_docs/API_docs_v55/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v55/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageEntityMentionName.md b/old_docs/API_docs_v55/constructors/messageEntityMentionName.md index 7d3947db..2eb6439b 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v55/constructors/messageEntityMentionName.md @@ -26,6 +26,13 @@ description: messageEntityMentionName attributes, type and example $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageEntityPre.md b/old_docs/API_docs_v55/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v55/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v55/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v55/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageEntityUnknown.md b/old_docs/API_docs_v55/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v55/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageEntityUrl.md b/old_docs/API_docs_v55/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v55/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v55/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageFwdHeader.md b/old_docs/API_docs_v55/constructors/messageFwdHeader.md index 80baa30c..15b5b5f3 100644 --- a/old_docs/API_docs_v55/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v55/constructors/messageFwdHeader.md @@ -27,6 +27,13 @@ description: messageFwdHeader attributes, type and example $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageMediaContact.md b/old_docs/API_docs_v55/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v55/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageMediaDocument.md b/old_docs/API_docs_v55/constructors/messageMediaDocument.md index 66a67150..0fc6558b 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v55/constructors/messageMediaDocument.md @@ -25,6 +25,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageMediaEmpty.md b/old_docs/API_docs_v55/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v55/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageMediaGeo.md b/old_docs/API_docs_v55/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v55/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageMediaPhoto.md b/old_docs/API_docs_v55/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v55/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v55/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v55/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageMediaVenue.md b/old_docs/API_docs_v55/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v55/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageMediaWebPage.md b/old_docs/API_docs_v55/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v55/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v55/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageRange.md b/old_docs/API_docs_v55/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v55/constructors/messageRange.md +++ b/old_docs/API_docs_v55/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messageService.md b/old_docs/API_docs_v55/constructors/messageService.md index 2b2990c5..558cc6c9 100644 --- a/old_docs/API_docs_v55/constructors/messageService.md +++ b/old_docs/API_docs_v55/constructors/messageService.md @@ -34,6 +34,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","id":"int","from_id":"int","to_id":"Peer","reply_to_msg_id":"int","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_affectedHistory.md b/old_docs/API_docs_v55/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v55/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v55/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_affectedMessages.md b/old_docs/API_docs_v55/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v55/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v55/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_allStickers.md b/old_docs/API_docs_v55/constructors/messages_allStickers.md index 7a5fe6af..a16f30e8 100644 --- a/old_docs/API_docs_v55/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v55/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_archivedStickers.md b/old_docs/API_docs_v55/constructors/messages_archivedStickers.md index c04ebb81..7cc54d64 100644 --- a/old_docs/API_docs_v55/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v55/constructors/messages_archivedStickers.md @@ -25,6 +25,13 @@ description: messages_archivedStickers attributes, type and example $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.archivedStickers","count":"int","sets":["StickerSetCovered"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md index a14d3e57..5a897d6b 100644 --- a/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md @@ -26,6 +26,13 @@ description: messages_botCallbackAnswer attributes, type and example $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => string, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botCallbackAnswer","alert":"Bool","message":"string","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_botResults.md b/old_docs/API_docs_v55/constructors/messages_botResults.md index 10eb3db0..d552a4fe 100644 --- a/old_docs/API_docs_v55/constructors/messages_botResults.md +++ b/old_docs/API_docs_v55/constructors/messages_botResults.md @@ -28,6 +28,13 @@ description: messages_botResults attributes, type and example $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_channelMessages.md b/old_docs/API_docs_v55/constructors/messages_channelMessages.md index e1e8ab16..4c5e4839 100644 --- a/old_docs/API_docs_v55/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v55/constructors/messages_channelMessages.md @@ -28,6 +28,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_chatFull.md b/old_docs/API_docs_v55/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v55/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v55/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_chats.md b/old_docs/API_docs_v55/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v55/constructors/messages_chats.md +++ b/old_docs/API_docs_v55/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_dhConfig.md b/old_docs/API_docs_v55/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v55/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v55/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_dialogs.md b/old_docs/API_docs_v55/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v55/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v55/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v55/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v55/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v55/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_featuredStickers.md b/old_docs/API_docs_v55/constructors/messages_featuredStickers.md index c4884d2e..beae5c36 100644 --- a/old_docs/API_docs_v55/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v55/constructors/messages_featuredStickers.md @@ -26,6 +26,13 @@ description: messages_featuredStickers attributes, type and example $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.featuredStickers","hash":"int","sets":["StickerSetCovered"],"unread":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md index 45036248..033dd647 100644 --- a/old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_featuredStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_featuredStickersNotModified attributes, type and example $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.featuredStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_foundGifs.md b/old_docs/API_docs_v55/constructors/messages_foundGifs.md index 5db1a1db..7cf2eaac 100644 --- a/old_docs/API_docs_v55/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v55/constructors/messages_foundGifs.md @@ -25,6 +25,13 @@ description: messages_foundGifs attributes, type and example $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_messageEditData.md b/old_docs/API_docs_v55/constructors/messages_messageEditData.md index 84fede7d..f04529f4 100644 --- a/old_docs/API_docs_v55/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v55/constructors/messages_messageEditData.md @@ -24,6 +24,13 @@ description: messages_messageEditData attributes, type and example $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messageEditData","caption":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_messages.md b/old_docs/API_docs_v55/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v55/constructors/messages_messages.md +++ b/old_docs/API_docs_v55/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_messagesSlice.md b/old_docs/API_docs_v55/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v55/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v55/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_peerDialogs.md b/old_docs/API_docs_v55/constructors/messages_peerDialogs.md index 3f6ba7b2..ba596c19 100644 --- a/old_docs/API_docs_v55/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v55/constructors/messages_peerDialogs.md @@ -28,6 +28,13 @@ description: messages_peerDialogs attributes, type and example $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_recentStickers.md b/old_docs/API_docs_v55/constructors/messages_recentStickers.md index ec13359e..89cc7c7b 100644 --- a/old_docs/API_docs_v55/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v55/constructors/messages_recentStickers.md @@ -25,6 +25,13 @@ description: messages_recentStickers attributes, type and example $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.recentStickers","hash":"int","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md index fd4553c8..d4c2f39a 100644 --- a/old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_recentStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_recentStickersNotModified attributes, type and example $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.recentStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_savedGifs.md b/old_docs/API_docs_v55/constructors/messages_savedGifs.md index dfcab426..6077da46 100644 --- a/old_docs/API_docs_v55/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v55/constructors/messages_savedGifs.md @@ -25,6 +25,13 @@ description: messages_savedGifs attributes, type and example $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md index 78292bdb..6f35f43d 100644 --- a/old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_savedGifsNotModified.md @@ -19,6 +19,13 @@ description: messages_savedGifsNotModified attributes, type and example $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v55/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v55/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_stickerSet.md b/old_docs/API_docs_v55/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v55/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md index 92b2c31e..a56dbf2b 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md @@ -24,6 +24,13 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSetInstallResultArchive","sets":["StickerSetCovered"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md index c3d79b4f..269af099 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md @@ -19,6 +19,13 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSetInstallResultSuccess"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_stickers.md b/old_docs/API_docs_v55/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickers.md +++ b/old_docs/API_docs_v55/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v55/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v55/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v55/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/nearestDc.md b/old_docs/API_docs_v55/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v55/constructors/nearestDc.md +++ b/old_docs/API_docs_v55/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/notifyAll.md b/old_docs/API_docs_v55/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v55/constructors/notifyAll.md +++ b/old_docs/API_docs_v55/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/notifyChats.md b/old_docs/API_docs_v55/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v55/constructors/notifyChats.md +++ b/old_docs/API_docs_v55/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/notifyPeer.md b/old_docs/API_docs_v55/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v55/constructors/notifyPeer.md +++ b/old_docs/API_docs_v55/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/notifyUsers.md b/old_docs/API_docs_v55/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v55/constructors/notifyUsers.md +++ b/old_docs/API_docs_v55/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/peerChannel.md b/old_docs/API_docs_v55/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v55/constructors/peerChannel.md +++ b/old_docs/API_docs_v55/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/peerChat.md b/old_docs/API_docs_v55/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v55/constructors/peerChat.md +++ b/old_docs/API_docs_v55/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v55/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v55/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v55/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v55/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v55/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v55/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/peerNotifySettings.md b/old_docs/API_docs_v55/constructors/peerNotifySettings.md index 6c2d984e..fb5f90ac 100644 --- a/old_docs/API_docs_v55/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v55/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v55/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v55/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v55/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/peerSettings.md b/old_docs/API_docs_v55/constructors/peerSettings.md index 0169488e..1c888af9 100644 --- a/old_docs/API_docs_v55/constructors/peerSettings.md +++ b/old_docs/API_docs_v55/constructors/peerSettings.md @@ -24,6 +24,13 @@ description: peerSettings attributes, type and example $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerSettings","report_spam":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/peerUser.md b/old_docs/API_docs_v55/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v55/constructors/peerUser.md +++ b/old_docs/API_docs_v55/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/photo.md b/old_docs/API_docs_v55/constructors/photo.md index f9c9582a..2aaa4efd 100644 --- a/old_docs/API_docs_v55/constructors/photo.md +++ b/old_docs/API_docs_v55/constructors/photo.md @@ -27,6 +27,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/photoCachedSize.md b/old_docs/API_docs_v55/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v55/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v55/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/photoEmpty.md b/old_docs/API_docs_v55/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v55/constructors/photoEmpty.md +++ b/old_docs/API_docs_v55/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/photoSize.md b/old_docs/API_docs_v55/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v55/constructors/photoSize.md +++ b/old_docs/API_docs_v55/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/photoSizeEmpty.md b/old_docs/API_docs_v55/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v55/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v55/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/photos_photo.md b/old_docs/API_docs_v55/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v55/constructors/photos_photo.md +++ b/old_docs/API_docs_v55/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/photos_photos.md b/old_docs/API_docs_v55/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v55/constructors/photos_photos.md +++ b/old_docs/API_docs_v55/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/photos_photosSlice.md b/old_docs/API_docs_v55/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v55/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v55/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v55/constructors/privacyKeyChatInvite.md index ad4a35e7..88fbe9a6 100644 --- a/old_docs/API_docs_v55/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v55/constructors/privacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: privacyKeyChatInvite attributes, type and example $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v55/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v55/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v55/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v55/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v55/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v55/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v55/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v55/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v55/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v55/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v55/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v55/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v55/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v55/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v55/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v55/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v55/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v55/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v55/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/replyInlineMarkup.md b/old_docs/API_docs_v55/constructors/replyInlineMarkup.md index 4bc5d372..76e87dc2 100644 --- a/old_docs/API_docs_v55/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v55/constructors/replyInlineMarkup.md @@ -24,6 +24,13 @@ description: replyInlineMarkup attributes, type and example $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md index 4f319506..02a0779a 100644 --- a/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md @@ -25,6 +25,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/replyKeyboardHide.md b/old_docs/API_docs_v55/constructors/replyKeyboardHide.md index 56faa8dd..8b210933 100644 --- a/old_docs/API_docs_v55/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v55/constructors/replyKeyboardHide.md @@ -24,6 +24,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md index 3cebc41f..4269aeb9 100644 --- a/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md @@ -27,6 +27,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v55/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v55/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v55/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v55/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v55/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v55/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v55/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v55/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v55/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v55/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v55/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v55/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/stickerPack.md b/old_docs/API_docs_v55/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v55/constructors/stickerPack.md +++ b/old_docs/API_docs_v55/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/stickerSet.md b/old_docs/API_docs_v55/constructors/stickerSet.md index 13136aae..9a52fc91 100644 --- a/old_docs/API_docs_v55/constructors/stickerSet.md +++ b/old_docs/API_docs_v55/constructors/stickerSet.md @@ -32,6 +32,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","installed":"Bool","archived":"Bool","official":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/stickerSetCovered.md b/old_docs/API_docs_v55/constructors/stickerSetCovered.md index db800fff..3421f170 100644 --- a/old_docs/API_docs_v55/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v55/constructors/stickerSetCovered.md @@ -25,6 +25,13 @@ description: stickerSetCovered attributes, type and example $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSetCovered","set":"StickerSet","cover":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/storage_fileGif.md b/old_docs/API_docs_v55/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v55/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/storage_fileJpeg.md b/old_docs/API_docs_v55/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v55/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/storage_fileMov.md b/old_docs/API_docs_v55/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v55/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/storage_fileMp3.md b/old_docs/API_docs_v55/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v55/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/storage_fileMp4.md b/old_docs/API_docs_v55/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v55/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/storage_filePartial.md b/old_docs/API_docs_v55/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v55/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v55/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/storage_filePdf.md b/old_docs/API_docs_v55/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v55/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v55/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/storage_filePng.md b/old_docs/API_docs_v55/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v55/constructors/storage_filePng.md +++ b/old_docs/API_docs_v55/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/storage_fileUnknown.md b/old_docs/API_docs_v55/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v55/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/storage_fileWebp.md b/old_docs/API_docs_v55/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v55/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v55/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/topPeer.md b/old_docs/API_docs_v55/constructors/topPeer.md index 016a7857..25b4c2c3 100644 --- a/old_docs/API_docs_v55/constructors/topPeer.md +++ b/old_docs/API_docs_v55/constructors/topPeer.md @@ -25,6 +25,13 @@ description: topPeer attributes, type and example $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeer","peer":"Peer","rating":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v55/constructors/topPeerCategoryBotsInline.md index 30fa513f..e6dc94bf 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryBotsInline.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsInline attributes, type and example $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsInline"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v55/constructors/topPeerCategoryBotsPM.md index f87934ed..07fc07da 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryBotsPM.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsPM attributes, type and example $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsPM"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v55/constructors/topPeerCategoryChannels.md index 6b72af0a..61f1750a 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryChannels.md @@ -19,6 +19,13 @@ description: topPeerCategoryChannels attributes, type and example $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryChannels"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v55/constructors/topPeerCategoryCorrespondents.md index c45dee85..735ff49e 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryCorrespondents.md @@ -19,6 +19,13 @@ description: topPeerCategoryCorrespondents attributes, type and example $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryCorrespondents"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v55/constructors/topPeerCategoryGroups.md index 3f6c8fdf..4ae25a25 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryGroups.md @@ -19,6 +19,13 @@ description: topPeerCategoryGroups attributes, type and example $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryGroups"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v55/constructors/topPeerCategoryPeers.md index 8fd2021b..655db3fb 100644 --- a/old_docs/API_docs_v55/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v55/constructors/topPeerCategoryPeers.md @@ -26,6 +26,13 @@ description: topPeerCategoryPeers attributes, type and example $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/true.md b/old_docs/API_docs_v55/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v55/constructors/true.md +++ b/old_docs/API_docs_v55/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v55/constructors/updateBotCallbackQuery.md index 2e890863..3c72736d 100644 --- a/old_docs/API_docs_v55/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v55/constructors/updateBotCallbackQuery.md @@ -28,6 +28,13 @@ description: updateBotCallbackQuery attributes, type and example $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v55/constructors/updateBotInlineQuery.md index 5cc6956a..9002aa9b 100644 --- a/old_docs/API_docs_v55/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v55/constructors/updateBotInlineQuery.md @@ -28,6 +28,13 @@ description: updateBotInlineQuery attributes, type and example $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateBotInlineSend.md b/old_docs/API_docs_v55/constructors/updateBotInlineSend.md index fb062eb3..816f950f 100644 --- a/old_docs/API_docs_v55/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v55/constructors/updateBotInlineSend.md @@ -28,6 +28,13 @@ description: updateBotInlineSend attributes, type and example $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateChannel.md b/old_docs/API_docs_v55/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/old_docs/API_docs_v55/constructors/updateChannel.md +++ b/old_docs/API_docs_v55/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v55/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/old_docs/API_docs_v55/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v55/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v55/constructors/updateChannelPinnedMessage.md index f6179fd7..cbdc70c7 100644 --- a/old_docs/API_docs_v55/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v55/constructors/updateChannelPinnedMessage.md @@ -25,6 +25,13 @@ description: updateChannelPinnedMessage attributes, type and example $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateChannelTooLong.md b/old_docs/API_docs_v55/constructors/updateChannelTooLong.md index c6a74206..f0a327af 100644 --- a/old_docs/API_docs_v55/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v55/constructors/updateChannelTooLong.md @@ -25,6 +25,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateChatAdmins.md b/old_docs/API_docs_v55/constructors/updateChatAdmins.md index 36fb3614..bf391961 100644 --- a/old_docs/API_docs_v55/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v55/constructors/updateChatAdmins.md @@ -26,6 +26,13 @@ description: updateChatAdmins attributes, type and example $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v55/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/old_docs/API_docs_v55/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v55/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v55/constructors/updateChatParticipantAdmin.md index fbb2cdae..ba5bbc95 100644 --- a/old_docs/API_docs_v55/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v55/constructors/updateChatParticipantAdmin.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdmin attributes, type and example $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v55/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v55/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v55/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateChatParticipants.md b/old_docs/API_docs_v55/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v55/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v55/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateChatUserTyping.md b/old_docs/API_docs_v55/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v55/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v55/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateContactLink.md b/old_docs/API_docs_v55/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v55/constructors/updateContactLink.md +++ b/old_docs/API_docs_v55/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateContactRegistered.md b/old_docs/API_docs_v55/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v55/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v55/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateDcOptions.md b/old_docs/API_docs_v55/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v55/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v55/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v55/constructors/updateDeleteChannelMessages.md index 6f8c20d5..a078a880 100644 --- a/old_docs/API_docs_v55/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v55/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateDeleteMessages.md b/old_docs/API_docs_v55/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v55/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v55/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateDraftMessage.md b/old_docs/API_docs_v55/constructors/updateDraftMessage.md index 3eb98097..5dedfd93 100644 --- a/old_docs/API_docs_v55/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v55/constructors/updateDraftMessage.md @@ -25,6 +25,13 @@ description: updateDraftMessage attributes, type and example $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v55/constructors/updateEditChannelMessage.md index 65a44b23..f2d2b288 100644 --- a/old_docs/API_docs_v55/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v55/constructors/updateEditChannelMessage.md @@ -26,6 +26,13 @@ description: updateEditChannelMessage attributes, type and example $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateEditMessage.md b/old_docs/API_docs_v55/constructors/updateEditMessage.md index 7b681445..3e2f86a3 100644 --- a/old_docs/API_docs_v55/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v55/constructors/updateEditMessage.md @@ -26,6 +26,13 @@ description: updateEditMessage attributes, type and example $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v55/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v55/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v55/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v55/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v55/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v55/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateEncryption.md b/old_docs/API_docs_v55/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v55/constructors/updateEncryption.md +++ b/old_docs/API_docs_v55/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v55/constructors/updateInlineBotCallbackQuery.md index ff99c35f..da31cfe1 100644 --- a/old_docs/API_docs_v55/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v55/constructors/updateInlineBotCallbackQuery.md @@ -27,6 +27,13 @@ description: updateInlineBotCallbackQuery attributes, type and example $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateMessageID.md b/old_docs/API_docs_v55/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v55/constructors/updateMessageID.md +++ b/old_docs/API_docs_v55/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateNewAuthorization.md b/old_docs/API_docs_v55/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v55/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v55/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v55/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/old_docs/API_docs_v55/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v55/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v55/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v55/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v55/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateNewMessage.md b/old_docs/API_docs_v55/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v55/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v55/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateNewStickerSet.md b/old_docs/API_docs_v55/constructors/updateNewStickerSet.md index ccb4f17f..919c3ad8 100644 --- a/old_docs/API_docs_v55/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v55/constructors/updateNewStickerSet.md @@ -24,6 +24,13 @@ description: updateNewStickerSet attributes, type and example $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateNotifySettings.md b/old_docs/API_docs_v55/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v55/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v55/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updatePrivacy.md b/old_docs/API_docs_v55/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v55/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v55/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v55/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/old_docs/API_docs_v55/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v55/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v55/constructors/updateReadChannelOutbox.md index 162db1ec..5e1ce23d 100644 --- a/old_docs/API_docs_v55/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v55/constructors/updateReadChannelOutbox.md @@ -25,6 +25,13 @@ description: updateReadChannelOutbox attributes, type and example $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v55/constructors/updateReadFeaturedStickers.md index 2f548027..7b10baa4 100644 --- a/old_docs/API_docs_v55/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v55/constructors/updateReadFeaturedStickers.md @@ -19,6 +19,13 @@ description: updateReadFeaturedStickers attributes, type and example $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadFeaturedStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v55/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v55/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v55/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v55/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v55/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v55/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v55/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v55/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v55/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateRecentStickers.md b/old_docs/API_docs_v55/constructors/updateRecentStickers.md index b773f5bd..4ac9a838 100644 --- a/old_docs/API_docs_v55/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v55/constructors/updateRecentStickers.md @@ -19,6 +19,13 @@ description: updateRecentStickers attributes, type and example $updateRecentStickers = ['_' => 'updateRecentStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateRecentStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateSavedGifs.md b/old_docs/API_docs_v55/constructors/updateSavedGifs.md index a52b7838..46dfb8a6 100644 --- a/old_docs/API_docs_v55/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v55/constructors/updateSavedGifs.md @@ -19,6 +19,13 @@ description: updateSavedGifs attributes, type and example $updateSavedGifs = ['_' => 'updateSavedGifs', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateSavedGifs"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateServiceNotification.md b/old_docs/API_docs_v55/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v55/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v55/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateShort.md b/old_docs/API_docs_v55/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v55/constructors/updateShort.md +++ b/old_docs/API_docs_v55/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateShortChatMessage.md b/old_docs/API_docs_v55/constructors/updateShortChatMessage.md index 5bd6de08..ea43359c 100644 --- a/old_docs/API_docs_v55/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v55/constructors/updateShortChatMessage.md @@ -38,6 +38,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateShortMessage.md b/old_docs/API_docs_v55/constructors/updateShortMessage.md index 0c46fb50..1a9f106f 100644 --- a/old_docs/API_docs_v55/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v55/constructors/updateShortMessage.md @@ -37,6 +37,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateShortSentMessage.md b/old_docs/API_docs_v55/constructors/updateShortSentMessage.md index 2172b3a1..d67179f2 100644 --- a/old_docs/API_docs_v55/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v55/constructors/updateShortSentMessage.md @@ -30,6 +30,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateStickerSets.md b/old_docs/API_docs_v55/constructors/updateStickerSets.md index 0affa36f..69c53b51 100644 --- a/old_docs/API_docs_v55/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v55/constructors/updateStickerSets.md @@ -19,6 +19,13 @@ description: updateStickerSets attributes, type and example $updateStickerSets = ['_' => 'updateStickerSets', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSets"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v55/constructors/updateStickerSetsOrder.md index ee954112..950fdb48 100644 --- a/old_docs/API_docs_v55/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v55/constructors/updateStickerSetsOrder.md @@ -24,6 +24,13 @@ description: updateStickerSetsOrder attributes, type and example $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSetsOrder","order":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateUserBlocked.md b/old_docs/API_docs_v55/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v55/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v55/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateUserName.md b/old_docs/API_docs_v55/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v55/constructors/updateUserName.md +++ b/old_docs/API_docs_v55/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateUserPhone.md b/old_docs/API_docs_v55/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v55/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v55/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateUserPhoto.md b/old_docs/API_docs_v55/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v55/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v55/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateUserStatus.md b/old_docs/API_docs_v55/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v55/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v55/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateUserTyping.md b/old_docs/API_docs_v55/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v55/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v55/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updateWebPage.md b/old_docs/API_docs_v55/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/old_docs/API_docs_v55/constructors/updateWebPage.md +++ b/old_docs/API_docs_v55/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updates.md b/old_docs/API_docs_v55/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v55/constructors/updates.md +++ b/old_docs/API_docs_v55/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updatesCombined.md b/old_docs/API_docs_v55/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v55/constructors/updatesCombined.md +++ b/old_docs/API_docs_v55/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updatesTooLong.md b/old_docs/API_docs_v55/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v55/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v55/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updates_channelDifference.md b/old_docs/API_docs_v55/constructors/updates_channelDifference.md index c64c69b6..876e8d13 100644 --- a/old_docs/API_docs_v55/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v55/constructors/updates_channelDifference.md @@ -30,6 +30,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md index 6e4d7bde..c596d24a 100644 --- a/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md @@ -26,6 +26,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md index 0e295673..464117f9 100644 --- a/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md @@ -33,6 +33,13 @@ description: updates_channelDifferenceTooLong attributes, type and example $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceTooLong","final":"Bool","pts":"int","timeout":"int","top_message":"int","read_inbox_max_id":"int","read_outbox_max_id":"int","unread_count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updates_difference.md b/old_docs/API_docs_v55/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v55/constructors/updates_difference.md +++ b/old_docs/API_docs_v55/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v55/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v55/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v55/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updates_differenceSlice.md b/old_docs/API_docs_v55/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v55/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v55/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/updates_state.md b/old_docs/API_docs_v55/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v55/constructors/updates_state.md +++ b/old_docs/API_docs_v55/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/upload_file.md b/old_docs/API_docs_v55/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v55/constructors/upload_file.md +++ b/old_docs/API_docs_v55/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/user.md b/old_docs/API_docs_v55/constructors/user.md index 900236af..a0f86878 100644 --- a/old_docs/API_docs_v55/constructors/user.md +++ b/old_docs/API_docs_v55/constructors/user.md @@ -45,6 +45,13 @@ description: user attributes, type and example $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, '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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","self":"Bool","contact":"Bool","mutual_contact":"Bool","deleted":"Bool","bot":"Bool","bot_chat_history":"Bool","bot_nochats":"Bool","verified":"Bool","restricted":"Bool","min":"Bool","bot_inline_geo":"Bool","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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/userEmpty.md b/old_docs/API_docs_v55/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v55/constructors/userEmpty.md +++ b/old_docs/API_docs_v55/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/userFull.md b/old_docs/API_docs_v55/constructors/userFull.md index 4b9a2346..da08e19b 100644 --- a/old_docs/API_docs_v55/constructors/userFull.md +++ b/old_docs/API_docs_v55/constructors/userFull.md @@ -30,6 +30,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","blocked":"Bool","user":"User","about":"string","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","bot_info":"BotInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/userProfilePhoto.md b/old_docs/API_docs_v55/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v55/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v55/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v55/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v55/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v55/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/userStatusEmpty.md b/old_docs/API_docs_v55/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v55/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v55/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/userStatusLastMonth.md b/old_docs/API_docs_v55/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v55/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v55/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/userStatusLastWeek.md b/old_docs/API_docs_v55/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v55/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v55/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/userStatusOffline.md b/old_docs/API_docs_v55/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v55/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v55/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/userStatusOnline.md b/old_docs/API_docs_v55/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v55/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v55/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/userStatusRecently.md b/old_docs/API_docs_v55/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v55/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v55/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/vector.md b/old_docs/API_docs_v55/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v55/constructors/vector.md +++ b/old_docs/API_docs_v55/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/wallPaper.md b/old_docs/API_docs_v55/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v55/constructors/wallPaper.md +++ b/old_docs/API_docs_v55/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/wallPaperSolid.md b/old_docs/API_docs_v55/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v55/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v55/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/webPage.md b/old_docs/API_docs_v55/constructors/webPage.md index 7c0a432f..b4dd86ee 100644 --- a/old_docs/API_docs_v55/constructors/webPage.md +++ b/old_docs/API_docs_v55/constructors/webPage.md @@ -38,6 +38,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/webPageEmpty.md b/old_docs/API_docs_v55/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v55/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v55/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/constructors/webPagePending.md b/old_docs/API_docs_v55/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v55/constructors/webPagePending.md +++ b/old_docs/API_docs_v55/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/account_changePhone.md b/old_docs/API_docs_v55/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v55/methods/account_changePhone.md +++ b/old_docs/API_docs_v55/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_checkUsername.md b/old_docs/API_docs_v55/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v55/methods/account_checkUsername.md +++ b/old_docs/API_docs_v55/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_confirmPhone.md b/old_docs/API_docs_v55/methods/account_confirmPhone.md index 0b8437dd..6ce6e811 100644 --- a/old_docs/API_docs_v55/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v55/methods/account_confirmPhone.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.confirmPhone +* params - {"phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.confirmPhone` + +Parameters: + +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_deleteAccount.md b/old_docs/API_docs_v55/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v55/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v55/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_getAccountTTL.md b/old_docs/API_docs_v55/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v55/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v55/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/account_getAuthorizations.md b/old_docs/API_docs_v55/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v55/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v55/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/account_getNotifySettings.md b/old_docs/API_docs_v55/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v55/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_getPassword.md b/old_docs/API_docs_v55/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v55/methods/account_getPassword.md +++ b/old_docs/API_docs_v55/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/account_getPasswordSettings.md b/old_docs/API_docs_v55/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v55/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v55/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_getPrivacy.md b/old_docs/API_docs_v55/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v55/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v55/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_getWallPapers.md b/old_docs/API_docs_v55/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v55/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v55/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/account_registerDevice.md b/old_docs/API_docs_v55/methods/account_registerDevice.md index 07381be6..fa4aae85 100644 --- a/old_docs/API_docs_v55/methods/account_registerDevice.md +++ b/old_docs/API_docs_v55/methods/account_registerDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_reportPeer.md b/old_docs/API_docs_v55/methods/account_reportPeer.md index 019e88a5..08c8d0d5 100644 --- a/old_docs/API_docs_v55/methods/account_reportPeer.md +++ b/old_docs/API_docs_v55/methods/account_reportPeer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.reportPeer +* params - {"peer":"InputPeer","reason":"ReportReason"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.reportPeer` + +Parameters: + +peer - Json encoded InputPeer +reason - Json encoded ReportReason + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_resetAuthorization.md b/old_docs/API_docs_v55/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v55/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v55/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_resetNotifySettings.md b/old_docs/API_docs_v55/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v55/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md index 83cfe3e2..1c4c0ca7 100644 --- a/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v55/methods/account_sendChangePhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md index 8d28787e..4b4b6655 100644 --- a/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v55/methods/account_sendConfirmPhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendConfirmPhoneCode +* params - {"allow_flashcall":"Bool","hash":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendConfirmPhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +hash - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_setAccountTTL.md b/old_docs/API_docs_v55/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v55/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v55/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_setPrivacy.md b/old_docs/API_docs_v55/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v55/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v55/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_unregisterDevice.md b/old_docs/API_docs_v55/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v55/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v55/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v55/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_updateNotifySettings.md b/old_docs/API_docs_v55/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v55/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v55/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v55/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_updateProfile.md b/old_docs/API_docs_v55/methods/account_updateProfile.md index e12a2f1c..10ab8f0c 100644 --- a/old_docs/API_docs_v55/methods/account_updateProfile.md +++ b/old_docs/API_docs_v55/methods/account_updateProfile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_updateStatus.md b/old_docs/API_docs_v55/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v55/methods/account_updateStatus.md +++ b/old_docs/API_docs_v55/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/account_updateUsername.md b/old_docs/API_docs_v55/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v55/methods/account_updateUsername.md +++ b/old_docs/API_docs_v55/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v55/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/auth_cancelCode.md b/old_docs/API_docs_v55/methods/auth_cancelCode.md index 73a8c55b..05aae0cf 100644 --- a/old_docs/API_docs_v55/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v55/methods/auth_cancelCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.cancelCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.cancelCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/auth_checkPassword.md b/old_docs/API_docs_v55/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v55/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v55/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/auth_checkPhone.md b/old_docs/API_docs_v55/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v55/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v55/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/auth_exportAuthorization.md b/old_docs/API_docs_v55/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v55/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/auth_importAuthorization.md b/old_docs/API_docs_v55/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v55/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v55/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/auth_logOut.md b/old_docs/API_docs_v55/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v55/methods/auth_logOut.md +++ b/old_docs/API_docs_v55/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/auth_recoverPassword.md b/old_docs/API_docs_v55/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v55/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v55/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v55/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/auth_resendCode.md b/old_docs/API_docs_v55/methods/auth_resendCode.md index 6ba623cf..aaea73a0 100644 --- a/old_docs/API_docs_v55/methods/auth_resendCode.md +++ b/old_docs/API_docs_v55/methods/auth_resendCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resendCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resendCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v55/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/auth_sendCode.md b/old_docs/API_docs_v55/methods/auth_sendCode.md index 423da558..c6e4d8aa 100644 --- a/old_docs/API_docs_v55/methods/auth_sendCode.md +++ b/old_docs/API_docs_v55/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool +api_id - Json encoded int +api_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/auth_sendInvites.md b/old_docs/API_docs_v55/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v55/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v55/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/auth_signIn.md b/old_docs/API_docs_v55/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v55/methods/auth_signIn.md +++ b/old_docs/API_docs_v55/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/auth_signUp.md b/old_docs/API_docs_v55/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v55/methods/auth_signUp.md +++ b/old_docs/API_docs_v55/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_checkUsername.md b/old_docs/API_docs_v55/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/old_docs/API_docs_v55/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v55/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_createChannel.md b/old_docs/API_docs_v55/methods/channels_createChannel.md index a4819767..853ca900 100644 --- a/old_docs/API_docs_v55/methods/channels_createChannel.md +++ b/old_docs/API_docs_v55/methods/channels_createChannel.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +broadcast - Json encoded Bool +megagroup - Json encoded Bool +title - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_deleteChannel.md b/old_docs/API_docs_v55/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v55/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_deleteMessages.md b/old_docs/API_docs_v55/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v55/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v55/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_editAbout.md b/old_docs/API_docs_v55/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/old_docs/API_docs_v55/methods/channels_editAbout.md +++ b/old_docs/API_docs_v55/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_editAdmin.md b/old_docs/API_docs_v55/methods/channels_editAdmin.md index 4596e082..729d5e28 100644 --- a/old_docs/API_docs_v55/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v55/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +role - Json encoded ChannelParticipantRole + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_editPhoto.md b/old_docs/API_docs_v55/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/old_docs/API_docs_v55/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v55/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_editTitle.md b/old_docs/API_docs_v55/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/old_docs/API_docs_v55/methods/channels_editTitle.md +++ b/old_docs/API_docs_v55/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_exportInvite.md b/old_docs/API_docs_v55/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/old_docs/API_docs_v55/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v55/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_exportMessageLink.md b/old_docs/API_docs_v55/methods/channels_exportMessageLink.md index 644c5b1a..4d5ba2df 100644 --- a/old_docs/API_docs_v55/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v55/methods/channels_exportMessageLink.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportMessageLink +* params - {"channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportMessageLink` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_getChannels.md b/old_docs/API_docs_v55/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/old_docs/API_docs_v55/methods/channels_getChannels.md +++ b/old_docs/API_docs_v55/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_getFullChannel.md b/old_docs/API_docs_v55/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/old_docs/API_docs_v55/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v55/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_getMessages.md b/old_docs/API_docs_v55/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/old_docs/API_docs_v55/methods/channels_getMessages.md +++ b/old_docs/API_docs_v55/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_getParticipant.md b/old_docs/API_docs_v55/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_getParticipants.md b/old_docs/API_docs_v55/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/old_docs/API_docs_v55/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v55/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_inviteToChannel.md b/old_docs/API_docs_v55/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/old_docs/API_docs_v55/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v55/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_joinChannel.md b/old_docs/API_docs_v55/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/old_docs/API_docs_v55/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v55/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_kickFromChannel.md b/old_docs/API_docs_v55/methods/channels_kickFromChannel.md index 1dc6b4b7..5e91bc24 100644 --- a/old_docs/API_docs_v55/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v55/methods/channels_kickFromChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.kickFromChannel +* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.kickFromChannel` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +kicked - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_leaveChannel.md b/old_docs/API_docs_v55/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/old_docs/API_docs_v55/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v55/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_readHistory.md b/old_docs/API_docs_v55/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/old_docs/API_docs_v55/methods/channels_readHistory.md +++ b/old_docs/API_docs_v55/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_reportSpam.md b/old_docs/API_docs_v55/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/old_docs/API_docs_v55/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v55/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_toggleInvites.md b/old_docs/API_docs_v55/methods/channels_toggleInvites.md index f537ada8..86569f90 100644 --- a/old_docs/API_docs_v55/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v55/methods/channels_toggleInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleInvites +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleInvites` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_toggleSignatures.md b/old_docs/API_docs_v55/methods/channels_toggleSignatures.md index 327795f4..ea833e9a 100644 --- a/old_docs/API_docs_v55/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v55/methods/channels_toggleSignatures.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleSignatures +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleSignatures` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md index 97327889..0fd2da72 100644 --- a/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v55/methods/channels_updatePinnedMessage.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updatePinnedMessage +* params - {"silent":"Bool","channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updatePinnedMessage` + +Parameters: + +silent - Json encoded Bool +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/channels_updateUsername.md b/old_docs/API_docs_v55/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/old_docs/API_docs_v55/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v55/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/contacts_block.md b/old_docs/API_docs_v55/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v55/methods/contacts_block.md +++ b/old_docs/API_docs_v55/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/contacts_deleteContact.md b/old_docs/API_docs_v55/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v55/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v55/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/contacts_deleteContacts.md b/old_docs/API_docs_v55/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v55/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/contacts_exportCard.md b/old_docs/API_docs_v55/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v55/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v55/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/contacts_getBlocked.md b/old_docs/API_docs_v55/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v55/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v55/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/contacts_getContacts.md b/old_docs/API_docs_v55/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v55/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/contacts_getStatuses.md b/old_docs/API_docs_v55/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v55/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v55/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/contacts_getTopPeers.md b/old_docs/API_docs_v55/methods/contacts_getTopPeers.md index 0c8813ff..293a3541 100644 --- a/old_docs/API_docs_v55/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v55/methods/contacts_getTopPeers.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getTopPeers +* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getTopPeers` + +Parameters: + +correspondents - Json encoded Bool +bots_pm - Json encoded Bool +bots_inline - Json encoded Bool +groups - Json encoded Bool +channels - Json encoded Bool +offset - Json encoded int +limit - Json encoded int +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/contacts_importCard.md b/old_docs/API_docs_v55/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v55/methods/contacts_importCard.md +++ b/old_docs/API_docs_v55/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/contacts_importContacts.md b/old_docs/API_docs_v55/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v55/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v55/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md index 6d2b6397..adb3f83a 100644 --- a/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v55/methods/contacts_resetTopPeerRating.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resetTopPeerRating +* params - {"category":"TopPeerCategory","peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resetTopPeerRating` + +Parameters: + +category - Json encoded TopPeerCategory +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/contacts_resolveUsername.md b/old_docs/API_docs_v55/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/old_docs/API_docs_v55/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v55/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/contacts_search.md b/old_docs/API_docs_v55/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v55/methods/contacts_search.md +++ b/old_docs/API_docs_v55/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/contacts_unblock.md b/old_docs/API_docs_v55/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v55/methods/contacts_unblock.md +++ b/old_docs/API_docs_v55/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/help_getAppChangelog.md b/old_docs/API_docs_v55/methods/help_getAppChangelog.md index 4dbf6812..e88c66bd 100644 --- a/old_docs/API_docs_v55/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v55/methods/help_getAppChangelog.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_AppChangelog = $MadelineProto->help->getAppChangelog(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/help_getAppUpdate.md b/old_docs/API_docs_v55/methods/help_getAppUpdate.md index 8870072b..851fc06e 100644 --- a/old_docs/API_docs_v55/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v55/methods/help_getAppUpdate.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_AppUpdate = $MadelineProto->help->getAppUpdate(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/help_getConfig.md b/old_docs/API_docs_v55/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v55/methods/help_getConfig.md +++ b/old_docs/API_docs_v55/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/help_getInviteText.md b/old_docs/API_docs_v55/methods/help_getInviteText.md index 19fd0484..77e3acd1 100644 --- a/old_docs/API_docs_v55/methods/help_getInviteText.md +++ b/old_docs/API_docs_v55/methods/help_getInviteText.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_InviteText = $MadelineProto->help->getInviteText(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/help_getNearestDc.md b/old_docs/API_docs_v55/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v55/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v55/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/help_getSupport.md b/old_docs/API_docs_v55/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v55/methods/help_getSupport.md +++ b/old_docs/API_docs_v55/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/help_getTermsOfService.md b/old_docs/API_docs_v55/methods/help_getTermsOfService.md index e53dba71..14f1a976 100644 --- a/old_docs/API_docs_v55/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v55/methods/help_getTermsOfService.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_TermsOfService = $MadelineProto->help->getTermsOfService(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getTermsOfService +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getTermsOfService` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/help_saveAppLog.md b/old_docs/API_docs_v55/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v55/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v55/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/initConnection.md b/old_docs/API_docs_v55/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v55/methods/initConnection.md +++ b/old_docs/API_docs_v55/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/invokeAfterMsg.md b/old_docs/API_docs_v55/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v55/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v55/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/invokeAfterMsgs.md b/old_docs/API_docs_v55/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v55/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v55/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/invokeWithLayer.md b/old_docs/API_docs_v55/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v55/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v55/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v55/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_acceptEncryption.md b/old_docs/API_docs_v55/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v55/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v55/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_addChatUser.md b/old_docs/API_docs_v55/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v55/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v55/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_checkChatInvite.md b/old_docs/API_docs_v55/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v55/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md index 3f63679a..a8da1edf 100644 --- a/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v55/methods/messages_clearRecentStickers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->messages->clearRecentStickers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.clearRecentStickers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.clearRecentStickers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/messages_createChat.md b/old_docs/API_docs_v55/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v55/methods/messages_createChat.md +++ b/old_docs/API_docs_v55/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_deleteChatUser.md b/old_docs/API_docs_v55/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v55/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_deleteHistory.md b/old_docs/API_docs_v55/methods/messages_deleteHistory.md index 4a3c7e3f..4e5321c6 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v55/methods/messages_deleteHistory.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +just_clear - Json encoded Bool +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_deleteMessages.md b/old_docs/API_docs_v55/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v55/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v55/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_discardEncryption.md b/old_docs/API_docs_v55/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v55/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v55/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_editChatAdmin.md b/old_docs/API_docs_v55/methods/messages_editChatAdmin.md index 515c2ede..2ad6d72c 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v55/methods/messages_editChatAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatAdmin +* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +is_admin - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_editChatPhoto.md b/old_docs/API_docs_v55/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v55/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_editChatTitle.md b/old_docs/API_docs_v55/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v55/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v55/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md index 19405712..4daa439f 100644 --- a/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editInlineBotMessage.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editInlineBotMessage +* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editInlineBotMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_editMessage.md b/old_docs/API_docs_v55/methods/messages_editMessage.md index 05410c5d..d405e718 100644 --- a/old_docs/API_docs_v55/methods/messages_editMessage.md +++ b/old_docs/API_docs_v55/methods/messages_editMessage.md @@ -42,6 +42,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editMessage +* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_exportChatInvite.md b/old_docs/API_docs_v55/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v55/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_forwardMessage.md b/old_docs/API_docs_v55/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v55/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v55/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_forwardMessages.md b/old_docs/API_docs_v55/methods/messages_forwardMessages.md index a4e2329a..f7ae9a13 100644 --- a/old_docs/API_docs_v55/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v55/methods/messages_forwardMessages.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"silent":"Bool","background":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getAllDrafts.md b/old_docs/API_docs_v55/methods/messages_getAllDrafts.md index 97807321..6039321d 100644 --- a/old_docs/API_docs_v55/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v55/methods/messages_getAllDrafts.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Updates = $MadelineProto->messages->getAllDrafts(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllDrafts +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllDrafts` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/messages_getAllStickers.md b/old_docs/API_docs_v55/methods/messages_getAllStickers.md index bc49bdd6..b2f1eb71 100644 --- a/old_docs/API_docs_v55/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md index 0033dca2..2ed93956 100644 --- a/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getArchivedStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['offset_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getArchivedStickers +* params - {"offset_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getArchivedStickers` + +Parameters: + +offset_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md index 6bab943c..0efcfbba 100644 --- a/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v55/methods/messages_getBotCallbackAnswer.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getBotCallbackAnswer +* params - {"peer":"InputPeer","msg_id":"int","data":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getBotCallbackAnswer` + +Parameters: + +peer - Json encoded InputPeer +msg_id - Json encoded int +data - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getChats.md b/old_docs/API_docs_v55/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v55/methods/messages_getChats.md +++ b/old_docs/API_docs_v55/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getDhConfig.md b/old_docs/API_docs_v55/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v55/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v55/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getDialogs.md b/old_docs/API_docs_v55/methods/messages_getDialogs.md index 61fa3149..a0884730 100644 --- a/old_docs/API_docs_v55/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v55/methods/messages_getDialogs.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset_date - Json encoded int +offset_id - Json encoded int +offset_peer - Json encoded InputPeer +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md index 2daac691..ca541c7e 100644 --- a/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v55/methods/messages_getDocumentByHash.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDocumentByHash +* params - {"sha256":"bytes","size":"int","mime_type":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDocumentByHash` + +Parameters: + +sha256 - Json encoded bytes +size - Json encoded int +mime_type - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md index 5c51f4be..3bab2043 100644 --- a/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getFeaturedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFeaturedStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFeaturedStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getFullChat.md b/old_docs/API_docs_v55/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v55/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v55/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getHistory.md b/old_docs/API_docs_v55/methods/messages_getHistory.md index 9d54dd86..b976c6d5 100644 --- a/old_docs/API_docs_v55/methods/messages_getHistory.md +++ b/old_docs/API_docs_v55/methods/messages_getHistory.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +offset_date - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md index 0ad9e385..d3959eab 100644 --- a/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v55/methods/messages_getInlineBotResults.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineBotResults +* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineBotResults` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +geo_point - Json encoded InputGeoPoint +query - Json encoded string +offset - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getMessageEditData.md b/old_docs/API_docs_v55/methods/messages_getMessageEditData.md index eb2ea4e3..732fdff5 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v55/methods/messages_getMessageEditData.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessageEditData +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessageEditData` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getMessages.md b/old_docs/API_docs_v55/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessages.md +++ b/old_docs/API_docs_v55/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getMessagesViews.md b/old_docs/API_docs_v55/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/old_docs/API_docs_v55/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v55/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md index af44c1dd..bd191681 100644 --- a/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v55/methods/messages_getPeerDialogs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerDialogs +* params - {"peers":["InputPeer"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerDialogs` + +Parameters: + +peers - Json encoded array of InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getPeerSettings.md b/old_docs/API_docs_v55/methods/messages_getPeerSettings.md index 9a8817c0..b78406e9 100644 --- a/old_docs/API_docs_v55/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v55/methods/messages_getPeerSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerSettings +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerSettings` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getRecentStickers.md b/old_docs/API_docs_v55/methods/messages_getRecentStickers.md index 5bef5bc5..874fbeea 100644 --- a/old_docs/API_docs_v55/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getRecentStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getRecentStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getRecentStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getSavedGifs.md b/old_docs/API_docs_v55/methods/messages_getSavedGifs.md index c528873b..a7a0cbd2 100644 --- a/old_docs/API_docs_v55/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v55/methods/messages_getSavedGifs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getSavedGifs +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getSavedGifs` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getStickerSet.md b/old_docs/API_docs_v55/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v55/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getStickers.md b/old_docs/API_docs_v55/methods/messages_getStickers.md index 8179eff2..8a84f177 100644 --- a/old_docs/API_docs_v55/methods/messages_getStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickers +* params - {"emoticon":"string","hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickers` + +Parameters: + +emoticon - Json encoded string +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md b/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md index 972e8da7..b4292882 100644 --- a/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_getUnusedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_StickerSetCovered = $MadelineProto->messages->getUnusedStickers(['limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getUnusedStickers +* params - {"limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getUnusedStickers` + +Parameters: + +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v55/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_hideReportSpam.md b/old_docs/API_docs_v55/methods/messages_hideReportSpam.md index dbf882ee..9ddaa09c 100644 --- a/old_docs/API_docs_v55/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v55/methods/messages_hideReportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.hideReportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.hideReportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_importChatInvite.md b/old_docs/API_docs_v55/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v55/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v55/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_installStickerSet.md b/old_docs/API_docs_v55/methods/messages_installStickerSet.md index ad734572..6d1e701b 100644 --- a/old_docs/API_docs_v55/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","archived":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +archived - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_migrateChat.md b/old_docs/API_docs_v55/methods/messages_migrateChat.md index eaa988a7..1d8e1ca5 100644 --- a/old_docs/API_docs_v55/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v55/methods/messages_migrateChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.migrateChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.migrateChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v55/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md index 5dd4a75a..6caf9285 100644 --- a/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v55/methods/messages_readFeaturedStickers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->messages->readFeaturedStickers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readFeaturedStickers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readFeaturedStickers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/messages_readHistory.md b/old_docs/API_docs_v55/methods/messages_readHistory.md index c5ddb451..99ce0e57 100644 --- a/old_docs/API_docs_v55/methods/messages_readHistory.md +++ b/old_docs/API_docs_v55/methods/messages_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_readMessageContents.md b/old_docs/API_docs_v55/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v55/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v55/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_receivedMessages.md b/old_docs/API_docs_v55/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v55/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v55/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_receivedQueue.md b/old_docs/API_docs_v55/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v55/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v55/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md index eda07dd9..3187ba89 100644 --- a/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v55/methods/messages_reorderStickerSets.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderStickerSets +* params - {"order":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderStickerSets` + +Parameters: + +order - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_reportSpam.md b/old_docs/API_docs_v55/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v55/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v55/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_requestEncryption.md b/old_docs/API_docs_v55/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v55/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v55/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_saveDraft.md b/old_docs/API_docs_v55/methods/messages_saveDraft.md index c28f8fd9..f683ea04 100644 --- a/old_docs/API_docs_v55/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v55/methods/messages_saveDraft.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveDraft +* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveDraft` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_saveGif.md b/old_docs/API_docs_v55/methods/messages_saveGif.md index 6a2269b5..c6a5e7ba 100644 --- a/old_docs/API_docs_v55/methods/messages_saveGif.md +++ b/old_docs/API_docs_v55/methods/messages_saveGif.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveGif +* params - {"id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveGif` + +Parameters: + +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md index f17984c7..709a772e 100644 --- a/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v55/methods/messages_saveRecentSticker.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveRecentSticker(['id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveRecentSticker +* params - {"id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveRecentSticker` + +Parameters: + +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_search.md b/old_docs/API_docs_v55/methods/messages_search.md index d53456d0..a0485ebe 100644 --- a/old_docs/API_docs_v55/methods/messages_search.md +++ b/old_docs/API_docs_v55/methods/messages_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_searchGifs.md b/old_docs/API_docs_v55/methods/messages_searchGifs.md index ca0934be..24658214 100644 --- a/old_docs/API_docs_v55/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v55/methods/messages_searchGifs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGifs +* params - {"q":"string","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGifs` + +Parameters: + +q - Json encoded string +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_searchGlobal.md b/old_docs/API_docs_v55/methods/messages_searchGlobal.md index 36f09366..0095015c 100644 --- a/old_docs/API_docs_v55/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v55/methods/messages_searchGlobal.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGlobal +* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGlobal` + +Parameters: + +q - Json encoded string +offset_date - Json encoded int +offset_peer - Json encoded InputPeer +offset_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendBroadcast.md b/old_docs/API_docs_v55/methods/messages_sendBroadcast.md index d4af6317..81e9c7b8 100644 --- a/old_docs/API_docs_v55/methods/messages_sendBroadcast.md +++ b/old_docs/API_docs_v55/methods/messages_sendBroadcast.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendBroadcast +* params - {"contacts":["InputUser"],"message":"string","media":"InputMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendBroadcast` + +Parameters: + +contacts - Json encoded array of InputUser +message - Json encoded string +media - Json encoded InputMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendEncrypted.md b/old_docs/API_docs_v55/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v55/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md index 42eee3c3..c747e54b 100644 --- a/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v55/methods/messages_sendInlineBotResult.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendInlineBotResult +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendInlineBotResult` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +query_id - Json encoded long +id - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendMedia.md b/old_docs/API_docs_v55/methods/messages_sendMedia.md index 4f763d5e..05464ad5 100644 --- a/old_docs/API_docs_v55/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v55/methods/messages_sendMedia.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_sendMessage.md b/old_docs/API_docs_v55/methods/messages_sendMessage.md index b31fc6cc..6cc234c3 100644 --- a/old_docs/API_docs_v55/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v55/methods/messages_sendMessage.md @@ -45,6 +45,30 @@ if (isset($number)) { // Login as a user $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], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"no_webpage":"Bool","silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md index 2c0579db..e4483ee2 100644 --- a/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v55/methods/messages_setBotCallbackAnswer.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotCallbackAnswer +* params - {"alert":"Bool","query_id":"long","message":"string","url":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotCallbackAnswer` + +Parameters: + +alert - Json encoded Bool +query_id - Json encoded long +message - Json encoded string +url - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v55/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md index 0ef74b32..5a2b1da0 100644 --- a/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v55/methods/messages_setInlineBotResults.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineBotResults +* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineBotResults` + +Parameters: + +gallery - Json encoded Bool +private - Json encoded Bool +query_id - Json encoded long +results - Json encoded array of InputBotInlineResult +cache_time - Json encoded int +next_offset - Json encoded string +switch_pm - Json encoded InlineBotSwitchPM + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_setTyping.md b/old_docs/API_docs_v55/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v55/methods/messages_setTyping.md +++ b/old_docs/API_docs_v55/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_startBot.md b/old_docs/API_docs_v55/methods/messages_startBot.md index 58aadfab..93229d34 100644 --- a/old_docs/API_docs_v55/methods/messages_startBot.md +++ b/old_docs/API_docs_v55/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md index ec1809f3..2edb160a 100644 --- a/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v55/methods/messages_toggleChatAdmins.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleChatAdmins +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleChatAdmins` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v55/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/photos_deletePhotos.md b/old_docs/API_docs_v55/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v55/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v55/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/photos_getUserPhotos.md b/old_docs/API_docs_v55/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v55/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v55/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md index 0e118b52..b6eff60b 100644 --- a/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v55/methods/photos_updateProfilePhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md index 597f61c6..6fc5b87e 100644 --- a/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v55/methods/photos_uploadProfilePhoto.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile","caption":"string","geo_point":"InputGeoPoint","crop":"InputPhotoCrop"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile +caption - Json encoded string +geo_point - Json encoded InputGeoPoint +crop - Json encoded InputPhotoCrop + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/updates_getChannelDifference.md b/old_docs/API_docs_v55/methods/updates_getChannelDifference.md index 6fe9722a..d2aedcea 100644 --- a/old_docs/API_docs_v55/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v55/methods/updates_getChannelDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/updates_getDifference.md b/old_docs/API_docs_v55/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v55/methods/updates_getDifference.md +++ b/old_docs/API_docs_v55/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/updates_getState.md b/old_docs/API_docs_v55/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v55/methods/updates_getState.md +++ b/old_docs/API_docs_v55/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v55/methods/upload_getFile.md b/old_docs/API_docs_v55/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v55/methods/upload_getFile.md +++ b/old_docs/API_docs_v55/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v55/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/upload_saveFilePart.md b/old_docs/API_docs_v55/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v55/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v55/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/users_getFullUser.md b/old_docs/API_docs_v55/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v55/methods/users_getFullUser.md +++ b/old_docs/API_docs_v55/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v55/methods/users_getUsers.md b/old_docs/API_docs_v55/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v55/methods/users_getUsers.md +++ b/old_docs/API_docs_v55/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/constructors/accountDaysTTL.md b/old_docs/API_docs_v57/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v57/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v57/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/account_authorizations.md b/old_docs/API_docs_v57/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v57/constructors/account_authorizations.md +++ b/old_docs/API_docs_v57/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/account_noPassword.md b/old_docs/API_docs_v57/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v57/constructors/account_noPassword.md +++ b/old_docs/API_docs_v57/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/account_password.md b/old_docs/API_docs_v57/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v57/constructors/account_password.md +++ b/old_docs/API_docs_v57/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v57/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v57/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v57/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/account_passwordSettings.md b/old_docs/API_docs_v57/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v57/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v57/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/account_privacyRules.md b/old_docs/API_docs_v57/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v57/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v57/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/auth_authorization.md b/old_docs/API_docs_v57/constructors/auth_authorization.md index a162abcd..b59d5d96 100644 --- a/old_docs/API_docs_v57/constructors/auth_authorization.md +++ b/old_docs/API_docs_v57/constructors/auth_authorization.md @@ -25,6 +25,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","tmp_sessions":"int","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/auth_checkedPhone.md b/old_docs/API_docs_v57/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v57/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v57/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v57/constructors/auth_codeTypeCall.md index 6ac151ad..714eb23c 100644 --- a/old_docs/API_docs_v57/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v57/constructors/auth_codeTypeCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeCall attributes, type and example $auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md index a8c2bc05..c535eccf 100644 --- a/old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v57/constructors/auth_codeTypeFlashCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeFlashCall attributes, type and example $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeFlashCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v57/constructors/auth_codeTypeSms.md index aa7eccac..cbeb31cb 100644 --- a/old_docs/API_docs_v57/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v57/constructors/auth_codeTypeSms.md @@ -19,6 +19,13 @@ description: auth_codeTypeSms attributes, type and example $auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeSms"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v57/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v57/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v57/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v57/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/auth_sentCode.md b/old_docs/API_docs_v57/constructors/auth_sentCode.md index f3ac1809..51e2d458 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCode.md @@ -28,6 +28,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md index 84d05955..2456a284 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeApp.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeApp attributes, type and example $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeApp","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md index 889cec01..39745809 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeCall attributes, type and example $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeCall","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md index f5ec0920..2ba727ec 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeFlashCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md index 5c4075c1..4a350ff6 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCodeTypeSms.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeSms attributes, type and example $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeSms","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/authorization.md b/old_docs/API_docs_v57/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v57/constructors/authorization.md +++ b/old_docs/API_docs_v57/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/botCommand.md b/old_docs/API_docs_v57/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v57/constructors/botCommand.md +++ b/old_docs/API_docs_v57/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/botInfo.md b/old_docs/API_docs_v57/constructors/botInfo.md index 0fce4bf8..baaf28fd 100644 --- a/old_docs/API_docs_v57/constructors/botInfo.md +++ b/old_docs/API_docs_v57/constructors/botInfo.md @@ -26,6 +26,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/botInlineMediaResult.md b/old_docs/API_docs_v57/constructors/botInlineMediaResult.md index 147b4774..29854010 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v57/constructors/botInlineMediaResult.md @@ -30,6 +30,13 @@ description: botInlineMediaResult attributes, type and example $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v57/constructors/botInlineMessageMediaAuto.md index 694cf6ea..c652331d 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaAuto attributes, type and example $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v57/constructors/botInlineMessageMediaContact.md index f57e4752..5e57bf4f 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: botInlineMessageMediaContact attributes, type and example $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v57/constructors/botInlineMessageMediaGeo.md index 40ea4ca1..04a4abed 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaGeo attributes, type and example $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v57/constructors/botInlineMessageMediaVenue.md index 236f3cf1..6c08ee05 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: botInlineMessageMediaVenue attributes, type and example $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/botInlineMessageText.md b/old_docs/API_docs_v57/constructors/botInlineMessageText.md index 278fe01d..007acd3d 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageText.md @@ -27,6 +27,13 @@ description: botInlineMessageText attributes, type and example $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/botInlineResult.md b/old_docs/API_docs_v57/constructors/botInlineResult.md index 839edda1..57255b6c 100644 --- a/old_docs/API_docs_v57/constructors/botInlineResult.md +++ b/old_docs/API_docs_v57/constructors/botInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channel.md b/old_docs/API_docs_v57/constructors/channel.md index 1a1db52f..86740c87 100644 --- a/old_docs/API_docs_v57/constructors/channel.md +++ b/old_docs/API_docs_v57/constructors/channel.md @@ -43,6 +43,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","creator":"Bool","kicked":"Bool","left":"Bool","editor":"Bool","moderator":"Bool","broadcast":"Bool","verified":"Bool","megagroup":"Bool","restricted":"Bool","democracy":"Bool","signatures":"Bool","min":"Bool","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int","restriction_reason":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelForbidden.md b/old_docs/API_docs_v57/constructors/channelForbidden.md index 5522fd5c..3d3a3a69 100644 --- a/old_docs/API_docs_v57/constructors/channelForbidden.md +++ b/old_docs/API_docs_v57/constructors/channelForbidden.md @@ -28,6 +28,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelFull.md b/old_docs/API_docs_v57/constructors/channelFull.md index 2b3387b7..ea66e000 100644 --- a/old_docs/API_docs_v57/constructors/channelFull.md +++ b/old_docs/API_docs_v57/constructors/channelFull.md @@ -40,6 +40,13 @@ description: channelFull attributes, type and example $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, '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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","can_view_participants":"Bool","can_set_username":"Bool","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":["BotInfo"],"migrated_from_chat_id":"int","migrated_from_max_id":"int","pinned_msg_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelMessagesFilter.md b/old_docs/API_docs_v57/constructors/channelMessagesFilter.md index b8b7725b..677f7356 100644 --- a/old_docs/API_docs_v57/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v57/constructors/channelMessagesFilter.md @@ -25,6 +25,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v57/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v57/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v57/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelParticipant.md b/old_docs/API_docs_v57/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipant.md +++ b/old_docs/API_docs_v57/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelParticipantCreator.md b/old_docs/API_docs_v57/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelParticipantEditor.md b/old_docs/API_docs_v57/constructors/channelParticipantEditor.md index 3c866534..64f84b38 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantEditor.md @@ -26,6 +26,13 @@ description: channelParticipantEditor attributes, type and example $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelParticipantKicked.md b/old_docs/API_docs_v57/constructors/channelParticipantKicked.md index 362872f9..4aedad4d 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantKicked.md @@ -26,6 +26,13 @@ description: channelParticipantKicked attributes, type and example $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelParticipantModerator.md b/old_docs/API_docs_v57/constructors/channelParticipantModerator.md index ff9a7094..634f9de8 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantModerator.md @@ -26,6 +26,13 @@ description: channelParticipantModerator attributes, type and example $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelParticipantSelf.md b/old_docs/API_docs_v57/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v57/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelParticipantsBots.md b/old_docs/API_docs_v57/constructors/channelParticipantsBots.md index 24b68c95..963f155e 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantsBots.md @@ -19,6 +19,13 @@ description: channelParticipantsBots attributes, type and example $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBots"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v57/constructors/channelParticipantsKicked.md index d7889060..37714c3e 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantsKicked.md @@ -19,6 +19,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v57/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/old_docs/API_docs_v57/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v57/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelRoleEditor.md b/old_docs/API_docs_v57/constructors/channelRoleEditor.md index 103b7ae5..fea2e406 100644 --- a/old_docs/API_docs_v57/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v57/constructors/channelRoleEditor.md @@ -19,6 +19,13 @@ description: channelRoleEditor attributes, type and example $channelRoleEditor = ['_' => 'channelRoleEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEditor"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelRoleEmpty.md b/old_docs/API_docs_v57/constructors/channelRoleEmpty.md index b5a7b52c..932c9fb4 100644 --- a/old_docs/API_docs_v57/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v57/constructors/channelRoleEmpty.md @@ -19,6 +19,13 @@ description: channelRoleEmpty attributes, type and example $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channelRoleModerator.md b/old_docs/API_docs_v57/constructors/channelRoleModerator.md index f3aaff68..5d6a37d1 100644 --- a/old_docs/API_docs_v57/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v57/constructors/channelRoleModerator.md @@ -19,6 +19,13 @@ description: channelRoleModerator attributes, type and example $channelRoleModerator = ['_' => 'channelRoleModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleModerator"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channels_channelParticipant.md b/old_docs/API_docs_v57/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/old_docs/API_docs_v57/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v57/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/channels_channelParticipants.md b/old_docs/API_docs_v57/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/old_docs/API_docs_v57/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v57/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chat.md b/old_docs/API_docs_v57/constructors/chat.md index 9bad67b3..70955e06 100644 --- a/old_docs/API_docs_v57/constructors/chat.md +++ b/old_docs/API_docs_v57/constructors/chat.md @@ -36,6 +36,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatEmpty.md b/old_docs/API_docs_v57/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v57/constructors/chatEmpty.md +++ b/old_docs/API_docs_v57/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatForbidden.md b/old_docs/API_docs_v57/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/old_docs/API_docs_v57/constructors/chatForbidden.md +++ b/old_docs/API_docs_v57/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatFull.md b/old_docs/API_docs_v57/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v57/constructors/chatFull.md +++ b/old_docs/API_docs_v57/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatInvite.md b/old_docs/API_docs_v57/constructors/chatInvite.md index 7f23c6b9..b818ebc8 100644 --- a/old_docs/API_docs_v57/constructors/chatInvite.md +++ b/old_docs/API_docs_v57/constructors/chatInvite.md @@ -31,6 +31,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string","photo":"ChatPhoto","participants_count":"int","participants":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatInviteAlready.md b/old_docs/API_docs_v57/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v57/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v57/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatInviteEmpty.md b/old_docs/API_docs_v57/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v57/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v57/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatInviteExported.md b/old_docs/API_docs_v57/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v57/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v57/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatParticipant.md b/old_docs/API_docs_v57/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipant.md +++ b/old_docs/API_docs_v57/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v57/constructors/chatParticipantAdmin.md index 6740c4a3..775f29c7 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v57/constructors/chatParticipantAdmin.md @@ -26,6 +26,13 @@ description: chatParticipantAdmin attributes, type and example $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatParticipantCreator.md b/old_docs/API_docs_v57/constructors/chatParticipantCreator.md index b80542a7..687dd93f 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v57/constructors/chatParticipantCreator.md @@ -24,6 +24,13 @@ description: chatParticipantCreator attributes, type and example $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatParticipants.md b/old_docs/API_docs_v57/constructors/chatParticipants.md index 2420f15e..c1602888 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipants.md +++ b/old_docs/API_docs_v57/constructors/chatParticipants.md @@ -26,6 +26,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v57/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/old_docs/API_docs_v57/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v57/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatPhoto.md b/old_docs/API_docs_v57/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v57/constructors/chatPhoto.md +++ b/old_docs/API_docs_v57/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v57/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v57/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v57/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/config.md b/old_docs/API_docs_v57/constructors/config.md index dd6a653a..86416c97 100644 --- a/old_docs/API_docs_v57/constructors/config.md +++ b/old_docs/API_docs_v57/constructors/config.md @@ -46,6 +46,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contact.md b/old_docs/API_docs_v57/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v57/constructors/contact.md +++ b/old_docs/API_docs_v57/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contactBlocked.md b/old_docs/API_docs_v57/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v57/constructors/contactBlocked.md +++ b/old_docs/API_docs_v57/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contactLinkContact.md b/old_docs/API_docs_v57/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v57/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v57/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v57/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v57/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v57/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contactLinkNone.md b/old_docs/API_docs_v57/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v57/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v57/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contactLinkUnknown.md b/old_docs/API_docs_v57/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v57/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v57/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contactStatus.md b/old_docs/API_docs_v57/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v57/constructors/contactStatus.md +++ b/old_docs/API_docs_v57/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contacts_blocked.md b/old_docs/API_docs_v57/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v57/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v57/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v57/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v57/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v57/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contacts_contacts.md b/old_docs/API_docs_v57/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v57/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v57/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v57/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contacts_found.md b/old_docs/API_docs_v57/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/old_docs/API_docs_v57/constructors/contacts_found.md +++ b/old_docs/API_docs_v57/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contacts_importedContacts.md b/old_docs/API_docs_v57/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v57/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v57/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contacts_link.md b/old_docs/API_docs_v57/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v57/constructors/contacts_link.md +++ b/old_docs/API_docs_v57/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v57/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contacts_topPeers.md b/old_docs/API_docs_v57/constructors/contacts_topPeers.md index 0ef10578..d059cb80 100644 --- a/old_docs/API_docs_v57/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v57/constructors/contacts_topPeers.md @@ -26,6 +26,13 @@ description: contacts_topPeers attributes, type and example $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md index 9ab95116..ce380f72 100644 --- a/old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v57/constructors/contacts_topPeersNotModified.md @@ -19,6 +19,13 @@ description: contacts_topPeersNotModified attributes, type and example $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/dcOption.md b/old_docs/API_docs_v57/constructors/dcOption.md index c05fcca1..a44017bd 100644 --- a/old_docs/API_docs_v57/constructors/dcOption.md +++ b/old_docs/API_docs_v57/constructors/dcOption.md @@ -29,6 +29,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/dialog.md b/old_docs/API_docs_v57/constructors/dialog.md index 89193da9..de84b635 100644 --- a/old_docs/API_docs_v57/constructors/dialog.md +++ b/old_docs/API_docs_v57/constructors/dialog.md @@ -31,6 +31,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/disabledFeature.md b/old_docs/API_docs_v57/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v57/constructors/disabledFeature.md +++ b/old_docs/API_docs_v57/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/document.md b/old_docs/API_docs_v57/constructors/document.md index 5921896e..fdadf27d 100644 --- a/old_docs/API_docs_v57/constructors/document.md +++ b/old_docs/API_docs_v57/constructors/document.md @@ -32,6 +32,13 @@ 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' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","version":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v57/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/documentAttributeAudio.md b/old_docs/API_docs_v57/constructors/documentAttributeAudio.md index 83ba2eb9..74aa516d 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeAudio.md @@ -28,6 +28,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/documentAttributeFilename.md b/old_docs/API_docs_v57/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v57/constructors/documentAttributeHasStickers.md index 5345d27d..b09f783d 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeHasStickers.md @@ -19,6 +19,13 @@ description: documentAttributeHasStickers attributes, type and example $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeHasStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v57/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/documentAttributeSticker.md b/old_docs/API_docs_v57/constructors/documentAttributeSticker.md index 746b6fd0..77b8f437 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeSticker.md @@ -27,6 +27,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","mask":"Bool","alt":"string","stickerset":"InputStickerSet","mask_coords":"MaskCoords"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/documentAttributeVideo.md b/old_docs/API_docs_v57/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/documentEmpty.md b/old_docs/API_docs_v57/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v57/constructors/documentEmpty.md +++ b/old_docs/API_docs_v57/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/draftMessage.md b/old_docs/API_docs_v57/constructors/draftMessage.md index 9cbeec53..57d7d5c9 100644 --- a/old_docs/API_docs_v57/constructors/draftMessage.md +++ b/old_docs/API_docs_v57/constructors/draftMessage.md @@ -28,6 +28,13 @@ description: draftMessage attributes, type and example $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/draftMessageEmpty.md b/old_docs/API_docs_v57/constructors/draftMessageEmpty.md index 0ddfc989..4a9098b7 100644 --- a/old_docs/API_docs_v57/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v57/constructors/draftMessageEmpty.md @@ -19,6 +19,13 @@ description: draftMessageEmpty attributes, type and example $draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessageEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/encryptedChat.md b/old_docs/API_docs_v57/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChat.md +++ b/old_docs/API_docs_v57/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v57/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v57/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v57/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v57/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/encryptedChatRequested.md b/old_docs/API_docs_v57/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v57/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v57/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v57/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v57/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/encryptedFile.md b/old_docs/API_docs_v57/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v57/constructors/encryptedFile.md +++ b/old_docs/API_docs_v57/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v57/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v57/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v57/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/encryptedMessage.md b/old_docs/API_docs_v57/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v57/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v57/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/encryptedMessageService.md b/old_docs/API_docs_v57/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v57/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v57/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/error.md b/old_docs/API_docs_v57/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v57/constructors/error.md +++ b/old_docs/API_docs_v57/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/exportedMessageLink.md b/old_docs/API_docs_v57/constructors/exportedMessageLink.md index d151e98e..b6f0c21f 100644 --- a/old_docs/API_docs_v57/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v57/constructors/exportedMessageLink.md @@ -24,6 +24,13 @@ description: exportedMessageLink attributes, type and example $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"exportedMessageLink","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/fileLocation.md b/old_docs/API_docs_v57/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v57/constructors/fileLocation.md +++ b/old_docs/API_docs_v57/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v57/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v57/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v57/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/foundGif.md b/old_docs/API_docs_v57/constructors/foundGif.md index e241eabe..99a0faa0 100644 --- a/old_docs/API_docs_v57/constructors/foundGif.md +++ b/old_docs/API_docs_v57/constructors/foundGif.md @@ -29,6 +29,13 @@ description: foundGif attributes, type and example $foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/foundGifCached.md b/old_docs/API_docs_v57/constructors/foundGifCached.md index f73c07df..a73fb47c 100644 --- a/old_docs/API_docs_v57/constructors/foundGifCached.md +++ b/old_docs/API_docs_v57/constructors/foundGifCached.md @@ -26,6 +26,13 @@ description: foundGifCached attributes, type and example $foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/game.md b/old_docs/API_docs_v57/constructors/game.md index c3aa155d..3bb1dfe1 100644 --- a/old_docs/API_docs_v57/constructors/game.md +++ b/old_docs/API_docs_v57/constructors/game.md @@ -30,6 +30,13 @@ description: game attributes, type and example $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"game","id":"long","access_hash":"long","short_name":"string","title":"string","description":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/geoPoint.md b/old_docs/API_docs_v57/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v57/constructors/geoPoint.md +++ b/old_docs/API_docs_v57/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/geoPointEmpty.md b/old_docs/API_docs_v57/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v57/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v57/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/help_appChangelog.md b/old_docs/API_docs_v57/constructors/help_appChangelog.md index 77c1c338..67e40e85 100644 --- a/old_docs/API_docs_v57/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v57/constructors/help_appChangelog.md @@ -24,6 +24,13 @@ description: help_appChangelog attributes, type and example $help_appChangelog = ['_' => 'help.appChangelog', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelog","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md index abbb4865..f6ab5ace 100644 --- a/old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v57/constructors/help_appChangelogEmpty.md @@ -19,6 +19,13 @@ description: help_appChangelogEmpty attributes, type and example $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelogEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/help_appUpdate.md b/old_docs/API_docs_v57/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v57/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v57/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/help_inviteText.md b/old_docs/API_docs_v57/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v57/constructors/help_inviteText.md +++ b/old_docs/API_docs_v57/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/help_noAppUpdate.md b/old_docs/API_docs_v57/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v57/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v57/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/help_support.md b/old_docs/API_docs_v57/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v57/constructors/help_support.md +++ b/old_docs/API_docs_v57/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/help_termsOfService.md b/old_docs/API_docs_v57/constructors/help_termsOfService.md index a945b971..6af3d9e5 100644 --- a/old_docs/API_docs_v57/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v57/constructors/help_termsOfService.md @@ -24,6 +24,13 @@ description: help_termsOfService attributes, type and example $help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.termsOfService","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/highScore.md b/old_docs/API_docs_v57/constructors/highScore.md index 27b8ec02..8fe62af9 100644 --- a/old_docs/API_docs_v57/constructors/highScore.md +++ b/old_docs/API_docs_v57/constructors/highScore.md @@ -26,6 +26,13 @@ description: highScore attributes, type and example $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"highScore","pos":"int","user_id":"int","score":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/importedContact.md b/old_docs/API_docs_v57/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v57/constructors/importedContact.md +++ b/old_docs/API_docs_v57/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v57/constructors/inlineBotSwitchPM.md index 41ca65ac..86c0d9d4 100644 --- a/old_docs/API_docs_v57/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v57/constructors/inlineBotSwitchPM.md @@ -25,6 +25,13 @@ description: inlineBotSwitchPM attributes, type and example $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputAppEvent.md b/old_docs/API_docs_v57/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v57/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v57/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageGame.md index 5369ed7a..1a8bc54d 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageGame.md @@ -24,6 +24,13 @@ description: inputBotInlineMessageGame attributes, type and example $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageGame","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageID.md index 0d8d3f9e..757f7146 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageID.md @@ -26,6 +26,13 @@ description: inputBotInlineMessageID attributes, type and example $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaAuto.md index 75bb48f3..aa6b51df 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaContact.md index 754ce5ac..1bd6518f 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaGeo.md index 6eac346e..8c4f7ecc 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaVenue.md index ddb3c3fe..01e38309 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md index 77de3cf6..c785cbed 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageText attributes, type and example $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineResult.md b/old_docs/API_docs_v57/constructors/inputBotInlineResult.md index 9ff31ee5..ed68ad5c 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v57/constructors/inputBotInlineResultDocument.md index a5d9c466..15080274 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineResultDocument.md @@ -29,6 +29,13 @@ description: inputBotInlineResultDocument attributes, type and example $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v57/constructors/inputBotInlineResultGame.md index 0d5f96a7..be8f6f21 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineResultGame.md @@ -26,6 +26,13 @@ description: inputBotInlineResultGame attributes, type and example $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => string, 'short_name' => string, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultGame","id":"string","short_name":"string","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v57/constructors/inputBotInlineResultPhoto.md index ca2c6b7a..bbc38a5a 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineResultPhoto.md @@ -27,6 +27,13 @@ description: inputBotInlineResultPhoto attributes, type and example $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputChannel.md b/old_docs/API_docs_v57/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/old_docs/API_docs_v57/constructors/inputChannel.md +++ b/old_docs/API_docs_v57/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputChannelEmpty.md b/old_docs/API_docs_v57/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/old_docs/API_docs_v57/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputChatPhoto.md b/old_docs/API_docs_v57/constructors/inputChatPhoto.md index 8d46e6c3..aa98b610 100644 --- a/old_docs/API_docs_v57/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputChatPhoto.md @@ -24,6 +24,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v57/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v57/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v57/constructors/inputChatUploadedPhoto.md index eec015d4..ce3b4224 100644 --- a/old_docs/API_docs_v57/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputChatUploadedPhoto.md @@ -24,6 +24,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputDocument.md b/old_docs/API_docs_v57/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v57/constructors/inputDocument.md +++ b/old_docs/API_docs_v57/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v57/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v57/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v57/constructors/inputDocumentFileLocation.md index 41e520bb..b13feb4a 100644 --- a/old_docs/API_docs_v57/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v57/constructors/inputDocumentFileLocation.md @@ -26,6 +26,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputEncryptedChat.md b/old_docs/API_docs_v57/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputEncryptedFile.md b/old_docs/API_docs_v57/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v57/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v57/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v57/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v57/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v57/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v57/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputFile.md b/old_docs/API_docs_v57/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v57/constructors/inputFile.md +++ b/old_docs/API_docs_v57/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputFileBig.md b/old_docs/API_docs_v57/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v57/constructors/inputFileBig.md +++ b/old_docs/API_docs_v57/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputFileLocation.md b/old_docs/API_docs_v57/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v57/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v57/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputGameID.md b/old_docs/API_docs_v57/constructors/inputGameID.md index 287e2543..c8ce7efc 100644 --- a/old_docs/API_docs_v57/constructors/inputGameID.md +++ b/old_docs/API_docs_v57/constructors/inputGameID.md @@ -25,6 +25,13 @@ description: inputGameID attributes, type and example $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGameID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputGameShortName.md b/old_docs/API_docs_v57/constructors/inputGameShortName.md index eaad7dd7..82671253 100644 --- a/old_docs/API_docs_v57/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v57/constructors/inputGameShortName.md @@ -25,6 +25,13 @@ description: inputGameShortName attributes, type and example $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGameShortName","bot_id":"InputUser","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputGeoPoint.md b/old_docs/API_docs_v57/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v57/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v57/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v57/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v57/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMediaContact.md b/old_docs/API_docs_v57/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v57/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMediaDocument.md b/old_docs/API_docs_v57/constructors/inputMediaDocument.md index 1959cc4e..89ef5bdc 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v57/constructors/inputMediaDocument.md @@ -25,6 +25,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v57/constructors/inputMediaDocumentExternal.md index a56856ec..df91c315 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v57/constructors/inputMediaDocumentExternal.md @@ -25,6 +25,13 @@ description: inputMediaDocumentExternal attributes, type and example $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocumentExternal","url":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMediaEmpty.md b/old_docs/API_docs_v57/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMediaGame.md b/old_docs/API_docs_v57/constructors/inputMediaGame.md index 91b7bc9a..399f03c0 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v57/constructors/inputMediaGame.md @@ -24,6 +24,13 @@ description: inputMediaGame attributes, type and example $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGame","id":"InputGame"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v57/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v57/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v57/constructors/inputMediaGifExternal.md index af227d69..284e3cdd 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v57/constructors/inputMediaGifExternal.md @@ -25,6 +25,13 @@ description: inputMediaGifExternal attributes, type and example $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGifExternal","url":"string","q":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMediaPhoto.md b/old_docs/API_docs_v57/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v57/constructors/inputMediaPhotoExternal.md index b8115970..b50c9771 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v57/constructors/inputMediaPhotoExternal.md @@ -25,6 +25,13 @@ description: inputMediaPhotoExternal attributes, type and example $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhotoExternal","url":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v57/constructors/inputMediaUploadedDocument.md index 7a74f1d6..f88ff5f0 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v57/constructors/inputMediaUploadedDocument.md @@ -28,6 +28,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v57/constructors/inputMediaUploadedPhoto.md index 338e998b..ee07669d 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputMediaUploadedPhoto.md @@ -26,6 +26,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v57/constructors/inputMediaUploadedThumbDocument.md index 2e08e76d..fcbbab79 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v57/constructors/inputMediaUploadedThumbDocument.md @@ -29,6 +29,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMediaVenue.md b/old_docs/API_docs_v57/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v57/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v57/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v57/constructors/inputMessageEntityMentionName.md index ba7132d5..9465bf2b 100644 --- a/old_docs/API_docs_v57/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v57/constructors/inputMessageEntityMentionName.md @@ -26,6 +26,13 @@ description: inputMessageEntityMentionName attributes, type and example $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterChatPhotos.md index 06e4b6ed..7a78f5c4 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterChatPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterChatPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterGif.md index 02da8091..31be8767 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterGif.md @@ -19,6 +19,13 @@ description: inputMessagesFilterGif attributes, type and example $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterMusic.md index 2b211ca0..99111007 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterMusic.md @@ -19,6 +19,13 @@ description: inputMessagesFilterMusic attributes, type and example $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterMusic"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v57/constructors/inputMessagesFilterVoice.md index 1318e465..f111a3df 100644 --- a/old_docs/API_docs_v57/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v57/constructors/inputMessagesFilterVoice.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVoice attributes, type and example $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVoice"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputNotifyAll.md b/old_docs/API_docs_v57/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v57/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v57/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputNotifyChats.md b/old_docs/API_docs_v57/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v57/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v57/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputNotifyPeer.md b/old_docs/API_docs_v57/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v57/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v57/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputNotifyUsers.md b/old_docs/API_docs_v57/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v57/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v57/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPeerChannel.md b/old_docs/API_docs_v57/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v57/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPeerChat.md b/old_docs/API_docs_v57/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v57/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPeerEmpty.md b/old_docs/API_docs_v57/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md index d8db7388..6676a2f6 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPeerSelf.md b/old_docs/API_docs_v57/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v57/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPeerUser.md b/old_docs/API_docs_v57/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v57/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPhoneContact.md b/old_docs/API_docs_v57/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v57/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v57/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPhoto.md b/old_docs/API_docs_v57/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v57/constructors/inputPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v57/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v57/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v57/constructors/inputPrivacyKeyChatInvite.md index 43210930..293e876d 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v57/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v57/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputReportReasonOther.md b/old_docs/API_docs_v57/constructors/inputReportReasonOther.md index 547711c4..ffd351a0 100644 --- a/old_docs/API_docs_v57/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v57/constructors/inputReportReasonOther.md @@ -24,6 +24,13 @@ description: inputReportReasonOther attributes, type and example $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonOther","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v57/constructors/inputReportReasonPornography.md index f73c6f4d..866d691c 100644 --- a/old_docs/API_docs_v57/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v57/constructors/inputReportReasonPornography.md @@ -19,6 +19,13 @@ description: inputReportReasonPornography attributes, type and example $inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonPornography"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v57/constructors/inputReportReasonSpam.md index ea2a9257..4cf6f414 100644 --- a/old_docs/API_docs_v57/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v57/constructors/inputReportReasonSpam.md @@ -19,6 +19,13 @@ description: inputReportReasonSpam attributes, type and example $inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonSpam"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v57/constructors/inputReportReasonViolence.md index 18a2ba4c..f2046d6e 100644 --- a/old_docs/API_docs_v57/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v57/constructors/inputReportReasonViolence.md @@ -19,6 +19,13 @@ description: inputReportReasonViolence attributes, type and example $inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonViolence"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v57/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v57/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputStickerSetID.md b/old_docs/API_docs_v57/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v57/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v57/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v57/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v57/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v57/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v57/constructors/inputStickeredMediaDocument.md index 59ce4e3e..e7a64e8c 100644 --- a/old_docs/API_docs_v57/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v57/constructors/inputStickeredMediaDocument.md @@ -24,6 +24,13 @@ description: inputStickeredMediaDocument attributes, type and example $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickeredMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v57/constructors/inputStickeredMediaPhoto.md index e48fb0e3..d909033a 100644 --- a/old_docs/API_docs_v57/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v57/constructors/inputStickeredMediaPhoto.md @@ -24,6 +24,13 @@ description: inputStickeredMediaPhoto attributes, type and example $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickeredMediaPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputUser.md b/old_docs/API_docs_v57/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v57/constructors/inputUser.md +++ b/old_docs/API_docs_v57/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputUserEmpty.md b/old_docs/API_docs_v57/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v57/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v57/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/inputUserSelf.md b/old_docs/API_docs_v57/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v57/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v57/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/keyboardButton.md b/old_docs/API_docs_v57/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButton.md +++ b/old_docs/API_docs_v57/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v57/constructors/keyboardButtonCallback.md index 1fe8571c..27bc68b8 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonCallback.md @@ -25,6 +25,13 @@ description: keyboardButtonCallback attributes, type and example $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonGame.md b/old_docs/API_docs_v57/constructors/keyboardButtonGame.md index 170831e1..a8569aed 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonGame.md @@ -24,6 +24,13 @@ description: keyboardButtonGame attributes, type and example $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonGame","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v57/constructors/keyboardButtonRequestGeoLocation.md index 05cfd3cb..38cdc756 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonRequestGeoLocation.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestGeoLocation","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v57/constructors/keyboardButtonRequestPhone.md index cbff4adb..9c76c330 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonRequestPhone.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestPhone attributes, type and example $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestPhone","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonRow.md b/old_docs/API_docs_v57/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md index d93e0087..76688727 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md @@ -26,6 +26,13 @@ description: keyboardButtonSwitchInline attributes, type and example $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => string, 'query' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonSwitchInline","same_peer":"Bool","text":"string","query":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v57/constructors/keyboardButtonUrl.md index a6411824..bf60dc2a 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonUrl.md @@ -25,6 +25,13 @@ description: keyboardButtonUrl attributes, type and example $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonUrl","text":"string","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/maskCoords.md b/old_docs/API_docs_v57/constructors/maskCoords.md index a0779629..72c25c0e 100644 --- a/old_docs/API_docs_v57/constructors/maskCoords.md +++ b/old_docs/API_docs_v57/constructors/maskCoords.md @@ -27,6 +27,13 @@ description: maskCoords attributes, type and example $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"maskCoords","n":"int","x":"double","y":"double","zoom":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/message.md b/old_docs/API_docs_v57/constructors/message.md index 135401c5..cce1fc65 100644 --- a/old_docs/API_docs_v57/constructors/message.md +++ b/old_docs/API_docs_v57/constructors/message.md @@ -41,6 +41,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, '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' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","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":["MessageEntity"],"views":"int","edit_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v57/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v57/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v57/constructors/messageActionChannelMigrateFrom.md index d15c0bf3..b63de131 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v57/constructors/messageActionChannelMigrateFrom.md @@ -25,6 +25,13 @@ description: messageActionChannelMigrateFrom attributes, type and example $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v57/constructors/messageActionChatAddUser.md index 135e16de..5edc7d3b 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionChatCreate.md b/old_docs/API_docs_v57/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v57/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v57/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v57/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v57/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v57/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v57/constructors/messageActionChatMigrateTo.md index fda20a24..7214d295 100644 --- a/old_docs/API_docs_v57/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v57/constructors/messageActionChatMigrateTo.md @@ -24,6 +24,13 @@ description: messageActionChatMigrateTo attributes, type and example $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionEmpty.md b/old_docs/API_docs_v57/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v57/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v57/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionGameScore.md b/old_docs/API_docs_v57/constructors/messageActionGameScore.md index b94e0cf5..0f498dab 100644 --- a/old_docs/API_docs_v57/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v57/constructors/messageActionGameScore.md @@ -25,6 +25,13 @@ description: messageActionGameScore attributes, type and example $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionGameScore","game_id":"long","score":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v57/constructors/messageActionHistoryClear.md index 02160753..d576d087 100644 --- a/old_docs/API_docs_v57/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v57/constructors/messageActionHistoryClear.md @@ -19,6 +19,13 @@ description: messageActionHistoryClear attributes, type and example $messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionHistoryClear"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageActionPinMessage.md b/old_docs/API_docs_v57/constructors/messageActionPinMessage.md index 05443bcc..c8595522 100644 --- a/old_docs/API_docs_v57/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v57/constructors/messageActionPinMessage.md @@ -19,6 +19,13 @@ description: messageActionPinMessage attributes, type and example $messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPinMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageEmpty.md b/old_docs/API_docs_v57/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v57/constructors/messageEmpty.md +++ b/old_docs/API_docs_v57/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageEntityBold.md b/old_docs/API_docs_v57/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v57/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v57/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v57/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageEntityCode.md b/old_docs/API_docs_v57/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v57/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageEntityEmail.md b/old_docs/API_docs_v57/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v57/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageEntityHashtag.md b/old_docs/API_docs_v57/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v57/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageEntityItalic.md b/old_docs/API_docs_v57/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v57/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageEntityMention.md b/old_docs/API_docs_v57/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v57/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageEntityMentionName.md b/old_docs/API_docs_v57/constructors/messageEntityMentionName.md index 7d3947db..2eb6439b 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v57/constructors/messageEntityMentionName.md @@ -26,6 +26,13 @@ description: messageEntityMentionName attributes, type and example $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageEntityPre.md b/old_docs/API_docs_v57/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v57/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v57/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v57/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageEntityUnknown.md b/old_docs/API_docs_v57/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v57/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageEntityUrl.md b/old_docs/API_docs_v57/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v57/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v57/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageFwdHeader.md b/old_docs/API_docs_v57/constructors/messageFwdHeader.md index 80baa30c..15b5b5f3 100644 --- a/old_docs/API_docs_v57/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v57/constructors/messageFwdHeader.md @@ -27,6 +27,13 @@ description: messageFwdHeader attributes, type and example $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageMediaContact.md b/old_docs/API_docs_v57/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v57/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageMediaDocument.md b/old_docs/API_docs_v57/constructors/messageMediaDocument.md index 66a67150..0fc6558b 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v57/constructors/messageMediaDocument.md @@ -25,6 +25,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageMediaEmpty.md b/old_docs/API_docs_v57/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v57/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageMediaGame.md b/old_docs/API_docs_v57/constructors/messageMediaGame.md index 7a5e9dbc..349b9023 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v57/constructors/messageMediaGame.md @@ -24,6 +24,13 @@ description: messageMediaGame attributes, type and example $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGame","game":"Game"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageMediaGeo.md b/old_docs/API_docs_v57/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v57/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageMediaPhoto.md b/old_docs/API_docs_v57/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v57/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v57/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v57/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageMediaVenue.md b/old_docs/API_docs_v57/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v57/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageMediaWebPage.md b/old_docs/API_docs_v57/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v57/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v57/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageRange.md b/old_docs/API_docs_v57/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v57/constructors/messageRange.md +++ b/old_docs/API_docs_v57/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messageService.md b/old_docs/API_docs_v57/constructors/messageService.md index 2b2990c5..558cc6c9 100644 --- a/old_docs/API_docs_v57/constructors/messageService.md +++ b/old_docs/API_docs_v57/constructors/messageService.md @@ -34,6 +34,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","id":"int","from_id":"int","to_id":"Peer","reply_to_msg_id":"int","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_affectedHistory.md b/old_docs/API_docs_v57/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v57/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v57/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_affectedMessages.md b/old_docs/API_docs_v57/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v57/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v57/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_allStickers.md b/old_docs/API_docs_v57/constructors/messages_allStickers.md index 7a5fe6af..a16f30e8 100644 --- a/old_docs/API_docs_v57/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v57/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_archivedStickers.md b/old_docs/API_docs_v57/constructors/messages_archivedStickers.md index c04ebb81..7cc54d64 100644 --- a/old_docs/API_docs_v57/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v57/constructors/messages_archivedStickers.md @@ -25,6 +25,13 @@ description: messages_archivedStickers attributes, type and example $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.archivedStickers","count":"int","sets":["StickerSetCovered"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md index e847d80c..e9d1e81a 100644 --- a/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md @@ -27,6 +27,13 @@ description: messages_botCallbackAnswer attributes, type and example $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botCallbackAnswer","alert":"Bool","has_url":"Bool","message":"string","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_botResults.md b/old_docs/API_docs_v57/constructors/messages_botResults.md index 10eb3db0..d552a4fe 100644 --- a/old_docs/API_docs_v57/constructors/messages_botResults.md +++ b/old_docs/API_docs_v57/constructors/messages_botResults.md @@ -28,6 +28,13 @@ description: messages_botResults attributes, type and example $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_channelMessages.md b/old_docs/API_docs_v57/constructors/messages_channelMessages.md index e1e8ab16..4c5e4839 100644 --- a/old_docs/API_docs_v57/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v57/constructors/messages_channelMessages.md @@ -28,6 +28,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_chatFull.md b/old_docs/API_docs_v57/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v57/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v57/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_chats.md b/old_docs/API_docs_v57/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v57/constructors/messages_chats.md +++ b/old_docs/API_docs_v57/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_dhConfig.md b/old_docs/API_docs_v57/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v57/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v57/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_dialogs.md b/old_docs/API_docs_v57/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v57/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v57/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v57/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v57/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v57/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_featuredStickers.md b/old_docs/API_docs_v57/constructors/messages_featuredStickers.md index c4884d2e..beae5c36 100644 --- a/old_docs/API_docs_v57/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v57/constructors/messages_featuredStickers.md @@ -26,6 +26,13 @@ description: messages_featuredStickers attributes, type and example $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.featuredStickers","hash":"int","sets":["StickerSetCovered"],"unread":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md index 45036248..033dd647 100644 --- a/old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_featuredStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_featuredStickersNotModified attributes, type and example $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.featuredStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_foundGifs.md b/old_docs/API_docs_v57/constructors/messages_foundGifs.md index 5db1a1db..7cf2eaac 100644 --- a/old_docs/API_docs_v57/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v57/constructors/messages_foundGifs.md @@ -25,6 +25,13 @@ description: messages_foundGifs attributes, type and example $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_highScores.md b/old_docs/API_docs_v57/constructors/messages_highScores.md index 989bb2a3..6fdb3222 100644 --- a/old_docs/API_docs_v57/constructors/messages_highScores.md +++ b/old_docs/API_docs_v57/constructors/messages_highScores.md @@ -25,6 +25,13 @@ description: messages_highScores attributes, type and example $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.highScores","scores":["HighScore"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_messageEditData.md b/old_docs/API_docs_v57/constructors/messages_messageEditData.md index 84fede7d..f04529f4 100644 --- a/old_docs/API_docs_v57/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v57/constructors/messages_messageEditData.md @@ -24,6 +24,13 @@ description: messages_messageEditData attributes, type and example $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messageEditData","caption":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_messages.md b/old_docs/API_docs_v57/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v57/constructors/messages_messages.md +++ b/old_docs/API_docs_v57/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_messagesSlice.md b/old_docs/API_docs_v57/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v57/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v57/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_peerDialogs.md b/old_docs/API_docs_v57/constructors/messages_peerDialogs.md index 3f6ba7b2..ba596c19 100644 --- a/old_docs/API_docs_v57/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v57/constructors/messages_peerDialogs.md @@ -28,6 +28,13 @@ description: messages_peerDialogs attributes, type and example $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_recentStickers.md b/old_docs/API_docs_v57/constructors/messages_recentStickers.md index ec13359e..89cc7c7b 100644 --- a/old_docs/API_docs_v57/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v57/constructors/messages_recentStickers.md @@ -25,6 +25,13 @@ description: messages_recentStickers attributes, type and example $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.recentStickers","hash":"int","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md index fd4553c8..d4c2f39a 100644 --- a/old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_recentStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_recentStickersNotModified attributes, type and example $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.recentStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_savedGifs.md b/old_docs/API_docs_v57/constructors/messages_savedGifs.md index dfcab426..6077da46 100644 --- a/old_docs/API_docs_v57/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v57/constructors/messages_savedGifs.md @@ -25,6 +25,13 @@ description: messages_savedGifs attributes, type and example $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md index 78292bdb..6f35f43d 100644 --- a/old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_savedGifsNotModified.md @@ -19,6 +19,13 @@ description: messages_savedGifsNotModified attributes, type and example $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v57/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v57/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_stickerSet.md b/old_docs/API_docs_v57/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v57/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md index 92b2c31e..a56dbf2b 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultArchive.md @@ -24,6 +24,13 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSetInstallResultArchive","sets":["StickerSetCovered"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md index c3d79b4f..269af099 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v57/constructors/messages_stickerSetInstallResultSuccess.md @@ -19,6 +19,13 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSetInstallResultSuccess"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_stickers.md b/old_docs/API_docs_v57/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickers.md +++ b/old_docs/API_docs_v57/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v57/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v57/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v57/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/nearestDc.md b/old_docs/API_docs_v57/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v57/constructors/nearestDc.md +++ b/old_docs/API_docs_v57/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/notifyAll.md b/old_docs/API_docs_v57/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v57/constructors/notifyAll.md +++ b/old_docs/API_docs_v57/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/notifyChats.md b/old_docs/API_docs_v57/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v57/constructors/notifyChats.md +++ b/old_docs/API_docs_v57/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/notifyPeer.md b/old_docs/API_docs_v57/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v57/constructors/notifyPeer.md +++ b/old_docs/API_docs_v57/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/notifyUsers.md b/old_docs/API_docs_v57/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v57/constructors/notifyUsers.md +++ b/old_docs/API_docs_v57/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/peerChannel.md b/old_docs/API_docs_v57/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v57/constructors/peerChannel.md +++ b/old_docs/API_docs_v57/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/peerChat.md b/old_docs/API_docs_v57/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v57/constructors/peerChat.md +++ b/old_docs/API_docs_v57/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v57/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v57/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v57/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v57/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v57/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v57/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/peerNotifySettings.md b/old_docs/API_docs_v57/constructors/peerNotifySettings.md index 6c2d984e..fb5f90ac 100644 --- a/old_docs/API_docs_v57/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v57/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v57/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v57/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v57/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/peerSettings.md b/old_docs/API_docs_v57/constructors/peerSettings.md index 0169488e..1c888af9 100644 --- a/old_docs/API_docs_v57/constructors/peerSettings.md +++ b/old_docs/API_docs_v57/constructors/peerSettings.md @@ -24,6 +24,13 @@ description: peerSettings attributes, type and example $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerSettings","report_spam":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/peerUser.md b/old_docs/API_docs_v57/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v57/constructors/peerUser.md +++ b/old_docs/API_docs_v57/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/photo.md b/old_docs/API_docs_v57/constructors/photo.md index 3ce8cc62..eeb39d1f 100644 --- a/old_docs/API_docs_v57/constructors/photo.md +++ b/old_docs/API_docs_v57/constructors/photo.md @@ -28,6 +28,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","has_stickers":"Bool","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/photoCachedSize.md b/old_docs/API_docs_v57/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v57/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v57/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/photoEmpty.md b/old_docs/API_docs_v57/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v57/constructors/photoEmpty.md +++ b/old_docs/API_docs_v57/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/photoSize.md b/old_docs/API_docs_v57/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v57/constructors/photoSize.md +++ b/old_docs/API_docs_v57/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/photoSizeEmpty.md b/old_docs/API_docs_v57/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v57/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v57/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/photos_photo.md b/old_docs/API_docs_v57/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v57/constructors/photos_photo.md +++ b/old_docs/API_docs_v57/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/photos_photos.md b/old_docs/API_docs_v57/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v57/constructors/photos_photos.md +++ b/old_docs/API_docs_v57/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/photos_photosSlice.md b/old_docs/API_docs_v57/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v57/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v57/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v57/constructors/privacyKeyChatInvite.md index ad4a35e7..88fbe9a6 100644 --- a/old_docs/API_docs_v57/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v57/constructors/privacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: privacyKeyChatInvite attributes, type and example $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v57/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v57/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v57/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v57/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v57/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v57/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v57/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v57/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v57/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v57/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v57/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v57/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v57/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v57/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v57/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v57/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v57/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v57/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v57/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/replyInlineMarkup.md b/old_docs/API_docs_v57/constructors/replyInlineMarkup.md index 4bc5d372..76e87dc2 100644 --- a/old_docs/API_docs_v57/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v57/constructors/replyInlineMarkup.md @@ -24,6 +24,13 @@ description: replyInlineMarkup attributes, type and example $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md index 4f319506..02a0779a 100644 --- a/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md @@ -25,6 +25,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/replyKeyboardHide.md b/old_docs/API_docs_v57/constructors/replyKeyboardHide.md index 56faa8dd..8b210933 100644 --- a/old_docs/API_docs_v57/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v57/constructors/replyKeyboardHide.md @@ -24,6 +24,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md index 3cebc41f..4269aeb9 100644 --- a/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md @@ -27,6 +27,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v57/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v57/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v57/constructors/sendMessageGamePlayAction.md index 9d1c7e57..3fa832ac 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageGamePlayAction.md @@ -19,6 +19,13 @@ description: sendMessageGamePlayAction attributes, type and example $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGamePlayAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v57/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v57/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v57/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v57/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v57/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v57/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v57/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v57/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v57/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v57/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/stickerPack.md b/old_docs/API_docs_v57/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v57/constructors/stickerPack.md +++ b/old_docs/API_docs_v57/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/stickerSet.md b/old_docs/API_docs_v57/constructors/stickerSet.md index 183cd048..20964d59 100644 --- a/old_docs/API_docs_v57/constructors/stickerSet.md +++ b/old_docs/API_docs_v57/constructors/stickerSet.md @@ -33,6 +33,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","installed":"Bool","archived":"Bool","official":"Bool","masks":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/stickerSetCovered.md b/old_docs/API_docs_v57/constructors/stickerSetCovered.md index db800fff..3421f170 100644 --- a/old_docs/API_docs_v57/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v57/constructors/stickerSetCovered.md @@ -25,6 +25,13 @@ description: stickerSetCovered attributes, type and example $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSetCovered","set":"StickerSet","cover":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v57/constructors/stickerSetMultiCovered.md index 78ed7ea0..c71c0503 100644 --- a/old_docs/API_docs_v57/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v57/constructors/stickerSetMultiCovered.md @@ -25,6 +25,13 @@ description: stickerSetMultiCovered attributes, type and example $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSetMultiCovered","set":"StickerSet","covers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/storage_fileGif.md b/old_docs/API_docs_v57/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v57/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/storage_fileJpeg.md b/old_docs/API_docs_v57/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v57/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/storage_fileMov.md b/old_docs/API_docs_v57/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v57/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/storage_fileMp3.md b/old_docs/API_docs_v57/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v57/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/storage_fileMp4.md b/old_docs/API_docs_v57/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v57/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/storage_filePartial.md b/old_docs/API_docs_v57/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v57/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v57/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/storage_filePdf.md b/old_docs/API_docs_v57/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v57/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v57/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/storage_filePng.md b/old_docs/API_docs_v57/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v57/constructors/storage_filePng.md +++ b/old_docs/API_docs_v57/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/storage_fileUnknown.md b/old_docs/API_docs_v57/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v57/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/storage_fileWebp.md b/old_docs/API_docs_v57/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v57/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v57/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/topPeer.md b/old_docs/API_docs_v57/constructors/topPeer.md index 016a7857..25b4c2c3 100644 --- a/old_docs/API_docs_v57/constructors/topPeer.md +++ b/old_docs/API_docs_v57/constructors/topPeer.md @@ -25,6 +25,13 @@ description: topPeer attributes, type and example $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeer","peer":"Peer","rating":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v57/constructors/topPeerCategoryBotsInline.md index 30fa513f..e6dc94bf 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryBotsInline.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsInline attributes, type and example $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsInline"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v57/constructors/topPeerCategoryBotsPM.md index f87934ed..07fc07da 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryBotsPM.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsPM attributes, type and example $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsPM"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v57/constructors/topPeerCategoryChannels.md index 6b72af0a..61f1750a 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryChannels.md @@ -19,6 +19,13 @@ description: topPeerCategoryChannels attributes, type and example $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryChannels"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v57/constructors/topPeerCategoryCorrespondents.md index c45dee85..735ff49e 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryCorrespondents.md @@ -19,6 +19,13 @@ description: topPeerCategoryCorrespondents attributes, type and example $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryCorrespondents"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v57/constructors/topPeerCategoryGroups.md index 3f6c8fdf..4ae25a25 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryGroups.md @@ -19,6 +19,13 @@ description: topPeerCategoryGroups attributes, type and example $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryGroups"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v57/constructors/topPeerCategoryPeers.md index 8fd2021b..655db3fb 100644 --- a/old_docs/API_docs_v57/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v57/constructors/topPeerCategoryPeers.md @@ -26,6 +26,13 @@ description: topPeerCategoryPeers attributes, type and example $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/true.md b/old_docs/API_docs_v57/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v57/constructors/true.md +++ b/old_docs/API_docs_v57/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v57/constructors/updateBotCallbackQuery.md index 9813adb2..8275bafc 100644 --- a/old_docs/API_docs_v57/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v57/constructors/updateBotCallbackQuery.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","chat_instance":"long","data":"bytes","game_short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v57/constructors/updateBotInlineQuery.md index 5cc6956a..9002aa9b 100644 --- a/old_docs/API_docs_v57/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v57/constructors/updateBotInlineQuery.md @@ -28,6 +28,13 @@ description: updateBotInlineQuery attributes, type and example $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateBotInlineSend.md b/old_docs/API_docs_v57/constructors/updateBotInlineSend.md index fb062eb3..816f950f 100644 --- a/old_docs/API_docs_v57/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v57/constructors/updateBotInlineSend.md @@ -28,6 +28,13 @@ description: updateBotInlineSend attributes, type and example $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateChannel.md b/old_docs/API_docs_v57/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/old_docs/API_docs_v57/constructors/updateChannel.md +++ b/old_docs/API_docs_v57/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v57/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/old_docs/API_docs_v57/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v57/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v57/constructors/updateChannelPinnedMessage.md index f6179fd7..cbdc70c7 100644 --- a/old_docs/API_docs_v57/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v57/constructors/updateChannelPinnedMessage.md @@ -25,6 +25,13 @@ description: updateChannelPinnedMessage attributes, type and example $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateChannelTooLong.md b/old_docs/API_docs_v57/constructors/updateChannelTooLong.md index c6a74206..f0a327af 100644 --- a/old_docs/API_docs_v57/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v57/constructors/updateChannelTooLong.md @@ -25,6 +25,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateChatAdmins.md b/old_docs/API_docs_v57/constructors/updateChatAdmins.md index 36fb3614..bf391961 100644 --- a/old_docs/API_docs_v57/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v57/constructors/updateChatAdmins.md @@ -26,6 +26,13 @@ description: updateChatAdmins attributes, type and example $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v57/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/old_docs/API_docs_v57/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v57/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v57/constructors/updateChatParticipantAdmin.md index fbb2cdae..ba5bbc95 100644 --- a/old_docs/API_docs_v57/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v57/constructors/updateChatParticipantAdmin.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdmin attributes, type and example $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v57/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v57/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v57/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateChatParticipants.md b/old_docs/API_docs_v57/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v57/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v57/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateChatUserTyping.md b/old_docs/API_docs_v57/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v57/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v57/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateConfig.md b/old_docs/API_docs_v57/constructors/updateConfig.md index 34692274..ed455bd6 100644 --- a/old_docs/API_docs_v57/constructors/updateConfig.md +++ b/old_docs/API_docs_v57/constructors/updateConfig.md @@ -19,6 +19,13 @@ description: updateConfig attributes, type and example $updateConfig = ['_' => 'updateConfig', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateConfig"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateContactLink.md b/old_docs/API_docs_v57/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v57/constructors/updateContactLink.md +++ b/old_docs/API_docs_v57/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateContactRegistered.md b/old_docs/API_docs_v57/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v57/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v57/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateDcOptions.md b/old_docs/API_docs_v57/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v57/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v57/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v57/constructors/updateDeleteChannelMessages.md index 6f8c20d5..a078a880 100644 --- a/old_docs/API_docs_v57/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v57/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateDeleteMessages.md b/old_docs/API_docs_v57/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v57/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v57/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateDraftMessage.md b/old_docs/API_docs_v57/constructors/updateDraftMessage.md index 3eb98097..5dedfd93 100644 --- a/old_docs/API_docs_v57/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v57/constructors/updateDraftMessage.md @@ -25,6 +25,13 @@ description: updateDraftMessage attributes, type and example $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v57/constructors/updateEditChannelMessage.md index 65a44b23..f2d2b288 100644 --- a/old_docs/API_docs_v57/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v57/constructors/updateEditChannelMessage.md @@ -26,6 +26,13 @@ description: updateEditChannelMessage attributes, type and example $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateEditMessage.md b/old_docs/API_docs_v57/constructors/updateEditMessage.md index 7b681445..3e2f86a3 100644 --- a/old_docs/API_docs_v57/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v57/constructors/updateEditMessage.md @@ -26,6 +26,13 @@ description: updateEditMessage attributes, type and example $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v57/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v57/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v57/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v57/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v57/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v57/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateEncryption.md b/old_docs/API_docs_v57/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v57/constructors/updateEncryption.md +++ b/old_docs/API_docs_v57/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v57/constructors/updateInlineBotCallbackQuery.md index c358c306..a0fbf330 100644 --- a/old_docs/API_docs_v57/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v57/constructors/updateInlineBotCallbackQuery.md @@ -29,6 +29,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","chat_instance":"long","data":"bytes","game_short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateMessageID.md b/old_docs/API_docs_v57/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v57/constructors/updateMessageID.md +++ b/old_docs/API_docs_v57/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateNewAuthorization.md b/old_docs/API_docs_v57/constructors/updateNewAuthorization.md index 91247e5c..4420ddbf 100644 --- a/old_docs/API_docs_v57/constructors/updateNewAuthorization.md +++ b/old_docs/API_docs_v57/constructors/updateNewAuthorization.md @@ -27,6 +27,13 @@ description: updateNewAuthorization attributes, type and example $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewAuthorization","auth_key_id":"long","date":"int","device":"string","location":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v57/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/old_docs/API_docs_v57/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v57/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v57/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v57/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v57/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateNewMessage.md b/old_docs/API_docs_v57/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v57/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v57/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateNewStickerSet.md b/old_docs/API_docs_v57/constructors/updateNewStickerSet.md index ccb4f17f..919c3ad8 100644 --- a/old_docs/API_docs_v57/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v57/constructors/updateNewStickerSet.md @@ -24,6 +24,13 @@ description: updateNewStickerSet attributes, type and example $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateNotifySettings.md b/old_docs/API_docs_v57/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v57/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v57/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updatePrivacy.md b/old_docs/API_docs_v57/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v57/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v57/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updatePtsChanged.md b/old_docs/API_docs_v57/constructors/updatePtsChanged.md index d8103452..bc4c62dd 100644 --- a/old_docs/API_docs_v57/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v57/constructors/updatePtsChanged.md @@ -19,6 +19,13 @@ description: updatePtsChanged attributes, type and example $updatePtsChanged = ['_' => 'updatePtsChanged', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePtsChanged"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v57/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/old_docs/API_docs_v57/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v57/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v57/constructors/updateReadChannelOutbox.md index 162db1ec..5e1ce23d 100644 --- a/old_docs/API_docs_v57/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v57/constructors/updateReadChannelOutbox.md @@ -25,6 +25,13 @@ description: updateReadChannelOutbox attributes, type and example $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v57/constructors/updateReadFeaturedStickers.md index 2f548027..7b10baa4 100644 --- a/old_docs/API_docs_v57/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v57/constructors/updateReadFeaturedStickers.md @@ -19,6 +19,13 @@ description: updateReadFeaturedStickers attributes, type and example $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadFeaturedStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v57/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v57/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v57/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v57/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v57/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v57/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v57/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v57/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v57/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateRecentStickers.md b/old_docs/API_docs_v57/constructors/updateRecentStickers.md index b773f5bd..4ac9a838 100644 --- a/old_docs/API_docs_v57/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v57/constructors/updateRecentStickers.md @@ -19,6 +19,13 @@ description: updateRecentStickers attributes, type and example $updateRecentStickers = ['_' => 'updateRecentStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateRecentStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateSavedGifs.md b/old_docs/API_docs_v57/constructors/updateSavedGifs.md index a52b7838..46dfb8a6 100644 --- a/old_docs/API_docs_v57/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v57/constructors/updateSavedGifs.md @@ -19,6 +19,13 @@ description: updateSavedGifs attributes, type and example $updateSavedGifs = ['_' => 'updateSavedGifs', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateSavedGifs"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateServiceNotification.md b/old_docs/API_docs_v57/constructors/updateServiceNotification.md index 8709e2c5..1b604182 100644 --- a/old_docs/API_docs_v57/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v57/constructors/updateServiceNotification.md @@ -27,6 +27,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","type":"string","message":"string","media":"MessageMedia","popup":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateShort.md b/old_docs/API_docs_v57/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v57/constructors/updateShort.md +++ b/old_docs/API_docs_v57/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateShortChatMessage.md b/old_docs/API_docs_v57/constructors/updateShortChatMessage.md index 5bd6de08..ea43359c 100644 --- a/old_docs/API_docs_v57/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v57/constructors/updateShortChatMessage.md @@ -38,6 +38,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateShortMessage.md b/old_docs/API_docs_v57/constructors/updateShortMessage.md index 0c46fb50..1a9f106f 100644 --- a/old_docs/API_docs_v57/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v57/constructors/updateShortMessage.md @@ -37,6 +37,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateShortSentMessage.md b/old_docs/API_docs_v57/constructors/updateShortSentMessage.md index 2172b3a1..d67179f2 100644 --- a/old_docs/API_docs_v57/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v57/constructors/updateShortSentMessage.md @@ -30,6 +30,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateStickerSets.md b/old_docs/API_docs_v57/constructors/updateStickerSets.md index 0affa36f..69c53b51 100644 --- a/old_docs/API_docs_v57/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v57/constructors/updateStickerSets.md @@ -19,6 +19,13 @@ description: updateStickerSets attributes, type and example $updateStickerSets = ['_' => 'updateStickerSets', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSets"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md index 4b7ad6af..809b82d6 100644 --- a/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md @@ -25,6 +25,13 @@ description: updateStickerSetsOrder attributes, type and example $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSetsOrder","masks":"Bool","order":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateUserBlocked.md b/old_docs/API_docs_v57/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v57/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v57/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateUserName.md b/old_docs/API_docs_v57/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v57/constructors/updateUserName.md +++ b/old_docs/API_docs_v57/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateUserPhone.md b/old_docs/API_docs_v57/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v57/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v57/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateUserPhoto.md b/old_docs/API_docs_v57/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v57/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v57/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateUserStatus.md b/old_docs/API_docs_v57/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v57/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v57/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateUserTyping.md b/old_docs/API_docs_v57/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v57/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v57/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updateWebPage.md b/old_docs/API_docs_v57/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/old_docs/API_docs_v57/constructors/updateWebPage.md +++ b/old_docs/API_docs_v57/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updates.md b/old_docs/API_docs_v57/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v57/constructors/updates.md +++ b/old_docs/API_docs_v57/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updatesCombined.md b/old_docs/API_docs_v57/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v57/constructors/updatesCombined.md +++ b/old_docs/API_docs_v57/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updatesTooLong.md b/old_docs/API_docs_v57/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v57/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v57/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updates_channelDifference.md b/old_docs/API_docs_v57/constructors/updates_channelDifference.md index c64c69b6..876e8d13 100644 --- a/old_docs/API_docs_v57/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v57/constructors/updates_channelDifference.md @@ -30,6 +30,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md index 6e4d7bde..c596d24a 100644 --- a/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md @@ -26,6 +26,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md index 0e295673..464117f9 100644 --- a/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md @@ -33,6 +33,13 @@ description: updates_channelDifferenceTooLong attributes, type and example $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceTooLong","final":"Bool","pts":"int","timeout":"int","top_message":"int","read_inbox_max_id":"int","read_outbox_max_id":"int","unread_count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updates_difference.md b/old_docs/API_docs_v57/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v57/constructors/updates_difference.md +++ b/old_docs/API_docs_v57/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v57/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v57/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v57/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updates_differenceSlice.md b/old_docs/API_docs_v57/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v57/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v57/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/updates_state.md b/old_docs/API_docs_v57/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v57/constructors/updates_state.md +++ b/old_docs/API_docs_v57/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/upload_file.md b/old_docs/API_docs_v57/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v57/constructors/upload_file.md +++ b/old_docs/API_docs_v57/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/user.md b/old_docs/API_docs_v57/constructors/user.md index 900236af..a0f86878 100644 --- a/old_docs/API_docs_v57/constructors/user.md +++ b/old_docs/API_docs_v57/constructors/user.md @@ -45,6 +45,13 @@ description: user attributes, type and example $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, '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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","self":"Bool","contact":"Bool","mutual_contact":"Bool","deleted":"Bool","bot":"Bool","bot_chat_history":"Bool","bot_nochats":"Bool","verified":"Bool","restricted":"Bool","min":"Bool","bot_inline_geo":"Bool","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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/userEmpty.md b/old_docs/API_docs_v57/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v57/constructors/userEmpty.md +++ b/old_docs/API_docs_v57/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/userFull.md b/old_docs/API_docs_v57/constructors/userFull.md index 4b9a2346..da08e19b 100644 --- a/old_docs/API_docs_v57/constructors/userFull.md +++ b/old_docs/API_docs_v57/constructors/userFull.md @@ -30,6 +30,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","blocked":"Bool","user":"User","about":"string","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","bot_info":"BotInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/userProfilePhoto.md b/old_docs/API_docs_v57/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v57/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v57/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v57/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v57/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v57/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/userStatusEmpty.md b/old_docs/API_docs_v57/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v57/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v57/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/userStatusLastMonth.md b/old_docs/API_docs_v57/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v57/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v57/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/userStatusLastWeek.md b/old_docs/API_docs_v57/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v57/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v57/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/userStatusOffline.md b/old_docs/API_docs_v57/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v57/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v57/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/userStatusOnline.md b/old_docs/API_docs_v57/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v57/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v57/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/userStatusRecently.md b/old_docs/API_docs_v57/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v57/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v57/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/vector.md b/old_docs/API_docs_v57/constructors/vector.md index 55858d79..6d44f111 100644 --- a/old_docs/API_docs_v57/constructors/vector.md +++ b/old_docs/API_docs_v57/constructors/vector.md @@ -19,6 +19,13 @@ description: vector attributes, type and example $vector = ['_' => 'vector', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"vector"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/wallPaper.md b/old_docs/API_docs_v57/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v57/constructors/wallPaper.md +++ b/old_docs/API_docs_v57/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/wallPaperSolid.md b/old_docs/API_docs_v57/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v57/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v57/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/webPage.md b/old_docs/API_docs_v57/constructors/webPage.md index 7c0a432f..b4dd86ee 100644 --- a/old_docs/API_docs_v57/constructors/webPage.md +++ b/old_docs/API_docs_v57/constructors/webPage.md @@ -38,6 +38,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/webPageEmpty.md b/old_docs/API_docs_v57/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v57/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v57/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/constructors/webPagePending.md b/old_docs/API_docs_v57/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v57/constructors/webPagePending.md +++ b/old_docs/API_docs_v57/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/account_changePhone.md b/old_docs/API_docs_v57/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v57/methods/account_changePhone.md +++ b/old_docs/API_docs_v57/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_checkUsername.md b/old_docs/API_docs_v57/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v57/methods/account_checkUsername.md +++ b/old_docs/API_docs_v57/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_confirmPhone.md b/old_docs/API_docs_v57/methods/account_confirmPhone.md index 0b8437dd..6ce6e811 100644 --- a/old_docs/API_docs_v57/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v57/methods/account_confirmPhone.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.confirmPhone +* params - {"phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.confirmPhone` + +Parameters: + +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_deleteAccount.md b/old_docs/API_docs_v57/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v57/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v57/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_getAccountTTL.md b/old_docs/API_docs_v57/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v57/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v57/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/account_getAuthorizations.md b/old_docs/API_docs_v57/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v57/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v57/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/account_getNotifySettings.md b/old_docs/API_docs_v57/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v57/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_getPassword.md b/old_docs/API_docs_v57/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v57/methods/account_getPassword.md +++ b/old_docs/API_docs_v57/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/account_getPasswordSettings.md b/old_docs/API_docs_v57/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v57/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v57/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_getPrivacy.md b/old_docs/API_docs_v57/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v57/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v57/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_getWallPapers.md b/old_docs/API_docs_v57/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v57/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v57/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/account_registerDevice.md b/old_docs/API_docs_v57/methods/account_registerDevice.md index 07381be6..fa4aae85 100644 --- a/old_docs/API_docs_v57/methods/account_registerDevice.md +++ b/old_docs/API_docs_v57/methods/account_registerDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_reportPeer.md b/old_docs/API_docs_v57/methods/account_reportPeer.md index 019e88a5..08c8d0d5 100644 --- a/old_docs/API_docs_v57/methods/account_reportPeer.md +++ b/old_docs/API_docs_v57/methods/account_reportPeer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.reportPeer +* params - {"peer":"InputPeer","reason":"ReportReason"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.reportPeer` + +Parameters: + +peer - Json encoded InputPeer +reason - Json encoded ReportReason + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_resetAuthorization.md b/old_docs/API_docs_v57/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v57/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v57/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_resetNotifySettings.md b/old_docs/API_docs_v57/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v57/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md index 83cfe3e2..1c4c0ca7 100644 --- a/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v57/methods/account_sendChangePhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md index 8d28787e..4b4b6655 100644 --- a/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v57/methods/account_sendConfirmPhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendConfirmPhoneCode +* params - {"allow_flashcall":"Bool","hash":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendConfirmPhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +hash - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_setAccountTTL.md b/old_docs/API_docs_v57/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v57/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v57/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_setPrivacy.md b/old_docs/API_docs_v57/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v57/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v57/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_unregisterDevice.md b/old_docs/API_docs_v57/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v57/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v57/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v57/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_updateNotifySettings.md b/old_docs/API_docs_v57/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v57/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v57/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v57/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_updateProfile.md b/old_docs/API_docs_v57/methods/account_updateProfile.md index e12a2f1c..10ab8f0c 100644 --- a/old_docs/API_docs_v57/methods/account_updateProfile.md +++ b/old_docs/API_docs_v57/methods/account_updateProfile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_updateStatus.md b/old_docs/API_docs_v57/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v57/methods/account_updateStatus.md +++ b/old_docs/API_docs_v57/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/account_updateUsername.md b/old_docs/API_docs_v57/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v57/methods/account_updateUsername.md +++ b/old_docs/API_docs_v57/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v57/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_cancelCode.md b/old_docs/API_docs_v57/methods/auth_cancelCode.md index 73a8c55b..05aae0cf 100644 --- a/old_docs/API_docs_v57/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v57/methods/auth_cancelCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.cancelCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.cancelCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_checkPassword.md b/old_docs/API_docs_v57/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v57/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v57/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_checkPhone.md b/old_docs/API_docs_v57/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v57/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v57/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md index 91d04065..22e17d37 100644 --- a/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v57/methods/auth_dropTempAuthKeys.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.dropTempAuthKeys +* params - {"except_auth_keys":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.dropTempAuthKeys` + +Parameters: + +except_auth_keys - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_exportAuthorization.md b/old_docs/API_docs_v57/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v57/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_importAuthorization.md b/old_docs/API_docs_v57/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v57/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v57/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_logOut.md b/old_docs/API_docs_v57/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v57/methods/auth_logOut.md +++ b/old_docs/API_docs_v57/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/auth_recoverPassword.md b/old_docs/API_docs_v57/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v57/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v57/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v57/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/auth_resendCode.md b/old_docs/API_docs_v57/methods/auth_resendCode.md index 6ba623cf..aaea73a0 100644 --- a/old_docs/API_docs_v57/methods/auth_resendCode.md +++ b/old_docs/API_docs_v57/methods/auth_resendCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resendCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resendCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v57/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/auth_sendCode.md b/old_docs/API_docs_v57/methods/auth_sendCode.md index 423da558..c6e4d8aa 100644 --- a/old_docs/API_docs_v57/methods/auth_sendCode.md +++ b/old_docs/API_docs_v57/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool +api_id - Json encoded int +api_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_sendInvites.md b/old_docs/API_docs_v57/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v57/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v57/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_signIn.md b/old_docs/API_docs_v57/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v57/methods/auth_signIn.md +++ b/old_docs/API_docs_v57/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/auth_signUp.md b/old_docs/API_docs_v57/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v57/methods/auth_signUp.md +++ b/old_docs/API_docs_v57/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_checkUsername.md b/old_docs/API_docs_v57/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/old_docs/API_docs_v57/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v57/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_createChannel.md b/old_docs/API_docs_v57/methods/channels_createChannel.md index a4819767..853ca900 100644 --- a/old_docs/API_docs_v57/methods/channels_createChannel.md +++ b/old_docs/API_docs_v57/methods/channels_createChannel.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +broadcast - Json encoded Bool +megagroup - Json encoded Bool +title - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_deleteChannel.md b/old_docs/API_docs_v57/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v57/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_deleteMessages.md b/old_docs/API_docs_v57/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v57/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v57/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_editAbout.md b/old_docs/API_docs_v57/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/old_docs/API_docs_v57/methods/channels_editAbout.md +++ b/old_docs/API_docs_v57/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_editAdmin.md b/old_docs/API_docs_v57/methods/channels_editAdmin.md index 4596e082..729d5e28 100644 --- a/old_docs/API_docs_v57/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v57/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +role - Json encoded ChannelParticipantRole + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_editPhoto.md b/old_docs/API_docs_v57/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/old_docs/API_docs_v57/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v57/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_editTitle.md b/old_docs/API_docs_v57/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/old_docs/API_docs_v57/methods/channels_editTitle.md +++ b/old_docs/API_docs_v57/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_exportInvite.md b/old_docs/API_docs_v57/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/old_docs/API_docs_v57/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v57/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_exportMessageLink.md b/old_docs/API_docs_v57/methods/channels_exportMessageLink.md index 644c5b1a..4d5ba2df 100644 --- a/old_docs/API_docs_v57/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v57/methods/channels_exportMessageLink.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportMessageLink +* params - {"channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportMessageLink` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md index 31ed5556..85093ef6 100644 --- a/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v57/methods/channels_getAdminedPublicChannels.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getAdminedPublicChannels +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getAdminedPublicChannels` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/channels_getChannels.md b/old_docs/API_docs_v57/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/old_docs/API_docs_v57/methods/channels_getChannels.md +++ b/old_docs/API_docs_v57/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_getFullChannel.md b/old_docs/API_docs_v57/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/old_docs/API_docs_v57/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v57/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_getMessages.md b/old_docs/API_docs_v57/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/old_docs/API_docs_v57/methods/channels_getMessages.md +++ b/old_docs/API_docs_v57/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_getParticipant.md b/old_docs/API_docs_v57/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_getParticipants.md b/old_docs/API_docs_v57/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/old_docs/API_docs_v57/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v57/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_inviteToChannel.md b/old_docs/API_docs_v57/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/old_docs/API_docs_v57/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v57/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_joinChannel.md b/old_docs/API_docs_v57/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/old_docs/API_docs_v57/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v57/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_kickFromChannel.md b/old_docs/API_docs_v57/methods/channels_kickFromChannel.md index 1dc6b4b7..5e91bc24 100644 --- a/old_docs/API_docs_v57/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v57/methods/channels_kickFromChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.kickFromChannel +* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.kickFromChannel` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +kicked - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_leaveChannel.md b/old_docs/API_docs_v57/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/old_docs/API_docs_v57/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v57/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_readHistory.md b/old_docs/API_docs_v57/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/old_docs/API_docs_v57/methods/channels_readHistory.md +++ b/old_docs/API_docs_v57/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_reportSpam.md b/old_docs/API_docs_v57/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/old_docs/API_docs_v57/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v57/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_toggleInvites.md b/old_docs/API_docs_v57/methods/channels_toggleInvites.md index f537ada8..86569f90 100644 --- a/old_docs/API_docs_v57/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v57/methods/channels_toggleInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleInvites +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleInvites` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_toggleSignatures.md b/old_docs/API_docs_v57/methods/channels_toggleSignatures.md index 327795f4..ea833e9a 100644 --- a/old_docs/API_docs_v57/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v57/methods/channels_toggleSignatures.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleSignatures +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleSignatures` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md index 97327889..0fd2da72 100644 --- a/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v57/methods/channels_updatePinnedMessage.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updatePinnedMessage +* params - {"silent":"Bool","channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updatePinnedMessage` + +Parameters: + +silent - Json encoded Bool +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/channels_updateUsername.md b/old_docs/API_docs_v57/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/old_docs/API_docs_v57/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v57/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/contacts_block.md b/old_docs/API_docs_v57/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v57/methods/contacts_block.md +++ b/old_docs/API_docs_v57/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/contacts_deleteContact.md b/old_docs/API_docs_v57/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v57/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v57/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/contacts_deleteContacts.md b/old_docs/API_docs_v57/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v57/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/contacts_exportCard.md b/old_docs/API_docs_v57/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v57/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v57/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/contacts_getBlocked.md b/old_docs/API_docs_v57/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v57/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v57/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/contacts_getContacts.md b/old_docs/API_docs_v57/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v57/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/contacts_getStatuses.md b/old_docs/API_docs_v57/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v57/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v57/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/contacts_getTopPeers.md b/old_docs/API_docs_v57/methods/contacts_getTopPeers.md index 0c8813ff..293a3541 100644 --- a/old_docs/API_docs_v57/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v57/methods/contacts_getTopPeers.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getTopPeers +* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getTopPeers` + +Parameters: + +correspondents - Json encoded Bool +bots_pm - Json encoded Bool +bots_inline - Json encoded Bool +groups - Json encoded Bool +channels - Json encoded Bool +offset - Json encoded int +limit - Json encoded int +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/contacts_importCard.md b/old_docs/API_docs_v57/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v57/methods/contacts_importCard.md +++ b/old_docs/API_docs_v57/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/contacts_importContacts.md b/old_docs/API_docs_v57/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v57/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v57/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md index 6d2b6397..adb3f83a 100644 --- a/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v57/methods/contacts_resetTopPeerRating.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resetTopPeerRating +* params - {"category":"TopPeerCategory","peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resetTopPeerRating` + +Parameters: + +category - Json encoded TopPeerCategory +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/contacts_resolveUsername.md b/old_docs/API_docs_v57/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/old_docs/API_docs_v57/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v57/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/contacts_search.md b/old_docs/API_docs_v57/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v57/methods/contacts_search.md +++ b/old_docs/API_docs_v57/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/contacts_unblock.md b/old_docs/API_docs_v57/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v57/methods/contacts_unblock.md +++ b/old_docs/API_docs_v57/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/help_getAppChangelog.md b/old_docs/API_docs_v57/methods/help_getAppChangelog.md index 4dbf6812..e88c66bd 100644 --- a/old_docs/API_docs_v57/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v57/methods/help_getAppChangelog.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_AppChangelog = $MadelineProto->help->getAppChangelog(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/help_getAppUpdate.md b/old_docs/API_docs_v57/methods/help_getAppUpdate.md index 8870072b..851fc06e 100644 --- a/old_docs/API_docs_v57/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v57/methods/help_getAppUpdate.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_AppUpdate = $MadelineProto->help->getAppUpdate(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/help_getConfig.md b/old_docs/API_docs_v57/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v57/methods/help_getConfig.md +++ b/old_docs/API_docs_v57/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/help_getInviteText.md b/old_docs/API_docs_v57/methods/help_getInviteText.md index 19fd0484..77e3acd1 100644 --- a/old_docs/API_docs_v57/methods/help_getInviteText.md +++ b/old_docs/API_docs_v57/methods/help_getInviteText.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_InviteText = $MadelineProto->help->getInviteText(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/help_getNearestDc.md b/old_docs/API_docs_v57/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v57/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v57/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/help_getSupport.md b/old_docs/API_docs_v57/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v57/methods/help_getSupport.md +++ b/old_docs/API_docs_v57/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/help_getTermsOfService.md b/old_docs/API_docs_v57/methods/help_getTermsOfService.md index e53dba71..14f1a976 100644 --- a/old_docs/API_docs_v57/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v57/methods/help_getTermsOfService.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_TermsOfService = $MadelineProto->help->getTermsOfService(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getTermsOfService +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getTermsOfService` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/help_saveAppLog.md b/old_docs/API_docs_v57/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v57/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v57/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/initConnection.md b/old_docs/API_docs_v57/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v57/methods/initConnection.md +++ b/old_docs/API_docs_v57/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/invokeAfterMsg.md b/old_docs/API_docs_v57/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v57/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v57/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/invokeAfterMsgs.md b/old_docs/API_docs_v57/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v57/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v57/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/invokeWithLayer.md b/old_docs/API_docs_v57/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v57/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v57/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v57/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_acceptEncryption.md b/old_docs/API_docs_v57/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v57/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v57/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_addChatUser.md b/old_docs/API_docs_v57/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v57/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v57/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_checkChatInvite.md b/old_docs/API_docs_v57/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v57/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md index f9a112f6..9e8a99a1 100644 --- a/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v57/methods/messages_clearRecentStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.clearRecentStickers +* params - {"attached":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.clearRecentStickers` + +Parameters: + +attached - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_createChat.md b/old_docs/API_docs_v57/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v57/methods/messages_createChat.md +++ b/old_docs/API_docs_v57/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_deleteChatUser.md b/old_docs/API_docs_v57/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v57/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_deleteHistory.md b/old_docs/API_docs_v57/methods/messages_deleteHistory.md index 4a3c7e3f..4e5321c6 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v57/methods/messages_deleteHistory.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +just_clear - Json encoded Bool +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_deleteMessages.md b/old_docs/API_docs_v57/methods/messages_deleteMessages.md index 1d1814ff..fe5aa0b5 100644 --- a/old_docs/API_docs_v57/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v57/methods/messages_deleteMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_discardEncryption.md b/old_docs/API_docs_v57/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v57/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v57/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_editChatAdmin.md b/old_docs/API_docs_v57/methods/messages_editChatAdmin.md index 515c2ede..2ad6d72c 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v57/methods/messages_editChatAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatAdmin +* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +is_admin - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_editChatPhoto.md b/old_docs/API_docs_v57/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v57/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_editChatTitle.md b/old_docs/API_docs_v57/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v57/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v57/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md index 19405712..4daa439f 100644 --- a/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editInlineBotMessage.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editInlineBotMessage +* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editInlineBotMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_editMessage.md b/old_docs/API_docs_v57/methods/messages_editMessage.md index 05410c5d..d405e718 100644 --- a/old_docs/API_docs_v57/methods/messages_editMessage.md +++ b/old_docs/API_docs_v57/methods/messages_editMessage.md @@ -42,6 +42,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editMessage +* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_exportChatInvite.md b/old_docs/API_docs_v57/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v57/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_forwardMessage.md b/old_docs/API_docs_v57/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v57/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v57/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_forwardMessages.md b/old_docs/API_docs_v57/methods/messages_forwardMessages.md index 8a83a735..f72fb809 100644 --- a/old_docs/API_docs_v57/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v57/methods/messages_forwardMessages.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"silent":"Bool","background":"Bool","with_my_score":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +with_my_score - Json encoded Bool +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getAllDrafts.md b/old_docs/API_docs_v57/methods/messages_getAllDrafts.md index 97807321..6039321d 100644 --- a/old_docs/API_docs_v57/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v57/methods/messages_getAllDrafts.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Updates = $MadelineProto->messages->getAllDrafts(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllDrafts +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllDrafts` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/messages_getAllStickers.md b/old_docs/API_docs_v57/methods/messages_getAllStickers.md index bc49bdd6..b2f1eb71 100644 --- a/old_docs/API_docs_v57/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md index 2ee3502c..a4abf13e 100644 --- a/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getArchivedStickers.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getArchivedStickers +* params - {"masks":"Bool","offset_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getArchivedStickers` + +Parameters: + +masks - Json encoded Bool +offset_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md index b15b1801..0a2b8ff2 100644 --- a/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getAttachedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAttachedStickers +* params - {"media":"InputStickeredMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAttachedStickers` + +Parameters: + +media - Json encoded InputStickeredMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md index 90f6b875..e61ca36e 100644 --- a/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v57/methods/messages_getBotCallbackAnswer.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getBotCallbackAnswer +* params - {"game":"Bool","peer":"InputPeer","msg_id":"int","data":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getBotCallbackAnswer` + +Parameters: + +game - Json encoded Bool +peer - Json encoded InputPeer +msg_id - Json encoded int +data - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getChats.md b/old_docs/API_docs_v57/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v57/methods/messages_getChats.md +++ b/old_docs/API_docs_v57/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getDhConfig.md b/old_docs/API_docs_v57/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v57/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v57/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getDialogs.md b/old_docs/API_docs_v57/methods/messages_getDialogs.md index 61fa3149..a0884730 100644 --- a/old_docs/API_docs_v57/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v57/methods/messages_getDialogs.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +offset_date - Json encoded int +offset_id - Json encoded int +offset_peer - Json encoded InputPeer +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md index 2daac691..ca541c7e 100644 --- a/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v57/methods/messages_getDocumentByHash.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDocumentByHash +* params - {"sha256":"bytes","size":"int","mime_type":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDocumentByHash` + +Parameters: + +sha256 - Json encoded bytes +size - Json encoded int +mime_type - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md index 5c51f4be..3bab2043 100644 --- a/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getFeaturedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFeaturedStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFeaturedStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getFullChat.md b/old_docs/API_docs_v57/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v57/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v57/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getGameHighScores.md b/old_docs/API_docs_v57/methods/messages_getGameHighScores.md index 8e3f69d8..07a25b7c 100644 --- a/old_docs/API_docs_v57/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages_getGameHighScores.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getGameHighScores +* params - {"peer":"InputPeer","id":"int","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getGameHighScores` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getHistory.md b/old_docs/API_docs_v57/methods/messages_getHistory.md index 9d54dd86..b976c6d5 100644 --- a/old_docs/API_docs_v57/methods/messages_getHistory.md +++ b/old_docs/API_docs_v57/methods/messages_getHistory.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +offset_date - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md index 0ad9e385..d3959eab 100644 --- a/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v57/methods/messages_getInlineBotResults.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineBotResults +* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineBotResults` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +geo_point - Json encoded InputGeoPoint +query - Json encoded string +offset - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md index 6811fba8..218bbc33 100644 --- a/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v57/methods/messages_getInlineGameHighScores.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineGameHighScores +* params - {"id":"InputBotInlineMessageID","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineGameHighScores` + +Parameters: + +id - Json encoded InputBotInlineMessageID +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getMaskStickers.md b/old_docs/API_docs_v57/methods/messages_getMaskStickers.md index 7aedd066..8d740e32 100644 --- a/old_docs/API_docs_v57/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getMaskStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMaskStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMaskStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getMessageEditData.md b/old_docs/API_docs_v57/methods/messages_getMessageEditData.md index eb2ea4e3..732fdff5 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v57/methods/messages_getMessageEditData.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessageEditData +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessageEditData` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getMessages.md b/old_docs/API_docs_v57/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessages.md +++ b/old_docs/API_docs_v57/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getMessagesViews.md b/old_docs/API_docs_v57/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/old_docs/API_docs_v57/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v57/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md index af44c1dd..bd191681 100644 --- a/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v57/methods/messages_getPeerDialogs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerDialogs +* params - {"peers":["InputPeer"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerDialogs` + +Parameters: + +peers - Json encoded array of InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getPeerSettings.md b/old_docs/API_docs_v57/methods/messages_getPeerSettings.md index 9a8817c0..b78406e9 100644 --- a/old_docs/API_docs_v57/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v57/methods/messages_getPeerSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerSettings +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerSettings` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getRecentStickers.md b/old_docs/API_docs_v57/methods/messages_getRecentStickers.md index 98b76d5e..1e07747d 100644 --- a/old_docs/API_docs_v57/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v57/methods/messages_getRecentStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getRecentStickers +* params - {"attached":"Bool","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getRecentStickers` + +Parameters: + +attached - Json encoded Bool +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getSavedGifs.md b/old_docs/API_docs_v57/methods/messages_getSavedGifs.md index c528873b..a7a0cbd2 100644 --- a/old_docs/API_docs_v57/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v57/methods/messages_getSavedGifs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getSavedGifs +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getSavedGifs` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getStickerSet.md b/old_docs/API_docs_v57/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v57/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v57/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_hideReportSpam.md b/old_docs/API_docs_v57/methods/messages_hideReportSpam.md index dbf882ee..9ddaa09c 100644 --- a/old_docs/API_docs_v57/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v57/methods/messages_hideReportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.hideReportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.hideReportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_importChatInvite.md b/old_docs/API_docs_v57/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v57/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v57/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_installStickerSet.md b/old_docs/API_docs_v57/methods/messages_installStickerSet.md index ad734572..6d1e701b 100644 --- a/old_docs/API_docs_v57/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","archived":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +archived - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_migrateChat.md b/old_docs/API_docs_v57/methods/messages_migrateChat.md index eaa988a7..1d8e1ca5 100644 --- a/old_docs/API_docs_v57/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v57/methods/messages_migrateChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.migrateChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.migrateChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v57/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md index 0526f0b5..5fc7a340 100644 --- a/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v57/methods/messages_readFeaturedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readFeaturedStickers +* params - {"id":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readFeaturedStickers` + +Parameters: + +id - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_readHistory.md b/old_docs/API_docs_v57/methods/messages_readHistory.md index c5ddb451..99ce0e57 100644 --- a/old_docs/API_docs_v57/methods/messages_readHistory.md +++ b/old_docs/API_docs_v57/methods/messages_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_readMessageContents.md b/old_docs/API_docs_v57/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v57/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v57/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_receivedMessages.md b/old_docs/API_docs_v57/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v57/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v57/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_receivedQueue.md b/old_docs/API_docs_v57/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v57/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v57/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md index 4cfc68ef..7ff0d995 100644 --- a/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v57/methods/messages_reorderStickerSets.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderStickerSets +* params - {"masks":"Bool","order":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderStickerSets` + +Parameters: + +masks - Json encoded Bool +order - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_reportSpam.md b/old_docs/API_docs_v57/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v57/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v57/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_requestEncryption.md b/old_docs/API_docs_v57/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v57/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v57/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_saveDraft.md b/old_docs/API_docs_v57/methods/messages_saveDraft.md index c28f8fd9..f683ea04 100644 --- a/old_docs/API_docs_v57/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v57/methods/messages_saveDraft.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveDraft +* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveDraft` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_saveGif.md b/old_docs/API_docs_v57/methods/messages_saveGif.md index 6a2269b5..c6a5e7ba 100644 --- a/old_docs/API_docs_v57/methods/messages_saveGif.md +++ b/old_docs/API_docs_v57/methods/messages_saveGif.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveGif +* params - {"id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveGif` + +Parameters: + +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md index 1acc5473..96f55049 100644 --- a/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v57/methods/messages_saveRecentSticker.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveRecentSticker +* params - {"attached":"Bool","id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveRecentSticker` + +Parameters: + +attached - Json encoded Bool +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_search.md b/old_docs/API_docs_v57/methods/messages_search.md index d53456d0..a0485ebe 100644 --- a/old_docs/API_docs_v57/methods/messages_search.md +++ b/old_docs/API_docs_v57/methods/messages_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_searchGifs.md b/old_docs/API_docs_v57/methods/messages_searchGifs.md index ca0934be..24658214 100644 --- a/old_docs/API_docs_v57/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v57/methods/messages_searchGifs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGifs +* params - {"q":"string","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGifs` + +Parameters: + +q - Json encoded string +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_searchGlobal.md b/old_docs/API_docs_v57/methods/messages_searchGlobal.md index 36f09366..0095015c 100644 --- a/old_docs/API_docs_v57/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v57/methods/messages_searchGlobal.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGlobal +* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGlobal` + +Parameters: + +q - Json encoded string +offset_date - Json encoded int +offset_peer - Json encoded InputPeer +offset_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_sendEncrypted.md b/old_docs/API_docs_v57/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v57/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md index 42eee3c3..c747e54b 100644 --- a/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v57/methods/messages_sendInlineBotResult.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendInlineBotResult +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendInlineBotResult` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +query_id - Json encoded long +id - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_sendMedia.md b/old_docs/API_docs_v57/methods/messages_sendMedia.md index 4f763d5e..05464ad5 100644 --- a/old_docs/API_docs_v57/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v57/methods/messages_sendMedia.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_sendMessage.md b/old_docs/API_docs_v57/methods/messages_sendMessage.md index b31fc6cc..6cc234c3 100644 --- a/old_docs/API_docs_v57/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v57/methods/messages_sendMessage.md @@ -45,6 +45,30 @@ if (isset($number)) { // Login as a user $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], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"no_webpage":"Bool","silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md index 2c0579db..e4483ee2 100644 --- a/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v57/methods/messages_setBotCallbackAnswer.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotCallbackAnswer +* params - {"alert":"Bool","query_id":"long","message":"string","url":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotCallbackAnswer` + +Parameters: + +alert - Json encoded Bool +query_id - Json encoded long +message - Json encoded string +url - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v57/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_setGameScore.md b/old_docs/API_docs_v57/methods/messages_setGameScore.md index 229087a0..59be1020 100644 --- a/old_docs/API_docs_v57/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v57/methods/messages_setGameScore.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setGameScore +* params - {"edit_message":"Bool","peer":"InputPeer","id":"int","user_id":"InputUser","score":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setGameScore` + +Parameters: + +edit_message - Json encoded Bool +peer - Json encoded InputPeer +id - Json encoded int +user_id - Json encoded InputUser +score - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md index 0ef74b32..5a2b1da0 100644 --- a/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v57/methods/messages_setInlineBotResults.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineBotResults +* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineBotResults` + +Parameters: + +gallery - Json encoded Bool +private - Json encoded Bool +query_id - Json encoded long +results - Json encoded array of InputBotInlineResult +cache_time - Json encoded int +next_offset - Json encoded string +switch_pm - Json encoded InlineBotSwitchPM + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md index 31d7bd4d..33269a66 100644 --- a/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v57/methods/messages_setInlineGameScore.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineGameScore +* params - {"edit_message":"Bool","id":"InputBotInlineMessageID","user_id":"InputUser","score":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineGameScore` + +Parameters: + +edit_message - Json encoded Bool +id - Json encoded InputBotInlineMessageID +user_id - Json encoded InputUser +score - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_setTyping.md b/old_docs/API_docs_v57/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v57/methods/messages_setTyping.md +++ b/old_docs/API_docs_v57/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_startBot.md b/old_docs/API_docs_v57/methods/messages_startBot.md index 58aadfab..93229d34 100644 --- a/old_docs/API_docs_v57/methods/messages_startBot.md +++ b/old_docs/API_docs_v57/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md index ec1809f3..2edb160a 100644 --- a/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v57/methods/messages_toggleChatAdmins.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleChatAdmins +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleChatAdmins` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v57/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/photos_deletePhotos.md b/old_docs/API_docs_v57/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v57/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v57/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/photos_getUserPhotos.md b/old_docs/API_docs_v57/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v57/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v57/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md index 46cb4c32..63f2ae84 100644 --- a/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v57/methods/photos_updateProfilePhoto.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md index d8c1f9ec..408a631f 100644 --- a/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v57/methods/photos_uploadProfilePhoto.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/updates_getChannelDifference.md b/old_docs/API_docs_v57/methods/updates_getChannelDifference.md index 6fe9722a..d2aedcea 100644 --- a/old_docs/API_docs_v57/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v57/methods/updates_getChannelDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/updates_getDifference.md b/old_docs/API_docs_v57/methods/updates_getDifference.md index 9aab53f6..db6dbd39 100644 --- a/old_docs/API_docs_v57/methods/updates_getDifference.md +++ b/old_docs/API_docs_v57/methods/updates_getDifference.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/updates_getState.md b/old_docs/API_docs_v57/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v57/methods/updates_getState.md +++ b/old_docs/API_docs_v57/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v57/methods/upload_getFile.md b/old_docs/API_docs_v57/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v57/methods/upload_getFile.md +++ b/old_docs/API_docs_v57/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v57/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/upload_saveFilePart.md b/old_docs/API_docs_v57/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v57/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v57/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/users_getFullUser.md b/old_docs/API_docs_v57/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v57/methods/users_getFullUser.md +++ b/old_docs/API_docs_v57/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v57/methods/users_getUsers.md b/old_docs/API_docs_v57/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v57/methods/users_getUsers.md +++ b/old_docs/API_docs_v57/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/constructors/accountDaysTTL.md b/old_docs/API_docs_v62/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v62/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v62/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/account_authorizations.md b/old_docs/API_docs_v62/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v62/constructors/account_authorizations.md +++ b/old_docs/API_docs_v62/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/account_noPassword.md b/old_docs/API_docs_v62/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v62/constructors/account_noPassword.md +++ b/old_docs/API_docs_v62/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/account_password.md b/old_docs/API_docs_v62/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v62/constructors/account_password.md +++ b/old_docs/API_docs_v62/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v62/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v62/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v62/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/account_passwordSettings.md b/old_docs/API_docs_v62/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v62/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v62/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/account_privacyRules.md b/old_docs/API_docs_v62/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v62/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v62/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/auth_authorization.md b/old_docs/API_docs_v62/constructors/auth_authorization.md index a162abcd..b59d5d96 100644 --- a/old_docs/API_docs_v62/constructors/auth_authorization.md +++ b/old_docs/API_docs_v62/constructors/auth_authorization.md @@ -25,6 +25,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","tmp_sessions":"int","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/auth_checkedPhone.md b/old_docs/API_docs_v62/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v62/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v62/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v62/constructors/auth_codeTypeCall.md index 6ac151ad..714eb23c 100644 --- a/old_docs/API_docs_v62/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v62/constructors/auth_codeTypeCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeCall attributes, type and example $auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md index a8c2bc05..c535eccf 100644 --- a/old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v62/constructors/auth_codeTypeFlashCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeFlashCall attributes, type and example $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeFlashCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v62/constructors/auth_codeTypeSms.md index aa7eccac..cbeb31cb 100644 --- a/old_docs/API_docs_v62/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v62/constructors/auth_codeTypeSms.md @@ -19,6 +19,13 @@ description: auth_codeTypeSms attributes, type and example $auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeSms"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v62/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v62/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v62/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v62/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/auth_sentCode.md b/old_docs/API_docs_v62/constructors/auth_sentCode.md index f3ac1809..51e2d458 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCode.md @@ -28,6 +28,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md index 84d05955..2456a284 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeApp.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeApp attributes, type and example $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeApp","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md index 889cec01..39745809 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeCall attributes, type and example $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeCall","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md index f5ec0920..2ba727ec 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeFlashCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md index 5c4075c1..4a350ff6 100644 --- a/old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v62/constructors/auth_sentCodeTypeSms.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeSms attributes, type and example $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeSms","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/authorization.md b/old_docs/API_docs_v62/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v62/constructors/authorization.md +++ b/old_docs/API_docs_v62/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/botCommand.md b/old_docs/API_docs_v62/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v62/constructors/botCommand.md +++ b/old_docs/API_docs_v62/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/botInfo.md b/old_docs/API_docs_v62/constructors/botInfo.md index 0fce4bf8..baaf28fd 100644 --- a/old_docs/API_docs_v62/constructors/botInfo.md +++ b/old_docs/API_docs_v62/constructors/botInfo.md @@ -26,6 +26,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/botInlineMediaResult.md b/old_docs/API_docs_v62/constructors/botInlineMediaResult.md index 147b4774..29854010 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v62/constructors/botInlineMediaResult.md @@ -30,6 +30,13 @@ description: botInlineMediaResult attributes, type and example $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v62/constructors/botInlineMessageMediaAuto.md index 694cf6ea..c652331d 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaAuto attributes, type and example $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v62/constructors/botInlineMessageMediaContact.md index f57e4752..5e57bf4f 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: botInlineMessageMediaContact attributes, type and example $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v62/constructors/botInlineMessageMediaGeo.md index 40ea4ca1..04a4abed 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaGeo attributes, type and example $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v62/constructors/botInlineMessageMediaVenue.md index 236f3cf1..6c08ee05 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: botInlineMessageMediaVenue attributes, type and example $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/botInlineMessageText.md b/old_docs/API_docs_v62/constructors/botInlineMessageText.md index 278fe01d..007acd3d 100644 --- a/old_docs/API_docs_v62/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v62/constructors/botInlineMessageText.md @@ -27,6 +27,13 @@ description: botInlineMessageText attributes, type and example $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/botInlineResult.md b/old_docs/API_docs_v62/constructors/botInlineResult.md index 839edda1..57255b6c 100644 --- a/old_docs/API_docs_v62/constructors/botInlineResult.md +++ b/old_docs/API_docs_v62/constructors/botInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channel.md b/old_docs/API_docs_v62/constructors/channel.md index 1a1db52f..86740c87 100644 --- a/old_docs/API_docs_v62/constructors/channel.md +++ b/old_docs/API_docs_v62/constructors/channel.md @@ -43,6 +43,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","creator":"Bool","kicked":"Bool","left":"Bool","editor":"Bool","moderator":"Bool","broadcast":"Bool","verified":"Bool","megagroup":"Bool","restricted":"Bool","democracy":"Bool","signatures":"Bool","min":"Bool","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int","restriction_reason":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelForbidden.md b/old_docs/API_docs_v62/constructors/channelForbidden.md index 5522fd5c..3d3a3a69 100644 --- a/old_docs/API_docs_v62/constructors/channelForbidden.md +++ b/old_docs/API_docs_v62/constructors/channelForbidden.md @@ -28,6 +28,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelFull.md b/old_docs/API_docs_v62/constructors/channelFull.md index 2b3387b7..ea66e000 100644 --- a/old_docs/API_docs_v62/constructors/channelFull.md +++ b/old_docs/API_docs_v62/constructors/channelFull.md @@ -40,6 +40,13 @@ description: channelFull attributes, type and example $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, '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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","can_view_participants":"Bool","can_set_username":"Bool","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":["BotInfo"],"migrated_from_chat_id":"int","migrated_from_max_id":"int","pinned_msg_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelMessagesFilter.md b/old_docs/API_docs_v62/constructors/channelMessagesFilter.md index b8b7725b..677f7356 100644 --- a/old_docs/API_docs_v62/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v62/constructors/channelMessagesFilter.md @@ -25,6 +25,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v62/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v62/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v62/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelParticipant.md b/old_docs/API_docs_v62/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipant.md +++ b/old_docs/API_docs_v62/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelParticipantCreator.md b/old_docs/API_docs_v62/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelParticipantEditor.md b/old_docs/API_docs_v62/constructors/channelParticipantEditor.md index 3c866534..64f84b38 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantEditor.md @@ -26,6 +26,13 @@ description: channelParticipantEditor attributes, type and example $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelParticipantKicked.md b/old_docs/API_docs_v62/constructors/channelParticipantKicked.md index 362872f9..4aedad4d 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantKicked.md @@ -26,6 +26,13 @@ description: channelParticipantKicked attributes, type and example $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelParticipantModerator.md b/old_docs/API_docs_v62/constructors/channelParticipantModerator.md index ff9a7094..634f9de8 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantModerator.md @@ -26,6 +26,13 @@ description: channelParticipantModerator attributes, type and example $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelParticipantSelf.md b/old_docs/API_docs_v62/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v62/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelParticipantsBots.md b/old_docs/API_docs_v62/constructors/channelParticipantsBots.md index 24b68c95..963f155e 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantsBots.md @@ -19,6 +19,13 @@ description: channelParticipantsBots attributes, type and example $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBots"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v62/constructors/channelParticipantsKicked.md index d7889060..37714c3e 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantsKicked.md @@ -19,6 +19,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v62/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/old_docs/API_docs_v62/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v62/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelRoleEditor.md b/old_docs/API_docs_v62/constructors/channelRoleEditor.md index 103b7ae5..fea2e406 100644 --- a/old_docs/API_docs_v62/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v62/constructors/channelRoleEditor.md @@ -19,6 +19,13 @@ description: channelRoleEditor attributes, type and example $channelRoleEditor = ['_' => 'channelRoleEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEditor"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelRoleEmpty.md b/old_docs/API_docs_v62/constructors/channelRoleEmpty.md index b5a7b52c..932c9fb4 100644 --- a/old_docs/API_docs_v62/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v62/constructors/channelRoleEmpty.md @@ -19,6 +19,13 @@ description: channelRoleEmpty attributes, type and example $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channelRoleModerator.md b/old_docs/API_docs_v62/constructors/channelRoleModerator.md index f3aaff68..5d6a37d1 100644 --- a/old_docs/API_docs_v62/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v62/constructors/channelRoleModerator.md @@ -19,6 +19,13 @@ description: channelRoleModerator attributes, type and example $channelRoleModerator = ['_' => 'channelRoleModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleModerator"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channels_channelParticipant.md b/old_docs/API_docs_v62/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/old_docs/API_docs_v62/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v62/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/channels_channelParticipants.md b/old_docs/API_docs_v62/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/old_docs/API_docs_v62/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v62/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chat.md b/old_docs/API_docs_v62/constructors/chat.md index 9bad67b3..70955e06 100644 --- a/old_docs/API_docs_v62/constructors/chat.md +++ b/old_docs/API_docs_v62/constructors/chat.md @@ -36,6 +36,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatEmpty.md b/old_docs/API_docs_v62/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v62/constructors/chatEmpty.md +++ b/old_docs/API_docs_v62/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatForbidden.md b/old_docs/API_docs_v62/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/old_docs/API_docs_v62/constructors/chatForbidden.md +++ b/old_docs/API_docs_v62/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatFull.md b/old_docs/API_docs_v62/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v62/constructors/chatFull.md +++ b/old_docs/API_docs_v62/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatInvite.md b/old_docs/API_docs_v62/constructors/chatInvite.md index 7f23c6b9..b818ebc8 100644 --- a/old_docs/API_docs_v62/constructors/chatInvite.md +++ b/old_docs/API_docs_v62/constructors/chatInvite.md @@ -31,6 +31,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string","photo":"ChatPhoto","participants_count":"int","participants":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatInviteAlready.md b/old_docs/API_docs_v62/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v62/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v62/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatInviteEmpty.md b/old_docs/API_docs_v62/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v62/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v62/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatInviteExported.md b/old_docs/API_docs_v62/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v62/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v62/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatParticipant.md b/old_docs/API_docs_v62/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipant.md +++ b/old_docs/API_docs_v62/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v62/constructors/chatParticipantAdmin.md index 6740c4a3..775f29c7 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v62/constructors/chatParticipantAdmin.md @@ -26,6 +26,13 @@ description: chatParticipantAdmin attributes, type and example $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatParticipantCreator.md b/old_docs/API_docs_v62/constructors/chatParticipantCreator.md index b80542a7..687dd93f 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v62/constructors/chatParticipantCreator.md @@ -24,6 +24,13 @@ description: chatParticipantCreator attributes, type and example $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatParticipants.md b/old_docs/API_docs_v62/constructors/chatParticipants.md index 2420f15e..c1602888 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipants.md +++ b/old_docs/API_docs_v62/constructors/chatParticipants.md @@ -26,6 +26,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v62/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/old_docs/API_docs_v62/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v62/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatPhoto.md b/old_docs/API_docs_v62/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v62/constructors/chatPhoto.md +++ b/old_docs/API_docs_v62/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v62/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v62/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v62/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/config.md b/old_docs/API_docs_v62/constructors/config.md index 2aefb385..24e7857c 100644 --- a/old_docs/API_docs_v62/constructors/config.md +++ b/old_docs/API_docs_v62/constructors/config.md @@ -52,6 +52,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'disabled_features' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","phonecalls_enabled":"Bool","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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","pinned_dialogs_count_max":"int","call_receive_timeout_ms":"int","call_ring_timeout_ms":"int","call_connect_timeout_ms":"int","call_packet_timeout_ms":"int","disabled_features":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contact.md b/old_docs/API_docs_v62/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v62/constructors/contact.md +++ b/old_docs/API_docs_v62/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contactBlocked.md b/old_docs/API_docs_v62/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v62/constructors/contactBlocked.md +++ b/old_docs/API_docs_v62/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contactLinkContact.md b/old_docs/API_docs_v62/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v62/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v62/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v62/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v62/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v62/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contactLinkNone.md b/old_docs/API_docs_v62/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v62/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v62/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contactLinkUnknown.md b/old_docs/API_docs_v62/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v62/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v62/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contactStatus.md b/old_docs/API_docs_v62/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v62/constructors/contactStatus.md +++ b/old_docs/API_docs_v62/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contacts_blocked.md b/old_docs/API_docs_v62/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v62/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v62/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v62/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v62/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v62/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contacts_contacts.md b/old_docs/API_docs_v62/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v62/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v62/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v62/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contacts_found.md b/old_docs/API_docs_v62/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/old_docs/API_docs_v62/constructors/contacts_found.md +++ b/old_docs/API_docs_v62/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contacts_importedContacts.md b/old_docs/API_docs_v62/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v62/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v62/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contacts_link.md b/old_docs/API_docs_v62/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v62/constructors/contacts_link.md +++ b/old_docs/API_docs_v62/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v62/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contacts_topPeers.md b/old_docs/API_docs_v62/constructors/contacts_topPeers.md index 0ef10578..d059cb80 100644 --- a/old_docs/API_docs_v62/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v62/constructors/contacts_topPeers.md @@ -26,6 +26,13 @@ description: contacts_topPeers attributes, type and example $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md index 9ab95116..ce380f72 100644 --- a/old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v62/constructors/contacts_topPeersNotModified.md @@ -19,6 +19,13 @@ description: contacts_topPeersNotModified attributes, type and example $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/dcOption.md b/old_docs/API_docs_v62/constructors/dcOption.md index c05fcca1..a44017bd 100644 --- a/old_docs/API_docs_v62/constructors/dcOption.md +++ b/old_docs/API_docs_v62/constructors/dcOption.md @@ -29,6 +29,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/destroy_auth_key_fail.md b/old_docs/API_docs_v62/constructors/destroy_auth_key_fail.md index b34c9ed3..00dececb 100644 --- a/old_docs/API_docs_v62/constructors/destroy_auth_key_fail.md +++ b/old_docs/API_docs_v62/constructors/destroy_auth_key_fail.md @@ -19,6 +19,13 @@ description: destroy_auth_key_fail attributes, type and example $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_auth_key_fail"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/destroy_auth_key_none.md b/old_docs/API_docs_v62/constructors/destroy_auth_key_none.md index bbaf778a..2d5ed5f3 100644 --- a/old_docs/API_docs_v62/constructors/destroy_auth_key_none.md +++ b/old_docs/API_docs_v62/constructors/destroy_auth_key_none.md @@ -19,6 +19,13 @@ description: destroy_auth_key_none attributes, type and example $destroy_auth_key_none = ['_' => 'destroy_auth_key_none', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_auth_key_none"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/destroy_auth_key_ok.md b/old_docs/API_docs_v62/constructors/destroy_auth_key_ok.md index e9038ea9..642a29c3 100644 --- a/old_docs/API_docs_v62/constructors/destroy_auth_key_ok.md +++ b/old_docs/API_docs_v62/constructors/destroy_auth_key_ok.md @@ -19,6 +19,13 @@ description: destroy_auth_key_ok attributes, type and example $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_auth_key_ok"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/dialog.md b/old_docs/API_docs_v62/constructors/dialog.md index 5309a2be..5c5c2008 100644 --- a/old_docs/API_docs_v62/constructors/dialog.md +++ b/old_docs/API_docs_v62/constructors/dialog.md @@ -32,6 +32,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'pinned' => Bool, '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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","pinned":"Bool","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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/disabledFeature.md b/old_docs/API_docs_v62/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v62/constructors/disabledFeature.md +++ b/old_docs/API_docs_v62/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/document.md b/old_docs/API_docs_v62/constructors/document.md index 5921896e..fdadf27d 100644 --- a/old_docs/API_docs_v62/constructors/document.md +++ b/old_docs/API_docs_v62/constructors/document.md @@ -32,6 +32,13 @@ 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' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","version":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v62/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/documentAttributeAudio.md b/old_docs/API_docs_v62/constructors/documentAttributeAudio.md index 83ba2eb9..74aa516d 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeAudio.md @@ -28,6 +28,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/documentAttributeFilename.md b/old_docs/API_docs_v62/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v62/constructors/documentAttributeHasStickers.md index 5345d27d..b09f783d 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeHasStickers.md @@ -19,6 +19,13 @@ description: documentAttributeHasStickers attributes, type and example $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeHasStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v62/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/documentAttributeSticker.md b/old_docs/API_docs_v62/constructors/documentAttributeSticker.md index 746b6fd0..77b8f437 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeSticker.md @@ -27,6 +27,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","mask":"Bool","alt":"string","stickerset":"InputStickerSet","mask_coords":"MaskCoords"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/documentAttributeVideo.md b/old_docs/API_docs_v62/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v62/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v62/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/documentEmpty.md b/old_docs/API_docs_v62/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v62/constructors/documentEmpty.md +++ b/old_docs/API_docs_v62/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/draftMessage.md b/old_docs/API_docs_v62/constructors/draftMessage.md index 9cbeec53..57d7d5c9 100644 --- a/old_docs/API_docs_v62/constructors/draftMessage.md +++ b/old_docs/API_docs_v62/constructors/draftMessage.md @@ -28,6 +28,13 @@ description: draftMessage attributes, type and example $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/draftMessageEmpty.md b/old_docs/API_docs_v62/constructors/draftMessageEmpty.md index 0ddfc989..4a9098b7 100644 --- a/old_docs/API_docs_v62/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v62/constructors/draftMessageEmpty.md @@ -19,6 +19,13 @@ description: draftMessageEmpty attributes, type and example $draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessageEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/encryptedChat.md b/old_docs/API_docs_v62/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChat.md +++ b/old_docs/API_docs_v62/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v62/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v62/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v62/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v62/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/encryptedChatRequested.md b/old_docs/API_docs_v62/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v62/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v62/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v62/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v62/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/encryptedFile.md b/old_docs/API_docs_v62/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v62/constructors/encryptedFile.md +++ b/old_docs/API_docs_v62/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v62/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v62/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v62/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/encryptedMessage.md b/old_docs/API_docs_v62/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v62/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v62/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/encryptedMessageService.md b/old_docs/API_docs_v62/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v62/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v62/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/error.md b/old_docs/API_docs_v62/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v62/constructors/error.md +++ b/old_docs/API_docs_v62/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/exportedMessageLink.md b/old_docs/API_docs_v62/constructors/exportedMessageLink.md index d151e98e..b6f0c21f 100644 --- a/old_docs/API_docs_v62/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v62/constructors/exportedMessageLink.md @@ -24,6 +24,13 @@ description: exportedMessageLink attributes, type and example $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"exportedMessageLink","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/fileLocation.md b/old_docs/API_docs_v62/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v62/constructors/fileLocation.md +++ b/old_docs/API_docs_v62/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v62/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v62/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v62/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/foundGif.md b/old_docs/API_docs_v62/constructors/foundGif.md index e241eabe..99a0faa0 100644 --- a/old_docs/API_docs_v62/constructors/foundGif.md +++ b/old_docs/API_docs_v62/constructors/foundGif.md @@ -29,6 +29,13 @@ description: foundGif attributes, type and example $foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/foundGifCached.md b/old_docs/API_docs_v62/constructors/foundGifCached.md index f73c07df..a73fb47c 100644 --- a/old_docs/API_docs_v62/constructors/foundGifCached.md +++ b/old_docs/API_docs_v62/constructors/foundGifCached.md @@ -26,6 +26,13 @@ description: foundGifCached attributes, type and example $foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/game.md b/old_docs/API_docs_v62/constructors/game.md index c3aa155d..3bb1dfe1 100644 --- a/old_docs/API_docs_v62/constructors/game.md +++ b/old_docs/API_docs_v62/constructors/game.md @@ -30,6 +30,13 @@ description: game attributes, type and example $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"game","id":"long","access_hash":"long","short_name":"string","title":"string","description":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/geoPoint.md b/old_docs/API_docs_v62/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v62/constructors/geoPoint.md +++ b/old_docs/API_docs_v62/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/geoPointEmpty.md b/old_docs/API_docs_v62/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v62/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v62/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/help_appChangelog.md b/old_docs/API_docs_v62/constructors/help_appChangelog.md index f02f2e9f..7d9ba834 100644 --- a/old_docs/API_docs_v62/constructors/help_appChangelog.md +++ b/old_docs/API_docs_v62/constructors/help_appChangelog.md @@ -26,6 +26,13 @@ description: help_appChangelog attributes, type and example $help_appChangelog = ['_' => 'help.appChangelog', 'message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelog","message":"string","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md b/old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md index abbb4865..f6ab5ace 100644 --- a/old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md +++ b/old_docs/API_docs_v62/constructors/help_appChangelogEmpty.md @@ -19,6 +19,13 @@ description: help_appChangelogEmpty attributes, type and example $help_appChangelogEmpty = ['_' => 'help.appChangelogEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appChangelogEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/help_appUpdate.md b/old_docs/API_docs_v62/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v62/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v62/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/help_inviteText.md b/old_docs/API_docs_v62/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v62/constructors/help_inviteText.md +++ b/old_docs/API_docs_v62/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/help_noAppUpdate.md b/old_docs/API_docs_v62/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v62/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v62/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/help_support.md b/old_docs/API_docs_v62/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v62/constructors/help_support.md +++ b/old_docs/API_docs_v62/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/help_termsOfService.md b/old_docs/API_docs_v62/constructors/help_termsOfService.md index a945b971..6af3d9e5 100644 --- a/old_docs/API_docs_v62/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v62/constructors/help_termsOfService.md @@ -24,6 +24,13 @@ description: help_termsOfService attributes, type and example $help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.termsOfService","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/highScore.md b/old_docs/API_docs_v62/constructors/highScore.md index 27b8ec02..8fe62af9 100644 --- a/old_docs/API_docs_v62/constructors/highScore.md +++ b/old_docs/API_docs_v62/constructors/highScore.md @@ -26,6 +26,13 @@ description: highScore attributes, type and example $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"highScore","pos":"int","user_id":"int","score":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/importedContact.md b/old_docs/API_docs_v62/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v62/constructors/importedContact.md +++ b/old_docs/API_docs_v62/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v62/constructors/inlineBotSwitchPM.md index 41ca65ac..86c0d9d4 100644 --- a/old_docs/API_docs_v62/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v62/constructors/inlineBotSwitchPM.md @@ -25,6 +25,13 @@ description: inlineBotSwitchPM attributes, type and example $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputAppEvent.md b/old_docs/API_docs_v62/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v62/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v62/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageGame.md index 5369ed7a..1a8bc54d 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageGame.md @@ -24,6 +24,13 @@ description: inputBotInlineMessageGame attributes, type and example $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageGame","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageID.md index 0d8d3f9e..757f7146 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageID.md @@ -26,6 +26,13 @@ description: inputBotInlineMessageID attributes, type and example $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaAuto.md index 75bb48f3..aa6b51df 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaContact.md index 754ce5ac..1bd6518f 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaGeo.md index 6eac346e..8c4f7ecc 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaVenue.md index ddb3c3fe..01e38309 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v62/constructors/inputBotInlineMessageText.md index 77de3cf6..c785cbed 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineMessageText.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageText attributes, type and example $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineResult.md b/old_docs/API_docs_v62/constructors/inputBotInlineResult.md index 9ff31ee5..ed68ad5c 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v62/constructors/inputBotInlineResultDocument.md index a5d9c466..15080274 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineResultDocument.md @@ -29,6 +29,13 @@ description: inputBotInlineResultDocument attributes, type and example $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v62/constructors/inputBotInlineResultGame.md index 0d5f96a7..be8f6f21 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineResultGame.md @@ -26,6 +26,13 @@ description: inputBotInlineResultGame attributes, type and example $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => string, 'short_name' => string, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultGame","id":"string","short_name":"string","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v62/constructors/inputBotInlineResultPhoto.md index ca2c6b7a..bbc38a5a 100644 --- a/old_docs/API_docs_v62/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputBotInlineResultPhoto.md @@ -27,6 +27,13 @@ description: inputBotInlineResultPhoto attributes, type and example $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputChannel.md b/old_docs/API_docs_v62/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/old_docs/API_docs_v62/constructors/inputChannel.md +++ b/old_docs/API_docs_v62/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputChannelEmpty.md b/old_docs/API_docs_v62/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/old_docs/API_docs_v62/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputChatPhoto.md b/old_docs/API_docs_v62/constructors/inputChatPhoto.md index 8d46e6c3..aa98b610 100644 --- a/old_docs/API_docs_v62/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputChatPhoto.md @@ -24,6 +24,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v62/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v62/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v62/constructors/inputChatUploadedPhoto.md index eec015d4..ce3b4224 100644 --- a/old_docs/API_docs_v62/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputChatUploadedPhoto.md @@ -24,6 +24,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputDocument.md b/old_docs/API_docs_v62/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v62/constructors/inputDocument.md +++ b/old_docs/API_docs_v62/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v62/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v62/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v62/constructors/inputDocumentFileLocation.md index 41e520bb..b13feb4a 100644 --- a/old_docs/API_docs_v62/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v62/constructors/inputDocumentFileLocation.md @@ -26,6 +26,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputEncryptedChat.md b/old_docs/API_docs_v62/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputEncryptedFile.md b/old_docs/API_docs_v62/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v62/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v62/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v62/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v62/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v62/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v62/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputFile.md b/old_docs/API_docs_v62/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v62/constructors/inputFile.md +++ b/old_docs/API_docs_v62/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputFileBig.md b/old_docs/API_docs_v62/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v62/constructors/inputFileBig.md +++ b/old_docs/API_docs_v62/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputFileLocation.md b/old_docs/API_docs_v62/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v62/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v62/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputGameID.md b/old_docs/API_docs_v62/constructors/inputGameID.md index 287e2543..c8ce7efc 100644 --- a/old_docs/API_docs_v62/constructors/inputGameID.md +++ b/old_docs/API_docs_v62/constructors/inputGameID.md @@ -25,6 +25,13 @@ description: inputGameID attributes, type and example $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGameID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputGameShortName.md b/old_docs/API_docs_v62/constructors/inputGameShortName.md index eaad7dd7..82671253 100644 --- a/old_docs/API_docs_v62/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v62/constructors/inputGameShortName.md @@ -25,6 +25,13 @@ description: inputGameShortName attributes, type and example $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGameShortName","bot_id":"InputUser","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputGeoPoint.md b/old_docs/API_docs_v62/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v62/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v62/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v62/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v62/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMediaContact.md b/old_docs/API_docs_v62/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v62/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMediaDocument.md b/old_docs/API_docs_v62/constructors/inputMediaDocument.md index 1959cc4e..89ef5bdc 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v62/constructors/inputMediaDocument.md @@ -25,6 +25,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v62/constructors/inputMediaDocumentExternal.md index a56856ec..df91c315 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v62/constructors/inputMediaDocumentExternal.md @@ -25,6 +25,13 @@ description: inputMediaDocumentExternal attributes, type and example $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocumentExternal","url":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMediaEmpty.md b/old_docs/API_docs_v62/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMediaGame.md b/old_docs/API_docs_v62/constructors/inputMediaGame.md index 91b7bc9a..399f03c0 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v62/constructors/inputMediaGame.md @@ -24,6 +24,13 @@ description: inputMediaGame attributes, type and example $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGame","id":"InputGame"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v62/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v62/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v62/constructors/inputMediaGifExternal.md index af227d69..284e3cdd 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v62/constructors/inputMediaGifExternal.md @@ -25,6 +25,13 @@ description: inputMediaGifExternal attributes, type and example $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGifExternal","url":"string","q":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMediaPhoto.md b/old_docs/API_docs_v62/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v62/constructors/inputMediaPhotoExternal.md index b8115970..b50c9771 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v62/constructors/inputMediaPhotoExternal.md @@ -25,6 +25,13 @@ description: inputMediaPhotoExternal attributes, type and example $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhotoExternal","url":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v62/constructors/inputMediaUploadedDocument.md index 7a74f1d6..f88ff5f0 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v62/constructors/inputMediaUploadedDocument.md @@ -28,6 +28,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v62/constructors/inputMediaUploadedPhoto.md index 338e998b..ee07669d 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputMediaUploadedPhoto.md @@ -26,6 +26,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v62/constructors/inputMediaUploadedThumbDocument.md index 2e08e76d..fcbbab79 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v62/constructors/inputMediaUploadedThumbDocument.md @@ -29,6 +29,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMediaVenue.md b/old_docs/API_docs_v62/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v62/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v62/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v62/constructors/inputMessageEntityMentionName.md index ba7132d5..9465bf2b 100644 --- a/old_docs/API_docs_v62/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v62/constructors/inputMessageEntityMentionName.md @@ -26,6 +26,13 @@ description: inputMessageEntityMentionName attributes, type and example $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterChatPhotos.md index 06e4b6ed..7a78f5c4 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterChatPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterChatPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterGif.md index 02da8091..31be8767 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterGif.md @@ -19,6 +19,13 @@ description: inputMessagesFilterGif attributes, type and example $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterMusic.md index 2b211ca0..99111007 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterMusic.md @@ -19,6 +19,13 @@ description: inputMessagesFilterMusic attributes, type and example $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterMusic"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhoneCalls.md index e9193dc8..70531f22 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhoneCalls.md @@ -24,6 +24,13 @@ description: inputMessagesFilterPhoneCalls attributes, type and example $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhoneCalls","missed":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v62/constructors/inputMessagesFilterVoice.md index 1318e465..f111a3df 100644 --- a/old_docs/API_docs_v62/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v62/constructors/inputMessagesFilterVoice.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVoice attributes, type and example $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVoice"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputNotifyAll.md b/old_docs/API_docs_v62/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v62/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v62/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputNotifyChats.md b/old_docs/API_docs_v62/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v62/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v62/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputNotifyPeer.md b/old_docs/API_docs_v62/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v62/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v62/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputNotifyUsers.md b/old_docs/API_docs_v62/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v62/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v62/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPeerChannel.md b/old_docs/API_docs_v62/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v62/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPeerChat.md b/old_docs/API_docs_v62/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v62/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPeerEmpty.md b/old_docs/API_docs_v62/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v62/constructors/inputPeerNotifySettings.md index d8db7388..6676a2f6 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v62/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPeerSelf.md b/old_docs/API_docs_v62/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v62/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPeerUser.md b/old_docs/API_docs_v62/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v62/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v62/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPhoneCall.md b/old_docs/API_docs_v62/constructors/inputPhoneCall.md index 6f2c73f5..f9099021 100644 --- a/old_docs/API_docs_v62/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v62/constructors/inputPhoneCall.md @@ -25,6 +25,13 @@ description: inputPhoneCall attributes, type and example $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneCall","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPhoneContact.md b/old_docs/API_docs_v62/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v62/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v62/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPhoto.md b/old_docs/API_docs_v62/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v62/constructors/inputPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v62/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v62/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v62/constructors/inputPrivacyKeyChatInvite.md index 43210930..293e876d 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v62/constructors/inputPrivacyKeyPhoneCall.md index fdfe3360..ba97f5df 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyKeyPhoneCall.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyPhoneCall attributes, type and example $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyPhoneCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v62/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v62/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputReportReasonOther.md b/old_docs/API_docs_v62/constructors/inputReportReasonOther.md index 547711c4..ffd351a0 100644 --- a/old_docs/API_docs_v62/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v62/constructors/inputReportReasonOther.md @@ -24,6 +24,13 @@ description: inputReportReasonOther attributes, type and example $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonOther","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v62/constructors/inputReportReasonPornography.md index f73c6f4d..866d691c 100644 --- a/old_docs/API_docs_v62/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v62/constructors/inputReportReasonPornography.md @@ -19,6 +19,13 @@ description: inputReportReasonPornography attributes, type and example $inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonPornography"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v62/constructors/inputReportReasonSpam.md index ea2a9257..4cf6f414 100644 --- a/old_docs/API_docs_v62/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v62/constructors/inputReportReasonSpam.md @@ -19,6 +19,13 @@ description: inputReportReasonSpam attributes, type and example $inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonSpam"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v62/constructors/inputReportReasonViolence.md index 18a2ba4c..f2046d6e 100644 --- a/old_docs/API_docs_v62/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v62/constructors/inputReportReasonViolence.md @@ -19,6 +19,13 @@ description: inputReportReasonViolence attributes, type and example $inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonViolence"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v62/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v62/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputStickerSetID.md b/old_docs/API_docs_v62/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v62/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v62/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v62/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v62/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v62/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v62/constructors/inputStickeredMediaDocument.md index 59ce4e3e..e7a64e8c 100644 --- a/old_docs/API_docs_v62/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v62/constructors/inputStickeredMediaDocument.md @@ -24,6 +24,13 @@ description: inputStickeredMediaDocument attributes, type and example $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickeredMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v62/constructors/inputStickeredMediaPhoto.md index e48fb0e3..d909033a 100644 --- a/old_docs/API_docs_v62/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v62/constructors/inputStickeredMediaPhoto.md @@ -24,6 +24,13 @@ description: inputStickeredMediaPhoto attributes, type and example $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickeredMediaPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputUser.md b/old_docs/API_docs_v62/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v62/constructors/inputUser.md +++ b/old_docs/API_docs_v62/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputUserEmpty.md b/old_docs/API_docs_v62/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v62/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v62/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/inputUserSelf.md b/old_docs/API_docs_v62/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v62/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v62/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/keyboardButton.md b/old_docs/API_docs_v62/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButton.md +++ b/old_docs/API_docs_v62/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v62/constructors/keyboardButtonCallback.md index 1fe8571c..27bc68b8 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonCallback.md @@ -25,6 +25,13 @@ description: keyboardButtonCallback attributes, type and example $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonGame.md b/old_docs/API_docs_v62/constructors/keyboardButtonGame.md index 170831e1..a8569aed 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonGame.md @@ -24,6 +24,13 @@ description: keyboardButtonGame attributes, type and example $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonGame","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v62/constructors/keyboardButtonRequestGeoLocation.md index 05cfd3cb..38cdc756 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonRequestGeoLocation.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestGeoLocation","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v62/constructors/keyboardButtonRequestPhone.md index cbff4adb..9c76c330 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonRequestPhone.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestPhone attributes, type and example $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestPhone","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonRow.md b/old_docs/API_docs_v62/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v62/constructors/keyboardButtonSwitchInline.md index d93e0087..76688727 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonSwitchInline.md @@ -26,6 +26,13 @@ description: keyboardButtonSwitchInline attributes, type and example $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => string, 'query' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonSwitchInline","same_peer":"Bool","text":"string","query":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v62/constructors/keyboardButtonUrl.md index a6411824..bf60dc2a 100644 --- a/old_docs/API_docs_v62/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v62/constructors/keyboardButtonUrl.md @@ -25,6 +25,13 @@ description: keyboardButtonUrl attributes, type and example $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonUrl","text":"string","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/maskCoords.md b/old_docs/API_docs_v62/constructors/maskCoords.md index a0779629..72c25c0e 100644 --- a/old_docs/API_docs_v62/constructors/maskCoords.md +++ b/old_docs/API_docs_v62/constructors/maskCoords.md @@ -27,6 +27,13 @@ description: maskCoords attributes, type and example $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"maskCoords","n":"int","x":"double","y":"double","zoom":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/message.md b/old_docs/API_docs_v62/constructors/message.md index 135401c5..cce1fc65 100644 --- a/old_docs/API_docs_v62/constructors/message.md +++ b/old_docs/API_docs_v62/constructors/message.md @@ -41,6 +41,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, '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' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","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":["MessageEntity"],"views":"int","edit_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v62/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v62/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v62/constructors/messageActionChannelMigrateFrom.md index d15c0bf3..b63de131 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v62/constructors/messageActionChannelMigrateFrom.md @@ -25,6 +25,13 @@ description: messageActionChannelMigrateFrom attributes, type and example $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v62/constructors/messageActionChatAddUser.md index 135e16de..5edc7d3b 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionChatCreate.md b/old_docs/API_docs_v62/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v62/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v62/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v62/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v62/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v62/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v62/constructors/messageActionChatMigrateTo.md index fda20a24..7214d295 100644 --- a/old_docs/API_docs_v62/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v62/constructors/messageActionChatMigrateTo.md @@ -24,6 +24,13 @@ description: messageActionChatMigrateTo attributes, type and example $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionEmpty.md b/old_docs/API_docs_v62/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v62/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v62/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionGameScore.md b/old_docs/API_docs_v62/constructors/messageActionGameScore.md index b94e0cf5..0f498dab 100644 --- a/old_docs/API_docs_v62/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v62/constructors/messageActionGameScore.md @@ -25,6 +25,13 @@ description: messageActionGameScore attributes, type and example $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionGameScore","game_id":"long","score":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v62/constructors/messageActionHistoryClear.md index 02160753..d576d087 100644 --- a/old_docs/API_docs_v62/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v62/constructors/messageActionHistoryClear.md @@ -19,6 +19,13 @@ description: messageActionHistoryClear attributes, type and example $messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionHistoryClear"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v62/constructors/messageActionPhoneCall.md index ca360e23..6eed4cd3 100644 --- a/old_docs/API_docs_v62/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v62/constructors/messageActionPhoneCall.md @@ -26,6 +26,13 @@ description: messageActionPhoneCall attributes, type and example $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPhoneCall","call_id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageActionPinMessage.md b/old_docs/API_docs_v62/constructors/messageActionPinMessage.md index 05443bcc..c8595522 100644 --- a/old_docs/API_docs_v62/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v62/constructors/messageActionPinMessage.md @@ -19,6 +19,13 @@ description: messageActionPinMessage attributes, type and example $messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPinMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageEmpty.md b/old_docs/API_docs_v62/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v62/constructors/messageEmpty.md +++ b/old_docs/API_docs_v62/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageEntityBold.md b/old_docs/API_docs_v62/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v62/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v62/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v62/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageEntityCode.md b/old_docs/API_docs_v62/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v62/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageEntityEmail.md b/old_docs/API_docs_v62/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v62/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageEntityHashtag.md b/old_docs/API_docs_v62/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v62/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageEntityItalic.md b/old_docs/API_docs_v62/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v62/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageEntityMention.md b/old_docs/API_docs_v62/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v62/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageEntityMentionName.md b/old_docs/API_docs_v62/constructors/messageEntityMentionName.md index 7d3947db..2eb6439b 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v62/constructors/messageEntityMentionName.md @@ -26,6 +26,13 @@ description: messageEntityMentionName attributes, type and example $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageEntityPre.md b/old_docs/API_docs_v62/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v62/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v62/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v62/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageEntityUnknown.md b/old_docs/API_docs_v62/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v62/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageEntityUrl.md b/old_docs/API_docs_v62/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v62/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v62/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageFwdHeader.md b/old_docs/API_docs_v62/constructors/messageFwdHeader.md index 80baa30c..15b5b5f3 100644 --- a/old_docs/API_docs_v62/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v62/constructors/messageFwdHeader.md @@ -27,6 +27,13 @@ description: messageFwdHeader attributes, type and example $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageMediaContact.md b/old_docs/API_docs_v62/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v62/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageMediaDocument.md b/old_docs/API_docs_v62/constructors/messageMediaDocument.md index 66a67150..0fc6558b 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v62/constructors/messageMediaDocument.md @@ -25,6 +25,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageMediaEmpty.md b/old_docs/API_docs_v62/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v62/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageMediaGame.md b/old_docs/API_docs_v62/constructors/messageMediaGame.md index 7a5e9dbc..349b9023 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v62/constructors/messageMediaGame.md @@ -24,6 +24,13 @@ description: messageMediaGame attributes, type and example $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGame","game":"Game"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageMediaGeo.md b/old_docs/API_docs_v62/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v62/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageMediaPhoto.md b/old_docs/API_docs_v62/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v62/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v62/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v62/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageMediaVenue.md b/old_docs/API_docs_v62/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v62/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageMediaWebPage.md b/old_docs/API_docs_v62/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v62/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v62/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageRange.md b/old_docs/API_docs_v62/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v62/constructors/messageRange.md +++ b/old_docs/API_docs_v62/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messageService.md b/old_docs/API_docs_v62/constructors/messageService.md index 2b2990c5..558cc6c9 100644 --- a/old_docs/API_docs_v62/constructors/messageService.md +++ b/old_docs/API_docs_v62/constructors/messageService.md @@ -34,6 +34,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","id":"int","from_id":"int","to_id":"Peer","reply_to_msg_id":"int","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_affectedHistory.md b/old_docs/API_docs_v62/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v62/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v62/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_affectedMessages.md b/old_docs/API_docs_v62/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v62/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v62/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_allStickers.md b/old_docs/API_docs_v62/constructors/messages_allStickers.md index 7a5fe6af..a16f30e8 100644 --- a/old_docs/API_docs_v62/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v62/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_archivedStickers.md b/old_docs/API_docs_v62/constructors/messages_archivedStickers.md index c04ebb81..7cc54d64 100644 --- a/old_docs/API_docs_v62/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v62/constructors/messages_archivedStickers.md @@ -25,6 +25,13 @@ description: messages_archivedStickers attributes, type and example $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.archivedStickers","count":"int","sets":["StickerSetCovered"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md index 122fed81..d60a5957 100644 --- a/old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v62/constructors/messages_botCallbackAnswer.md @@ -28,6 +28,13 @@ description: messages_botCallbackAnswer attributes, type and example $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, 'cache_time' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botCallbackAnswer","alert":"Bool","has_url":"Bool","message":"string","url":"string","cache_time":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_botResults.md b/old_docs/API_docs_v62/constructors/messages_botResults.md index 4b893535..8b1a8efc 100644 --- a/old_docs/API_docs_v62/constructors/messages_botResults.md +++ b/old_docs/API_docs_v62/constructors/messages_botResults.md @@ -29,6 +29,13 @@ description: messages_botResults attributes, type and example $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"],"cache_time":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_channelMessages.md b/old_docs/API_docs_v62/constructors/messages_channelMessages.md index e1e8ab16..4c5e4839 100644 --- a/old_docs/API_docs_v62/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v62/constructors/messages_channelMessages.md @@ -28,6 +28,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_chatFull.md b/old_docs/API_docs_v62/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v62/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v62/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_chats.md b/old_docs/API_docs_v62/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v62/constructors/messages_chats.md +++ b/old_docs/API_docs_v62/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_chatsSlice.md b/old_docs/API_docs_v62/constructors/messages_chatsSlice.md index a9ad638d..ddd00630 100644 --- a/old_docs/API_docs_v62/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v62/constructors/messages_chatsSlice.md @@ -25,6 +25,13 @@ description: messages_chatsSlice attributes, type and example $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatsSlice","count":"int","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_dhConfig.md b/old_docs/API_docs_v62/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v62/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v62/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_dialogs.md b/old_docs/API_docs_v62/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v62/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v62/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v62/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v62/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v62/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_featuredStickers.md b/old_docs/API_docs_v62/constructors/messages_featuredStickers.md index c4884d2e..beae5c36 100644 --- a/old_docs/API_docs_v62/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v62/constructors/messages_featuredStickers.md @@ -26,6 +26,13 @@ description: messages_featuredStickers attributes, type and example $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.featuredStickers","hash":"int","sets":["StickerSetCovered"],"unread":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md index 45036248..033dd647 100644 --- a/old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_featuredStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_featuredStickersNotModified attributes, type and example $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.featuredStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_foundGifs.md b/old_docs/API_docs_v62/constructors/messages_foundGifs.md index 5db1a1db..7cf2eaac 100644 --- a/old_docs/API_docs_v62/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v62/constructors/messages_foundGifs.md @@ -25,6 +25,13 @@ description: messages_foundGifs attributes, type and example $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_highScores.md b/old_docs/API_docs_v62/constructors/messages_highScores.md index 989bb2a3..6fdb3222 100644 --- a/old_docs/API_docs_v62/constructors/messages_highScores.md +++ b/old_docs/API_docs_v62/constructors/messages_highScores.md @@ -25,6 +25,13 @@ description: messages_highScores attributes, type and example $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.highScores","scores":["HighScore"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_messageEditData.md b/old_docs/API_docs_v62/constructors/messages_messageEditData.md index 84fede7d..f04529f4 100644 --- a/old_docs/API_docs_v62/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v62/constructors/messages_messageEditData.md @@ -24,6 +24,13 @@ description: messages_messageEditData attributes, type and example $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messageEditData","caption":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_messages.md b/old_docs/API_docs_v62/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v62/constructors/messages_messages.md +++ b/old_docs/API_docs_v62/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_messagesSlice.md b/old_docs/API_docs_v62/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v62/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v62/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_peerDialogs.md b/old_docs/API_docs_v62/constructors/messages_peerDialogs.md index 3f6ba7b2..ba596c19 100644 --- a/old_docs/API_docs_v62/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v62/constructors/messages_peerDialogs.md @@ -28,6 +28,13 @@ description: messages_peerDialogs attributes, type and example $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_recentStickers.md b/old_docs/API_docs_v62/constructors/messages_recentStickers.md index ec13359e..89cc7c7b 100644 --- a/old_docs/API_docs_v62/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v62/constructors/messages_recentStickers.md @@ -25,6 +25,13 @@ description: messages_recentStickers attributes, type and example $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.recentStickers","hash":"int","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md index fd4553c8..d4c2f39a 100644 --- a/old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_recentStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_recentStickersNotModified attributes, type and example $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.recentStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_savedGifs.md b/old_docs/API_docs_v62/constructors/messages_savedGifs.md index dfcab426..6077da46 100644 --- a/old_docs/API_docs_v62/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v62/constructors/messages_savedGifs.md @@ -25,6 +25,13 @@ description: messages_savedGifs attributes, type and example $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md index 78292bdb..6f35f43d 100644 --- a/old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_savedGifsNotModified.md @@ -19,6 +19,13 @@ description: messages_savedGifsNotModified attributes, type and example $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v62/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v62/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_stickerSet.md b/old_docs/API_docs_v62/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v62/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md index 92b2c31e..a56dbf2b 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultArchive.md @@ -24,6 +24,13 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSetInstallResultArchive","sets":["StickerSetCovered"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md index c3d79b4f..269af099 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v62/constructors/messages_stickerSetInstallResultSuccess.md @@ -19,6 +19,13 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSetInstallResultSuccess"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_stickers.md b/old_docs/API_docs_v62/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickers.md +++ b/old_docs/API_docs_v62/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v62/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v62/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v62/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/nearestDc.md b/old_docs/API_docs_v62/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v62/constructors/nearestDc.md +++ b/old_docs/API_docs_v62/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/notifyAll.md b/old_docs/API_docs_v62/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v62/constructors/notifyAll.md +++ b/old_docs/API_docs_v62/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/notifyChats.md b/old_docs/API_docs_v62/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v62/constructors/notifyChats.md +++ b/old_docs/API_docs_v62/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/notifyPeer.md b/old_docs/API_docs_v62/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v62/constructors/notifyPeer.md +++ b/old_docs/API_docs_v62/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/notifyUsers.md b/old_docs/API_docs_v62/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v62/constructors/notifyUsers.md +++ b/old_docs/API_docs_v62/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockAnchor.md b/old_docs/API_docs_v62/constructors/pageBlockAnchor.md index b5f2dda9..7e7e3582 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v62/constructors/pageBlockAnchor.md @@ -24,6 +24,13 @@ description: pageBlockAnchor attributes, type and example $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockAnchor","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockAuthorDate.md b/old_docs/API_docs_v62/constructors/pageBlockAuthorDate.md index 3fe84037..b30337e1 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v62/constructors/pageBlockAuthorDate.md @@ -25,6 +25,13 @@ description: pageBlockAuthorDate attributes, type and example $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockAuthorDate","author":"RichText","published_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockBlockquote.md b/old_docs/API_docs_v62/constructors/pageBlockBlockquote.md index d020e7d4..03b93ab7 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v62/constructors/pageBlockBlockquote.md @@ -25,6 +25,13 @@ description: pageBlockBlockquote attributes, type and example $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockBlockquote","text":"RichText","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockCollage.md b/old_docs/API_docs_v62/constructors/pageBlockCollage.md index 74c40f44..7ae744f5 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v62/constructors/pageBlockCollage.md @@ -25,6 +25,13 @@ description: pageBlockCollage attributes, type and example $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock], 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockCollage","items":["PageBlock"],"caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockCover.md b/old_docs/API_docs_v62/constructors/pageBlockCover.md index 9ae62342..5c91d850 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v62/constructors/pageBlockCover.md @@ -24,6 +24,13 @@ description: pageBlockCover attributes, type and example $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockCover","cover":"PageBlock"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockDivider.md b/old_docs/API_docs_v62/constructors/pageBlockDivider.md index 81b90d28..03b6b756 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v62/constructors/pageBlockDivider.md @@ -19,6 +19,13 @@ description: pageBlockDivider attributes, type and example $pageBlockDivider = ['_' => 'pageBlockDivider', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockDivider"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockEmbed.md b/old_docs/API_docs_v62/constructors/pageBlockEmbed.md index 1b0887b7..acc257b8 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v62/constructors/pageBlockEmbed.md @@ -31,6 +31,13 @@ description: pageBlockEmbed attributes, type and example $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => string, 'html' => string, 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockEmbed","full_width":"Bool","allow_scrolling":"Bool","url":"string","html":"string","poster_photo_id":"long","w":"int","h":"int","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockEmbedPost.md b/old_docs/API_docs_v62/constructors/pageBlockEmbedPost.md index 8edfb4a1..7bd9a9cf 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v62/constructors/pageBlockEmbedPost.md @@ -30,6 +30,13 @@ description: pageBlockEmbedPost attributes, type and example $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => string, 'webpage_id' => long, 'author_photo_id' => long, 'author' => string, 'date' => int, 'blocks' => [PageBlock], 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockEmbedPost","url":"string","webpage_id":"long","author_photo_id":"long","author":"string","date":"int","blocks":["PageBlock"],"caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockFooter.md b/old_docs/API_docs_v62/constructors/pageBlockFooter.md index 94bc6666..b35e731e 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v62/constructors/pageBlockFooter.md @@ -24,6 +24,13 @@ description: pageBlockFooter attributes, type and example $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockFooter","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockHeader.md b/old_docs/API_docs_v62/constructors/pageBlockHeader.md index ed536e6e..69fb595d 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v62/constructors/pageBlockHeader.md @@ -24,6 +24,13 @@ description: pageBlockHeader attributes, type and example $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockHeader","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockList.md b/old_docs/API_docs_v62/constructors/pageBlockList.md index 4797dbcb..e3608efe 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockList.md +++ b/old_docs/API_docs_v62/constructors/pageBlockList.md @@ -25,6 +25,13 @@ description: pageBlockList attributes, type and example $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockList","ordered":"Bool","items":["RichText"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockParagraph.md b/old_docs/API_docs_v62/constructors/pageBlockParagraph.md index 4a8b62fd..c3cae789 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v62/constructors/pageBlockParagraph.md @@ -24,6 +24,13 @@ description: pageBlockParagraph attributes, type and example $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockParagraph","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockPhoto.md b/old_docs/API_docs_v62/constructors/pageBlockPhoto.md index 3deea303..cd89acb3 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v62/constructors/pageBlockPhoto.md @@ -25,6 +25,13 @@ description: pageBlockPhoto attributes, type and example $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockPhoto","photo_id":"long","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockPreformatted.md b/old_docs/API_docs_v62/constructors/pageBlockPreformatted.md index 38747e45..7fb3de67 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v62/constructors/pageBlockPreformatted.md @@ -25,6 +25,13 @@ description: pageBlockPreformatted attributes, type and example $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockPreformatted","text":"RichText","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockPullquote.md b/old_docs/API_docs_v62/constructors/pageBlockPullquote.md index 85a8ceed..12c9fc4c 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v62/constructors/pageBlockPullquote.md @@ -25,6 +25,13 @@ description: pageBlockPullquote attributes, type and example $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockPullquote","text":"RichText","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockSlideshow.md b/old_docs/API_docs_v62/constructors/pageBlockSlideshow.md index c71f0e90..de0d384c 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v62/constructors/pageBlockSlideshow.md @@ -25,6 +25,13 @@ description: pageBlockSlideshow attributes, type and example $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock], 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockSlideshow","items":["PageBlock"],"caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockSubheader.md b/old_docs/API_docs_v62/constructors/pageBlockSubheader.md index 495b6196..7efc0a7c 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v62/constructors/pageBlockSubheader.md @@ -24,6 +24,13 @@ description: pageBlockSubheader attributes, type and example $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockSubheader","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockSubtitle.md b/old_docs/API_docs_v62/constructors/pageBlockSubtitle.md index cc359365..6551b737 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v62/constructors/pageBlockSubtitle.md @@ -24,6 +24,13 @@ description: pageBlockSubtitle attributes, type and example $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockSubtitle","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockTitle.md b/old_docs/API_docs_v62/constructors/pageBlockTitle.md index cd3cc8e3..75f47508 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v62/constructors/pageBlockTitle.md @@ -24,6 +24,13 @@ description: pageBlockTitle attributes, type and example $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockTitle","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockUnsupported.md b/old_docs/API_docs_v62/constructors/pageBlockUnsupported.md index 59275dda..5b7d881f 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v62/constructors/pageBlockUnsupported.md @@ -19,6 +19,13 @@ description: pageBlockUnsupported attributes, type and example $pageBlockUnsupported = ['_' => 'pageBlockUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageBlockVideo.md b/old_docs/API_docs_v62/constructors/pageBlockVideo.md index 73379377..59a824c1 100644 --- a/old_docs/API_docs_v62/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v62/constructors/pageBlockVideo.md @@ -27,6 +27,13 @@ description: pageBlockVideo attributes, type and example $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockVideo","autoplay":"Bool","loop":"Bool","video_id":"long","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pageFull.md b/old_docs/API_docs_v62/constructors/pageFull.md index a7fe0800..3cbba529 100644 --- a/old_docs/API_docs_v62/constructors/pageFull.md +++ b/old_docs/API_docs_v62/constructors/pageFull.md @@ -26,6 +26,13 @@ description: pageFull attributes, type and example $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageFull","blocks":["PageBlock"],"photos":["Photo"],"videos":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/pagePart.md b/old_docs/API_docs_v62/constructors/pagePart.md index 9558bcd4..638dc934 100644 --- a/old_docs/API_docs_v62/constructors/pagePart.md +++ b/old_docs/API_docs_v62/constructors/pagePart.md @@ -26,6 +26,13 @@ description: pagePart attributes, type and example $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pagePart","blocks":["PageBlock"],"photos":["Photo"],"videos":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/peerChannel.md b/old_docs/API_docs_v62/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v62/constructors/peerChannel.md +++ b/old_docs/API_docs_v62/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/peerChat.md b/old_docs/API_docs_v62/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v62/constructors/peerChat.md +++ b/old_docs/API_docs_v62/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v62/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v62/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v62/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v62/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v62/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v62/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/peerNotifySettings.md b/old_docs/API_docs_v62/constructors/peerNotifySettings.md index 6c2d984e..fb5f90ac 100644 --- a/old_docs/API_docs_v62/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v62/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v62/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v62/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v62/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/peerSettings.md b/old_docs/API_docs_v62/constructors/peerSettings.md index 0169488e..1c888af9 100644 --- a/old_docs/API_docs_v62/constructors/peerSettings.md +++ b/old_docs/API_docs_v62/constructors/peerSettings.md @@ -24,6 +24,13 @@ description: peerSettings attributes, type and example $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerSettings","report_spam":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/peerUser.md b/old_docs/API_docs_v62/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v62/constructors/peerUser.md +++ b/old_docs/API_docs_v62/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/phoneCall.md b/old_docs/API_docs_v62/constructors/phoneCall.md index 50513213..6414af6f 100644 --- a/old_docs/API_docs_v62/constructors/phoneCall.md +++ b/old_docs/API_docs_v62/constructors/phoneCall.md @@ -34,6 +34,13 @@ description: phoneCall attributes, type and example $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection], 'start_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCall","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long","protocol":"PhoneCallProtocol","connection":"PhoneConnection","alternative_connections":["PhoneConnection"],"start_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonBusy.md b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonBusy.md index d0cb60c4..a8041928 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonBusy.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonBusy attributes, type and example $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonBusy"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonDisconnect.md index ce63efbe..c0567700 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonDisconnect.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonDisconnect attributes, type and example $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonDisconnect"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonHangup.md index 40841d73..7c108ec3 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonHangup.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonHangup attributes, type and example $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonHangup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonMissed.md index 04ea3fa0..f6aa306c 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscardReasonMissed.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonMissed attributes, type and example $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonMissed"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v62/constructors/phoneCallDiscarded.md index 7da87c12..a9c1bdc8 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v62/constructors/phoneCallDiscarded.md @@ -26,6 +26,13 @@ description: phoneCallDiscarded attributes, type and example $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscarded","id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/phoneCallEmpty.md b/old_docs/API_docs_v62/constructors/phoneCallEmpty.md index a3cade57..ad8dec73 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v62/constructors/phoneCallEmpty.md @@ -24,6 +24,13 @@ description: phoneCallEmpty attributes, type and example $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/phoneCallProtocol.md b/old_docs/API_docs_v62/constructors/phoneCallProtocol.md index f69b1a5f..b4f6dffb 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v62/constructors/phoneCallProtocol.md @@ -27,6 +27,13 @@ description: phoneCallProtocol attributes, type and example $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallProtocol","udp_p2p":"Bool","udp_reflector":"Bool","min_layer":"int","max_layer":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/phoneCallRequested.md b/old_docs/API_docs_v62/constructors/phoneCallRequested.md index ed4c242d..41bb5f82 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v62/constructors/phoneCallRequested.md @@ -30,6 +30,13 @@ description: phoneCallRequested attributes, type and example $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, 'protocol' => PhoneCallProtocol, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallRequested","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes","protocol":"PhoneCallProtocol"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/phoneCallWaiting.md b/old_docs/API_docs_v62/constructors/phoneCallWaiting.md index 577dcd51..702a868f 100644 --- a/old_docs/API_docs_v62/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v62/constructors/phoneCallWaiting.md @@ -30,6 +30,13 @@ description: phoneCallWaiting attributes, type and example $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallWaiting","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","protocol":"PhoneCallProtocol","receive_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/phoneConnection.md b/old_docs/API_docs_v62/constructors/phoneConnection.md index 730d3019..9c2c6a58 100644 --- a/old_docs/API_docs_v62/constructors/phoneConnection.md +++ b/old_docs/API_docs_v62/constructors/phoneConnection.md @@ -28,6 +28,13 @@ description: phoneConnection attributes, type and example $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => string, 'ipv6' => string, 'port' => int, 'peer_tag' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneConnection","id":"long","ip":"string","ipv6":"string","port":"int","peer_tag":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/phone_phoneCall.md b/old_docs/API_docs_v62/constructors/phone_phoneCall.md index bb789601..af0106eb 100644 --- a/old_docs/API_docs_v62/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v62/constructors/phone_phoneCall.md @@ -25,6 +25,13 @@ description: phone_phoneCall attributes, type and example $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phone.phoneCall","phone_call":"PhoneCall","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/photo.md b/old_docs/API_docs_v62/constructors/photo.md index 3ce8cc62..eeb39d1f 100644 --- a/old_docs/API_docs_v62/constructors/photo.md +++ b/old_docs/API_docs_v62/constructors/photo.md @@ -28,6 +28,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","has_stickers":"Bool","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/photoCachedSize.md b/old_docs/API_docs_v62/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v62/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v62/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/photoEmpty.md b/old_docs/API_docs_v62/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v62/constructors/photoEmpty.md +++ b/old_docs/API_docs_v62/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/photoSize.md b/old_docs/API_docs_v62/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v62/constructors/photoSize.md +++ b/old_docs/API_docs_v62/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/photoSizeEmpty.md b/old_docs/API_docs_v62/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v62/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v62/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/photos_photo.md b/old_docs/API_docs_v62/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v62/constructors/photos_photo.md +++ b/old_docs/API_docs_v62/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/photos_photos.md b/old_docs/API_docs_v62/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v62/constructors/photos_photos.md +++ b/old_docs/API_docs_v62/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/photos_photosSlice.md b/old_docs/API_docs_v62/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v62/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v62/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v62/constructors/privacyKeyChatInvite.md index ad4a35e7..88fbe9a6 100644 --- a/old_docs/API_docs_v62/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v62/constructors/privacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: privacyKeyChatInvite attributes, type and example $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v62/constructors/privacyKeyPhoneCall.md index fc78bf34..894dccb5 100644 --- a/old_docs/API_docs_v62/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v62/constructors/privacyKeyPhoneCall.md @@ -19,6 +19,13 @@ description: privacyKeyPhoneCall attributes, type and example $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyPhoneCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v62/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v62/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v62/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v62/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v62/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v62/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v62/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v62/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v62/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v62/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v62/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v62/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v62/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v62/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v62/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v62/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v62/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v62/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v62/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/replyInlineMarkup.md b/old_docs/API_docs_v62/constructors/replyInlineMarkup.md index 4bc5d372..76e87dc2 100644 --- a/old_docs/API_docs_v62/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v62/constructors/replyInlineMarkup.md @@ -24,6 +24,13 @@ description: replyInlineMarkup attributes, type and example $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v62/constructors/replyKeyboardForceReply.md index 4f319506..02a0779a 100644 --- a/old_docs/API_docs_v62/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v62/constructors/replyKeyboardForceReply.md @@ -25,6 +25,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/replyKeyboardHide.md b/old_docs/API_docs_v62/constructors/replyKeyboardHide.md index 56faa8dd..8b210933 100644 --- a/old_docs/API_docs_v62/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v62/constructors/replyKeyboardHide.md @@ -24,6 +24,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v62/constructors/replyKeyboardMarkup.md index 3cebc41f..4269aeb9 100644 --- a/old_docs/API_docs_v62/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v62/constructors/replyKeyboardMarkup.md @@ -27,6 +27,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v62/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v62/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v62/constructors/sendMessageGamePlayAction.md index 9d1c7e57..3fa832ac 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageGamePlayAction.md @@ -19,6 +19,13 @@ description: sendMessageGamePlayAction attributes, type and example $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGamePlayAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v62/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v62/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v62/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v62/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v62/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v62/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v62/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v62/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v62/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v62/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/stickerPack.md b/old_docs/API_docs_v62/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v62/constructors/stickerPack.md +++ b/old_docs/API_docs_v62/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/stickerSet.md b/old_docs/API_docs_v62/constructors/stickerSet.md index 183cd048..20964d59 100644 --- a/old_docs/API_docs_v62/constructors/stickerSet.md +++ b/old_docs/API_docs_v62/constructors/stickerSet.md @@ -33,6 +33,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","installed":"Bool","archived":"Bool","official":"Bool","masks":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/stickerSetCovered.md b/old_docs/API_docs_v62/constructors/stickerSetCovered.md index db800fff..3421f170 100644 --- a/old_docs/API_docs_v62/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v62/constructors/stickerSetCovered.md @@ -25,6 +25,13 @@ description: stickerSetCovered attributes, type and example $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSetCovered","set":"StickerSet","cover":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v62/constructors/stickerSetMultiCovered.md index 78ed7ea0..c71c0503 100644 --- a/old_docs/API_docs_v62/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v62/constructors/stickerSetMultiCovered.md @@ -25,6 +25,13 @@ description: stickerSetMultiCovered attributes, type and example $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSetMultiCovered","set":"StickerSet","covers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/storage_fileGif.md b/old_docs/API_docs_v62/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v62/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/storage_fileJpeg.md b/old_docs/API_docs_v62/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v62/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/storage_fileMov.md b/old_docs/API_docs_v62/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v62/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/storage_fileMp3.md b/old_docs/API_docs_v62/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v62/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/storage_fileMp4.md b/old_docs/API_docs_v62/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v62/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/storage_filePartial.md b/old_docs/API_docs_v62/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v62/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v62/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/storage_filePdf.md b/old_docs/API_docs_v62/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v62/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v62/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/storage_filePng.md b/old_docs/API_docs_v62/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v62/constructors/storage_filePng.md +++ b/old_docs/API_docs_v62/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/storage_fileUnknown.md b/old_docs/API_docs_v62/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v62/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/storage_fileWebp.md b/old_docs/API_docs_v62/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v62/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v62/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/textBold.md b/old_docs/API_docs_v62/constructors/textBold.md index 5ecdceee..e701f64a 100644 --- a/old_docs/API_docs_v62/constructors/textBold.md +++ b/old_docs/API_docs_v62/constructors/textBold.md @@ -24,6 +24,13 @@ description: textBold attributes, type and example $textBold = ['_' => 'textBold', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textBold","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/textConcat.md b/old_docs/API_docs_v62/constructors/textConcat.md index a32a7403..4cb1d8b4 100644 --- a/old_docs/API_docs_v62/constructors/textConcat.md +++ b/old_docs/API_docs_v62/constructors/textConcat.md @@ -24,6 +24,13 @@ description: textConcat attributes, type and example $textConcat = ['_' => 'textConcat', 'texts' => [RichText], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textConcat","texts":["RichText"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/textEmail.md b/old_docs/API_docs_v62/constructors/textEmail.md index 666b9708..269829ac 100644 --- a/old_docs/API_docs_v62/constructors/textEmail.md +++ b/old_docs/API_docs_v62/constructors/textEmail.md @@ -25,6 +25,13 @@ description: textEmail attributes, type and example $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textEmail","text":"RichText","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/textEmpty.md b/old_docs/API_docs_v62/constructors/textEmpty.md index f583a5ad..9e0b229a 100644 --- a/old_docs/API_docs_v62/constructors/textEmpty.md +++ b/old_docs/API_docs_v62/constructors/textEmpty.md @@ -19,6 +19,13 @@ description: textEmpty attributes, type and example $textEmpty = ['_' => 'textEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/textFixed.md b/old_docs/API_docs_v62/constructors/textFixed.md index 44c06b65..892359ad 100644 --- a/old_docs/API_docs_v62/constructors/textFixed.md +++ b/old_docs/API_docs_v62/constructors/textFixed.md @@ -24,6 +24,13 @@ description: textFixed attributes, type and example $textFixed = ['_' => 'textFixed', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textFixed","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/textItalic.md b/old_docs/API_docs_v62/constructors/textItalic.md index 738aa112..d8911436 100644 --- a/old_docs/API_docs_v62/constructors/textItalic.md +++ b/old_docs/API_docs_v62/constructors/textItalic.md @@ -24,6 +24,13 @@ description: textItalic attributes, type and example $textItalic = ['_' => 'textItalic', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textItalic","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/textPlain.md b/old_docs/API_docs_v62/constructors/textPlain.md index 30d8e9e7..9a4a04f2 100644 --- a/old_docs/API_docs_v62/constructors/textPlain.md +++ b/old_docs/API_docs_v62/constructors/textPlain.md @@ -24,6 +24,13 @@ description: textPlain attributes, type and example $textPlain = ['_' => 'textPlain', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textPlain","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/textStrike.md b/old_docs/API_docs_v62/constructors/textStrike.md index c8726973..5fcf7345 100644 --- a/old_docs/API_docs_v62/constructors/textStrike.md +++ b/old_docs/API_docs_v62/constructors/textStrike.md @@ -24,6 +24,13 @@ description: textStrike attributes, type and example $textStrike = ['_' => 'textStrike', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textStrike","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/textUnderline.md b/old_docs/API_docs_v62/constructors/textUnderline.md index 765c290a..6c9e19d1 100644 --- a/old_docs/API_docs_v62/constructors/textUnderline.md +++ b/old_docs/API_docs_v62/constructors/textUnderline.md @@ -24,6 +24,13 @@ description: textUnderline attributes, type and example $textUnderline = ['_' => 'textUnderline', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textUnderline","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/textUrl.md b/old_docs/API_docs_v62/constructors/textUrl.md index 3552c6fd..f8df8e96 100644 --- a/old_docs/API_docs_v62/constructors/textUrl.md +++ b/old_docs/API_docs_v62/constructors/textUrl.md @@ -26,6 +26,13 @@ description: textUrl attributes, type and example $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => string, 'webpage_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textUrl","text":"RichText","url":"string","webpage_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/topPeer.md b/old_docs/API_docs_v62/constructors/topPeer.md index 016a7857..25b4c2c3 100644 --- a/old_docs/API_docs_v62/constructors/topPeer.md +++ b/old_docs/API_docs_v62/constructors/topPeer.md @@ -25,6 +25,13 @@ description: topPeer attributes, type and example $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeer","peer":"Peer","rating":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v62/constructors/topPeerCategoryBotsInline.md index 30fa513f..e6dc94bf 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryBotsInline.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsInline attributes, type and example $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsInline"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v62/constructors/topPeerCategoryBotsPM.md index f87934ed..07fc07da 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryBotsPM.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsPM attributes, type and example $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsPM"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v62/constructors/topPeerCategoryChannels.md index 6b72af0a..61f1750a 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryChannels.md @@ -19,6 +19,13 @@ description: topPeerCategoryChannels attributes, type and example $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryChannels"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v62/constructors/topPeerCategoryCorrespondents.md index c45dee85..735ff49e 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryCorrespondents.md @@ -19,6 +19,13 @@ description: topPeerCategoryCorrespondents attributes, type and example $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryCorrespondents"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v62/constructors/topPeerCategoryGroups.md index 3f6c8fdf..4ae25a25 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryGroups.md @@ -19,6 +19,13 @@ description: topPeerCategoryGroups attributes, type and example $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryGroups"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v62/constructors/topPeerCategoryPeers.md index 8fd2021b..655db3fb 100644 --- a/old_docs/API_docs_v62/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v62/constructors/topPeerCategoryPeers.md @@ -26,6 +26,13 @@ description: topPeerCategoryPeers attributes, type and example $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/true.md b/old_docs/API_docs_v62/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v62/constructors/true.md +++ b/old_docs/API_docs_v62/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v62/constructors/updateBotCallbackQuery.md index 9813adb2..8275bafc 100644 --- a/old_docs/API_docs_v62/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v62/constructors/updateBotCallbackQuery.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","chat_instance":"long","data":"bytes","game_short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v62/constructors/updateBotInlineQuery.md index 5cc6956a..9002aa9b 100644 --- a/old_docs/API_docs_v62/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v62/constructors/updateBotInlineQuery.md @@ -28,6 +28,13 @@ description: updateBotInlineQuery attributes, type and example $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateBotInlineSend.md b/old_docs/API_docs_v62/constructors/updateBotInlineSend.md index fb062eb3..816f950f 100644 --- a/old_docs/API_docs_v62/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v62/constructors/updateBotInlineSend.md @@ -28,6 +28,13 @@ description: updateBotInlineSend attributes, type and example $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateChannel.md b/old_docs/API_docs_v62/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/old_docs/API_docs_v62/constructors/updateChannel.md +++ b/old_docs/API_docs_v62/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v62/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/old_docs/API_docs_v62/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v62/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v62/constructors/updateChannelPinnedMessage.md index f6179fd7..cbdc70c7 100644 --- a/old_docs/API_docs_v62/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v62/constructors/updateChannelPinnedMessage.md @@ -25,6 +25,13 @@ description: updateChannelPinnedMessage attributes, type and example $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateChannelTooLong.md b/old_docs/API_docs_v62/constructors/updateChannelTooLong.md index c6a74206..f0a327af 100644 --- a/old_docs/API_docs_v62/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v62/constructors/updateChannelTooLong.md @@ -25,6 +25,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateChannelWebPage.md b/old_docs/API_docs_v62/constructors/updateChannelWebPage.md index ba04b77e..e587d33e 100644 --- a/old_docs/API_docs_v62/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v62/constructors/updateChannelWebPage.md @@ -27,6 +27,13 @@ description: updateChannelWebPage attributes, type and example $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelWebPage","channel_id":"int","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateChatAdmins.md b/old_docs/API_docs_v62/constructors/updateChatAdmins.md index 36fb3614..bf391961 100644 --- a/old_docs/API_docs_v62/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v62/constructors/updateChatAdmins.md @@ -26,6 +26,13 @@ description: updateChatAdmins attributes, type and example $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v62/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/old_docs/API_docs_v62/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v62/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v62/constructors/updateChatParticipantAdmin.md index fbb2cdae..ba5bbc95 100644 --- a/old_docs/API_docs_v62/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v62/constructors/updateChatParticipantAdmin.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdmin attributes, type and example $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v62/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v62/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v62/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateChatParticipants.md b/old_docs/API_docs_v62/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v62/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v62/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateChatUserTyping.md b/old_docs/API_docs_v62/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v62/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v62/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateConfig.md b/old_docs/API_docs_v62/constructors/updateConfig.md index 34692274..ed455bd6 100644 --- a/old_docs/API_docs_v62/constructors/updateConfig.md +++ b/old_docs/API_docs_v62/constructors/updateConfig.md @@ -19,6 +19,13 @@ description: updateConfig attributes, type and example $updateConfig = ['_' => 'updateConfig', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateConfig"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateContactLink.md b/old_docs/API_docs_v62/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v62/constructors/updateContactLink.md +++ b/old_docs/API_docs_v62/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateContactRegistered.md b/old_docs/API_docs_v62/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v62/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v62/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateDcOptions.md b/old_docs/API_docs_v62/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v62/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v62/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v62/constructors/updateDeleteChannelMessages.md index 6f8c20d5..a078a880 100644 --- a/old_docs/API_docs_v62/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v62/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateDeleteMessages.md b/old_docs/API_docs_v62/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v62/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v62/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateDialogPinned.md b/old_docs/API_docs_v62/constructors/updateDialogPinned.md index 0851cb65..38eb9c2d 100644 --- a/old_docs/API_docs_v62/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v62/constructors/updateDialogPinned.md @@ -25,6 +25,13 @@ description: updateDialogPinned attributes, type and example $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDialogPinned","pinned":"Bool","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateDraftMessage.md b/old_docs/API_docs_v62/constructors/updateDraftMessage.md index 3eb98097..5dedfd93 100644 --- a/old_docs/API_docs_v62/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v62/constructors/updateDraftMessage.md @@ -25,6 +25,13 @@ description: updateDraftMessage attributes, type and example $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v62/constructors/updateEditChannelMessage.md index 65a44b23..f2d2b288 100644 --- a/old_docs/API_docs_v62/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v62/constructors/updateEditChannelMessage.md @@ -26,6 +26,13 @@ description: updateEditChannelMessage attributes, type and example $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateEditMessage.md b/old_docs/API_docs_v62/constructors/updateEditMessage.md index 7b681445..3e2f86a3 100644 --- a/old_docs/API_docs_v62/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v62/constructors/updateEditMessage.md @@ -26,6 +26,13 @@ description: updateEditMessage attributes, type and example $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v62/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v62/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v62/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v62/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v62/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v62/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateEncryption.md b/old_docs/API_docs_v62/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v62/constructors/updateEncryption.md +++ b/old_docs/API_docs_v62/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v62/constructors/updateInlineBotCallbackQuery.md index c358c306..a0fbf330 100644 --- a/old_docs/API_docs_v62/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v62/constructors/updateInlineBotCallbackQuery.md @@ -29,6 +29,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","chat_instance":"long","data":"bytes","game_short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateMessageID.md b/old_docs/API_docs_v62/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v62/constructors/updateMessageID.md +++ b/old_docs/API_docs_v62/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v62/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/old_docs/API_docs_v62/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v62/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v62/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v62/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v62/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateNewMessage.md b/old_docs/API_docs_v62/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v62/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v62/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateNewStickerSet.md b/old_docs/API_docs_v62/constructors/updateNewStickerSet.md index ccb4f17f..919c3ad8 100644 --- a/old_docs/API_docs_v62/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v62/constructors/updateNewStickerSet.md @@ -24,6 +24,13 @@ description: updateNewStickerSet attributes, type and example $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateNotifySettings.md b/old_docs/API_docs_v62/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v62/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v62/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updatePhoneCall.md b/old_docs/API_docs_v62/constructors/updatePhoneCall.md index 6bddbe82..f124d856 100644 --- a/old_docs/API_docs_v62/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v62/constructors/updatePhoneCall.md @@ -24,6 +24,13 @@ description: updatePhoneCall attributes, type and example $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePhoneCall","phone_call":"PhoneCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updatePinnedDialogs.md b/old_docs/API_docs_v62/constructors/updatePinnedDialogs.md index 1a62c188..cca37904 100644 --- a/old_docs/API_docs_v62/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v62/constructors/updatePinnedDialogs.md @@ -24,6 +24,13 @@ description: updatePinnedDialogs attributes, type and example $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePinnedDialogs","order":["Peer"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updatePrivacy.md b/old_docs/API_docs_v62/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v62/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v62/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updatePtsChanged.md b/old_docs/API_docs_v62/constructors/updatePtsChanged.md index d8103452..bc4c62dd 100644 --- a/old_docs/API_docs_v62/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v62/constructors/updatePtsChanged.md @@ -19,6 +19,13 @@ description: updatePtsChanged attributes, type and example $updatePtsChanged = ['_' => 'updatePtsChanged', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePtsChanged"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v62/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/old_docs/API_docs_v62/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v62/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v62/constructors/updateReadChannelOutbox.md index 162db1ec..5e1ce23d 100644 --- a/old_docs/API_docs_v62/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v62/constructors/updateReadChannelOutbox.md @@ -25,6 +25,13 @@ description: updateReadChannelOutbox attributes, type and example $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v62/constructors/updateReadFeaturedStickers.md index 2f548027..7b10baa4 100644 --- a/old_docs/API_docs_v62/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v62/constructors/updateReadFeaturedStickers.md @@ -19,6 +19,13 @@ description: updateReadFeaturedStickers attributes, type and example $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadFeaturedStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v62/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v62/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v62/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v62/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v62/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v62/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v62/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v62/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v62/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateRecentStickers.md b/old_docs/API_docs_v62/constructors/updateRecentStickers.md index b773f5bd..4ac9a838 100644 --- a/old_docs/API_docs_v62/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v62/constructors/updateRecentStickers.md @@ -19,6 +19,13 @@ description: updateRecentStickers attributes, type and example $updateRecentStickers = ['_' => 'updateRecentStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateRecentStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateSavedGifs.md b/old_docs/API_docs_v62/constructors/updateSavedGifs.md index a52b7838..46dfb8a6 100644 --- a/old_docs/API_docs_v62/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v62/constructors/updateSavedGifs.md @@ -19,6 +19,13 @@ description: updateSavedGifs attributes, type and example $updateSavedGifs = ['_' => 'updateSavedGifs', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateSavedGifs"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateServiceNotification.md b/old_docs/API_docs_v62/constructors/updateServiceNotification.md index 9e55804d..b8b75dcf 100644 --- a/old_docs/API_docs_v62/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v62/constructors/updateServiceNotification.md @@ -29,6 +29,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => string, 'message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","popup":"Bool","inbox_date":"int","type":"string","message":"string","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateShort.md b/old_docs/API_docs_v62/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v62/constructors/updateShort.md +++ b/old_docs/API_docs_v62/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateShortChatMessage.md b/old_docs/API_docs_v62/constructors/updateShortChatMessage.md index 5bd6de08..ea43359c 100644 --- a/old_docs/API_docs_v62/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v62/constructors/updateShortChatMessage.md @@ -38,6 +38,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateShortMessage.md b/old_docs/API_docs_v62/constructors/updateShortMessage.md index 0c46fb50..1a9f106f 100644 --- a/old_docs/API_docs_v62/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v62/constructors/updateShortMessage.md @@ -37,6 +37,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateShortSentMessage.md b/old_docs/API_docs_v62/constructors/updateShortSentMessage.md index 2172b3a1..d67179f2 100644 --- a/old_docs/API_docs_v62/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v62/constructors/updateShortSentMessage.md @@ -30,6 +30,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateStickerSets.md b/old_docs/API_docs_v62/constructors/updateStickerSets.md index 0affa36f..69c53b51 100644 --- a/old_docs/API_docs_v62/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v62/constructors/updateStickerSets.md @@ -19,6 +19,13 @@ description: updateStickerSets attributes, type and example $updateStickerSets = ['_' => 'updateStickerSets', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSets"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v62/constructors/updateStickerSetsOrder.md index 4b7ad6af..809b82d6 100644 --- a/old_docs/API_docs_v62/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v62/constructors/updateStickerSetsOrder.md @@ -25,6 +25,13 @@ description: updateStickerSetsOrder attributes, type and example $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSetsOrder","masks":"Bool","order":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateUserBlocked.md b/old_docs/API_docs_v62/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v62/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v62/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateUserName.md b/old_docs/API_docs_v62/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v62/constructors/updateUserName.md +++ b/old_docs/API_docs_v62/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateUserPhone.md b/old_docs/API_docs_v62/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v62/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v62/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateUserPhoto.md b/old_docs/API_docs_v62/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v62/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v62/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateUserStatus.md b/old_docs/API_docs_v62/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v62/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v62/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateUserTyping.md b/old_docs/API_docs_v62/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v62/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v62/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updateWebPage.md b/old_docs/API_docs_v62/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/old_docs/API_docs_v62/constructors/updateWebPage.md +++ b/old_docs/API_docs_v62/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updates.md b/old_docs/API_docs_v62/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v62/constructors/updates.md +++ b/old_docs/API_docs_v62/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updatesCombined.md b/old_docs/API_docs_v62/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v62/constructors/updatesCombined.md +++ b/old_docs/API_docs_v62/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updatesTooLong.md b/old_docs/API_docs_v62/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v62/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v62/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updates_channelDifference.md b/old_docs/API_docs_v62/constructors/updates_channelDifference.md index c64c69b6..876e8d13 100644 --- a/old_docs/API_docs_v62/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v62/constructors/updates_channelDifference.md @@ -30,6 +30,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md index 6e4d7bde..c596d24a 100644 --- a/old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v62/constructors/updates_channelDifferenceEmpty.md @@ -26,6 +26,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md index 0e295673..464117f9 100644 --- a/old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v62/constructors/updates_channelDifferenceTooLong.md @@ -33,6 +33,13 @@ description: updates_channelDifferenceTooLong attributes, type and example $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceTooLong","final":"Bool","pts":"int","timeout":"int","top_message":"int","read_inbox_max_id":"int","read_outbox_max_id":"int","unread_count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updates_difference.md b/old_docs/API_docs_v62/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v62/constructors/updates_difference.md +++ b/old_docs/API_docs_v62/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v62/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v62/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v62/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updates_differenceSlice.md b/old_docs/API_docs_v62/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v62/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v62/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v62/constructors/updates_differenceTooLong.md index edef3aed..8530a319 100644 --- a/old_docs/API_docs_v62/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v62/constructors/updates_differenceTooLong.md @@ -24,6 +24,13 @@ description: updates_differenceTooLong attributes, type and example $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceTooLong","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/updates_state.md b/old_docs/API_docs_v62/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v62/constructors/updates_state.md +++ b/old_docs/API_docs_v62/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/upload_file.md b/old_docs/API_docs_v62/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v62/constructors/upload_file.md +++ b/old_docs/API_docs_v62/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/user.md b/old_docs/API_docs_v62/constructors/user.md index 900236af..a0f86878 100644 --- a/old_docs/API_docs_v62/constructors/user.md +++ b/old_docs/API_docs_v62/constructors/user.md @@ -45,6 +45,13 @@ description: user attributes, type and example $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, '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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","self":"Bool","contact":"Bool","mutual_contact":"Bool","deleted":"Bool","bot":"Bool","bot_chat_history":"Bool","bot_nochats":"Bool","verified":"Bool","restricted":"Bool","min":"Bool","bot_inline_geo":"Bool","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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/userEmpty.md b/old_docs/API_docs_v62/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v62/constructors/userEmpty.md +++ b/old_docs/API_docs_v62/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/userFull.md b/old_docs/API_docs_v62/constructors/userFull.md index b1866137..f5623d45 100644 --- a/old_docs/API_docs_v62/constructors/userFull.md +++ b/old_docs/API_docs_v62/constructors/userFull.md @@ -32,6 +32,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","blocked":"Bool","phone_calls_available":"Bool","user":"User","about":"string","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","bot_info":"BotInfo","common_chats_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/userProfilePhoto.md b/old_docs/API_docs_v62/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v62/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v62/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v62/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v62/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v62/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/userStatusEmpty.md b/old_docs/API_docs_v62/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v62/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v62/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/userStatusLastMonth.md b/old_docs/API_docs_v62/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v62/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v62/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/userStatusLastWeek.md b/old_docs/API_docs_v62/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v62/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v62/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/userStatusOffline.md b/old_docs/API_docs_v62/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v62/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v62/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/userStatusOnline.md b/old_docs/API_docs_v62/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v62/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v62/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/userStatusRecently.md b/old_docs/API_docs_v62/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v62/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v62/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/wallPaper.md b/old_docs/API_docs_v62/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v62/constructors/wallPaper.md +++ b/old_docs/API_docs_v62/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/wallPaperSolid.md b/old_docs/API_docs_v62/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v62/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v62/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/webPage.md b/old_docs/API_docs_v62/constructors/webPage.md index df6ef10c..f73f1d50 100644 --- a/old_docs/API_docs_v62/constructors/webPage.md +++ b/old_docs/API_docs_v62/constructors/webPage.md @@ -40,6 +40,13 @@ description: webPage attributes, type and example $webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'hash' => int, '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, 'cached_page' => Page, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPage","id":"long","url":"string","display_url":"string","hash":"int","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","cached_page":"Page"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/webPageEmpty.md b/old_docs/API_docs_v62/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v62/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v62/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/webPageNotModified.md b/old_docs/API_docs_v62/constructors/webPageNotModified.md index baacbb3f..1d9f9b84 100644 --- a/old_docs/API_docs_v62/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v62/constructors/webPageNotModified.md @@ -19,6 +19,13 @@ description: webPageNotModified attributes, type and example $webPageNotModified = ['_' => 'webPageNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/constructors/webPagePending.md b/old_docs/API_docs_v62/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v62/constructors/webPagePending.md +++ b/old_docs/API_docs_v62/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/account_changePhone.md b/old_docs/API_docs_v62/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v62/methods/account_changePhone.md +++ b/old_docs/API_docs_v62/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_checkUsername.md b/old_docs/API_docs_v62/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v62/methods/account_checkUsername.md +++ b/old_docs/API_docs_v62/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_confirmPhone.md b/old_docs/API_docs_v62/methods/account_confirmPhone.md index 0b8437dd..6ce6e811 100644 --- a/old_docs/API_docs_v62/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v62/methods/account_confirmPhone.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.confirmPhone +* params - {"phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.confirmPhone` + +Parameters: + +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_deleteAccount.md b/old_docs/API_docs_v62/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v62/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v62/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_getAccountTTL.md b/old_docs/API_docs_v62/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v62/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v62/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/account_getAuthorizations.md b/old_docs/API_docs_v62/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v62/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v62/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/account_getNotifySettings.md b/old_docs/API_docs_v62/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v62/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_getPassword.md b/old_docs/API_docs_v62/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v62/methods/account_getPassword.md +++ b/old_docs/API_docs_v62/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/account_getPasswordSettings.md b/old_docs/API_docs_v62/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v62/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v62/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_getPrivacy.md b/old_docs/API_docs_v62/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v62/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v62/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_getWallPapers.md b/old_docs/API_docs_v62/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v62/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v62/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/account_registerDevice.md b/old_docs/API_docs_v62/methods/account_registerDevice.md index 07381be6..fa4aae85 100644 --- a/old_docs/API_docs_v62/methods/account_registerDevice.md +++ b/old_docs/API_docs_v62/methods/account_registerDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_reportPeer.md b/old_docs/API_docs_v62/methods/account_reportPeer.md index 019e88a5..08c8d0d5 100644 --- a/old_docs/API_docs_v62/methods/account_reportPeer.md +++ b/old_docs/API_docs_v62/methods/account_reportPeer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.reportPeer +* params - {"peer":"InputPeer","reason":"ReportReason"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.reportPeer` + +Parameters: + +peer - Json encoded InputPeer +reason - Json encoded ReportReason + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_resetAuthorization.md b/old_docs/API_docs_v62/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v62/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v62/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_resetNotifySettings.md b/old_docs/API_docs_v62/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v62/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md index 83cfe3e2..1c4c0ca7 100644 --- a/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v62/methods/account_sendChangePhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md index 8d28787e..4b4b6655 100644 --- a/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v62/methods/account_sendConfirmPhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendConfirmPhoneCode +* params - {"allow_flashcall":"Bool","hash":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendConfirmPhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +hash - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_setAccountTTL.md b/old_docs/API_docs_v62/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v62/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v62/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_setPrivacy.md b/old_docs/API_docs_v62/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v62/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v62/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_unregisterDevice.md b/old_docs/API_docs_v62/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v62/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v62/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v62/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_updateNotifySettings.md b/old_docs/API_docs_v62/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v62/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v62/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v62/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_updateProfile.md b/old_docs/API_docs_v62/methods/account_updateProfile.md index e12a2f1c..10ab8f0c 100644 --- a/old_docs/API_docs_v62/methods/account_updateProfile.md +++ b/old_docs/API_docs_v62/methods/account_updateProfile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_updateStatus.md b/old_docs/API_docs_v62/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v62/methods/account_updateStatus.md +++ b/old_docs/API_docs_v62/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/account_updateUsername.md b/old_docs/API_docs_v62/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v62/methods/account_updateUsername.md +++ b/old_docs/API_docs_v62/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v62/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_cancelCode.md b/old_docs/API_docs_v62/methods/auth_cancelCode.md index 73a8c55b..05aae0cf 100644 --- a/old_docs/API_docs_v62/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v62/methods/auth_cancelCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.cancelCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.cancelCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_checkPassword.md b/old_docs/API_docs_v62/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v62/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v62/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_checkPhone.md b/old_docs/API_docs_v62/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v62/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v62/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md index 91d04065..22e17d37 100644 --- a/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v62/methods/auth_dropTempAuthKeys.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.dropTempAuthKeys +* params - {"except_auth_keys":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.dropTempAuthKeys` + +Parameters: + +except_auth_keys - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_exportAuthorization.md b/old_docs/API_docs_v62/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v62/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_importAuthorization.md b/old_docs/API_docs_v62/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v62/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v62/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_logOut.md b/old_docs/API_docs_v62/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v62/methods/auth_logOut.md +++ b/old_docs/API_docs_v62/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/auth_recoverPassword.md b/old_docs/API_docs_v62/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v62/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v62/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v62/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/auth_resendCode.md b/old_docs/API_docs_v62/methods/auth_resendCode.md index 6ba623cf..aaea73a0 100644 --- a/old_docs/API_docs_v62/methods/auth_resendCode.md +++ b/old_docs/API_docs_v62/methods/auth_resendCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resendCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resendCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v62/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/auth_sendCode.md b/old_docs/API_docs_v62/methods/auth_sendCode.md index 423da558..c6e4d8aa 100644 --- a/old_docs/API_docs_v62/methods/auth_sendCode.md +++ b/old_docs/API_docs_v62/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool +api_id - Json encoded int +api_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_sendInvites.md b/old_docs/API_docs_v62/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v62/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v62/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_signIn.md b/old_docs/API_docs_v62/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v62/methods/auth_signIn.md +++ b/old_docs/API_docs_v62/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/auth_signUp.md b/old_docs/API_docs_v62/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v62/methods/auth_signUp.md +++ b/old_docs/API_docs_v62/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_checkUsername.md b/old_docs/API_docs_v62/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/old_docs/API_docs_v62/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v62/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_createChannel.md b/old_docs/API_docs_v62/methods/channels_createChannel.md index a4819767..853ca900 100644 --- a/old_docs/API_docs_v62/methods/channels_createChannel.md +++ b/old_docs/API_docs_v62/methods/channels_createChannel.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +broadcast - Json encoded Bool +megagroup - Json encoded Bool +title - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_deleteChannel.md b/old_docs/API_docs_v62/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v62/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_deleteMessages.md b/old_docs/API_docs_v62/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v62/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v62/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_editAbout.md b/old_docs/API_docs_v62/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/old_docs/API_docs_v62/methods/channels_editAbout.md +++ b/old_docs/API_docs_v62/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_editAdmin.md b/old_docs/API_docs_v62/methods/channels_editAdmin.md index 4596e082..729d5e28 100644 --- a/old_docs/API_docs_v62/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v62/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +role - Json encoded ChannelParticipantRole + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_editPhoto.md b/old_docs/API_docs_v62/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/old_docs/API_docs_v62/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v62/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_editTitle.md b/old_docs/API_docs_v62/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/old_docs/API_docs_v62/methods/channels_editTitle.md +++ b/old_docs/API_docs_v62/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_exportInvite.md b/old_docs/API_docs_v62/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/old_docs/API_docs_v62/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v62/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_exportMessageLink.md b/old_docs/API_docs_v62/methods/channels_exportMessageLink.md index 644c5b1a..4d5ba2df 100644 --- a/old_docs/API_docs_v62/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v62/methods/channels_exportMessageLink.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportMessageLink +* params - {"channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportMessageLink` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md index 31ed5556..85093ef6 100644 --- a/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v62/methods/channels_getAdminedPublicChannels.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getAdminedPublicChannels +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getAdminedPublicChannels` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/channels_getChannels.md b/old_docs/API_docs_v62/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/old_docs/API_docs_v62/methods/channels_getChannels.md +++ b/old_docs/API_docs_v62/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_getFullChannel.md b/old_docs/API_docs_v62/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/old_docs/API_docs_v62/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v62/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_getMessages.md b/old_docs/API_docs_v62/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/old_docs/API_docs_v62/methods/channels_getMessages.md +++ b/old_docs/API_docs_v62/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_getParticipant.md b/old_docs/API_docs_v62/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_getParticipants.md b/old_docs/API_docs_v62/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/old_docs/API_docs_v62/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v62/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_inviteToChannel.md b/old_docs/API_docs_v62/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/old_docs/API_docs_v62/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v62/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_joinChannel.md b/old_docs/API_docs_v62/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/old_docs/API_docs_v62/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v62/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_kickFromChannel.md b/old_docs/API_docs_v62/methods/channels_kickFromChannel.md index 1dc6b4b7..5e91bc24 100644 --- a/old_docs/API_docs_v62/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v62/methods/channels_kickFromChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.kickFromChannel +* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.kickFromChannel` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +kicked - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_leaveChannel.md b/old_docs/API_docs_v62/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/old_docs/API_docs_v62/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v62/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_readHistory.md b/old_docs/API_docs_v62/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/old_docs/API_docs_v62/methods/channels_readHistory.md +++ b/old_docs/API_docs_v62/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_reportSpam.md b/old_docs/API_docs_v62/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/old_docs/API_docs_v62/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v62/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_toggleInvites.md b/old_docs/API_docs_v62/methods/channels_toggleInvites.md index f537ada8..86569f90 100644 --- a/old_docs/API_docs_v62/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v62/methods/channels_toggleInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleInvites +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleInvites` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_toggleSignatures.md b/old_docs/API_docs_v62/methods/channels_toggleSignatures.md index 327795f4..ea833e9a 100644 --- a/old_docs/API_docs_v62/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v62/methods/channels_toggleSignatures.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleSignatures +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleSignatures` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md index 97327889..0fd2da72 100644 --- a/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v62/methods/channels_updatePinnedMessage.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updatePinnedMessage +* params - {"silent":"Bool","channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updatePinnedMessage` + +Parameters: + +silent - Json encoded Bool +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/channels_updateUsername.md b/old_docs/API_docs_v62/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/old_docs/API_docs_v62/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v62/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/contacts_block.md b/old_docs/API_docs_v62/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v62/methods/contacts_block.md +++ b/old_docs/API_docs_v62/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/contacts_deleteContact.md b/old_docs/API_docs_v62/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v62/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v62/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/contacts_deleteContacts.md b/old_docs/API_docs_v62/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v62/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/contacts_exportCard.md b/old_docs/API_docs_v62/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v62/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v62/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/contacts_getBlocked.md b/old_docs/API_docs_v62/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v62/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v62/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/contacts_getContacts.md b/old_docs/API_docs_v62/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v62/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/contacts_getStatuses.md b/old_docs/API_docs_v62/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v62/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v62/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/contacts_getTopPeers.md b/old_docs/API_docs_v62/methods/contacts_getTopPeers.md index 0c8813ff..293a3541 100644 --- a/old_docs/API_docs_v62/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v62/methods/contacts_getTopPeers.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getTopPeers +* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getTopPeers` + +Parameters: + +correspondents - Json encoded Bool +bots_pm - Json encoded Bool +bots_inline - Json encoded Bool +groups - Json encoded Bool +channels - Json encoded Bool +offset - Json encoded int +limit - Json encoded int +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/contacts_importCard.md b/old_docs/API_docs_v62/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v62/methods/contacts_importCard.md +++ b/old_docs/API_docs_v62/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/contacts_importContacts.md b/old_docs/API_docs_v62/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v62/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v62/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md index 6d2b6397..adb3f83a 100644 --- a/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v62/methods/contacts_resetTopPeerRating.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resetTopPeerRating +* params - {"category":"TopPeerCategory","peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resetTopPeerRating` + +Parameters: + +category - Json encoded TopPeerCategory +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/contacts_resolveUsername.md b/old_docs/API_docs_v62/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/old_docs/API_docs_v62/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v62/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/contacts_search.md b/old_docs/API_docs_v62/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v62/methods/contacts_search.md +++ b/old_docs/API_docs_v62/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/contacts_unblock.md b/old_docs/API_docs_v62/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v62/methods/contacts_unblock.md +++ b/old_docs/API_docs_v62/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/destroy_auth_key.md b/old_docs/API_docs_v62/methods/destroy_auth_key.md index 5f025647..f7f98570 100644 --- a/old_docs/API_docs_v62/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v62/methods/destroy_auth_key.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $DestroyAuthKeyRes = $MadelineProto->destroy_auth_key(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - destroy_auth_key +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/destroy_auth_key` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/help_getAppChangelog.md b/old_docs/API_docs_v62/methods/help_getAppChangelog.md index 4dbf6812..e88c66bd 100644 --- a/old_docs/API_docs_v62/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v62/methods/help_getAppChangelog.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_AppChangelog = $MadelineProto->help->getAppChangelog(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/help_getAppUpdate.md b/old_docs/API_docs_v62/methods/help_getAppUpdate.md index 8870072b..851fc06e 100644 --- a/old_docs/API_docs_v62/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v62/methods/help_getAppUpdate.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_AppUpdate = $MadelineProto->help->getAppUpdate(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/help_getConfig.md b/old_docs/API_docs_v62/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v62/methods/help_getConfig.md +++ b/old_docs/API_docs_v62/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/help_getInviteText.md b/old_docs/API_docs_v62/methods/help_getInviteText.md index 19fd0484..77e3acd1 100644 --- a/old_docs/API_docs_v62/methods/help_getInviteText.md +++ b/old_docs/API_docs_v62/methods/help_getInviteText.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_InviteText = $MadelineProto->help->getInviteText(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/help_getNearestDc.md b/old_docs/API_docs_v62/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v62/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v62/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/help_getSupport.md b/old_docs/API_docs_v62/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v62/methods/help_getSupport.md +++ b/old_docs/API_docs_v62/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/help_getTermsOfService.md b/old_docs/API_docs_v62/methods/help_getTermsOfService.md index e53dba71..14f1a976 100644 --- a/old_docs/API_docs_v62/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v62/methods/help_getTermsOfService.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_TermsOfService = $MadelineProto->help->getTermsOfService(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getTermsOfService +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getTermsOfService` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/help_saveAppLog.md b/old_docs/API_docs_v62/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v62/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v62/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md index e1f91e58..e9e6279e 100644 --- a/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v62/methods/help_setBotUpdatesStatus.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.setBotUpdatesStatus +* params - {"pending_updates_count":"int","message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.setBotUpdatesStatus` + +Parameters: + +pending_updates_count - Json encoded int +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/initConnection.md b/old_docs/API_docs_v62/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v62/methods/initConnection.md +++ b/old_docs/API_docs_v62/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/invokeAfterMsg.md b/old_docs/API_docs_v62/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v62/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v62/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/invokeAfterMsgs.md b/old_docs/API_docs_v62/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v62/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v62/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/invokeWithLayer.md b/old_docs/API_docs_v62/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v62/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v62/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v62/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_acceptEncryption.md b/old_docs/API_docs_v62/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v62/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v62/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_addChatUser.md b/old_docs/API_docs_v62/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v62/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v62/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_checkChatInvite.md b/old_docs/API_docs_v62/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v62/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md index f9a112f6..9e8a99a1 100644 --- a/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v62/methods/messages_clearRecentStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.clearRecentStickers +* params - {"attached":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.clearRecentStickers` + +Parameters: + +attached - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_createChat.md b/old_docs/API_docs_v62/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v62/methods/messages_createChat.md +++ b/old_docs/API_docs_v62/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_deleteChatUser.md b/old_docs/API_docs_v62/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v62/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_deleteHistory.md b/old_docs/API_docs_v62/methods/messages_deleteHistory.md index 4a3c7e3f..4e5321c6 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v62/methods/messages_deleteHistory.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +just_clear - Json encoded Bool +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_deleteMessages.md b/old_docs/API_docs_v62/methods/messages_deleteMessages.md index 4f25ff98..7e7b074a 100644 --- a/old_docs/API_docs_v62/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v62/methods/messages_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"revoke":"Bool","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +revoke - Json encoded Bool +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_discardEncryption.md b/old_docs/API_docs_v62/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v62/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v62/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_editChatAdmin.md b/old_docs/API_docs_v62/methods/messages_editChatAdmin.md index 515c2ede..2ad6d72c 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v62/methods/messages_editChatAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatAdmin +* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +is_admin - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_editChatPhoto.md b/old_docs/API_docs_v62/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v62/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_editChatTitle.md b/old_docs/API_docs_v62/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v62/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v62/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md index 19405712..4daa439f 100644 --- a/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editInlineBotMessage.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editInlineBotMessage +* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editInlineBotMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_editMessage.md b/old_docs/API_docs_v62/methods/messages_editMessage.md index 05410c5d..d405e718 100644 --- a/old_docs/API_docs_v62/methods/messages_editMessage.md +++ b/old_docs/API_docs_v62/methods/messages_editMessage.md @@ -42,6 +42,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editMessage +* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_exportChatInvite.md b/old_docs/API_docs_v62/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v62/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_forwardMessage.md b/old_docs/API_docs_v62/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v62/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v62/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_forwardMessages.md b/old_docs/API_docs_v62/methods/messages_forwardMessages.md index 8a83a735..f72fb809 100644 --- a/old_docs/API_docs_v62/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v62/methods/messages_forwardMessages.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"silent":"Bool","background":"Bool","with_my_score":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +with_my_score - Json encoded Bool +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getAllChats.md b/old_docs/API_docs_v62/methods/messages_getAllChats.md index b204aed1..2f34348d 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v62/methods/messages_getAllChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllChats +* params - {"except_ids":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllChats` + +Parameters: + +except_ids - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getAllDrafts.md b/old_docs/API_docs_v62/methods/messages_getAllDrafts.md index 97807321..6039321d 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v62/methods/messages_getAllDrafts.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Updates = $MadelineProto->messages->getAllDrafts(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllDrafts +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllDrafts` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/messages_getAllStickers.md b/old_docs/API_docs_v62/methods/messages_getAllStickers.md index bc49bdd6..b2f1eb71 100644 --- a/old_docs/API_docs_v62/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md index 2ee3502c..a4abf13e 100644 --- a/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getArchivedStickers.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getArchivedStickers +* params - {"masks":"Bool","offset_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getArchivedStickers` + +Parameters: + +masks - Json encoded Bool +offset_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md index b15b1801..0a2b8ff2 100644 --- a/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getAttachedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAttachedStickers +* params - {"media":"InputStickeredMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAttachedStickers` + +Parameters: + +media - Json encoded InputStickeredMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md index 90f6b875..e61ca36e 100644 --- a/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v62/methods/messages_getBotCallbackAnswer.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getBotCallbackAnswer +* params - {"game":"Bool","peer":"InputPeer","msg_id":"int","data":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getBotCallbackAnswer` + +Parameters: + +game - Json encoded Bool +peer - Json encoded InputPeer +msg_id - Json encoded int +data - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getChats.md b/old_docs/API_docs_v62/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v62/methods/messages_getChats.md +++ b/old_docs/API_docs_v62/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getCommonChats.md b/old_docs/API_docs_v62/methods/messages_getCommonChats.md index dbc917fc..122fbb8d 100644 --- a/old_docs/API_docs_v62/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v62/methods/messages_getCommonChats.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getCommonChats +* params - {"user_id":"InputUser","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getCommonChats` + +Parameters: + +user_id - Json encoded InputUser +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getDhConfig.md b/old_docs/API_docs_v62/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v62/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v62/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getDialogs.md b/old_docs/API_docs_v62/methods/messages_getDialogs.md index f5901eb6..e86176a7 100644 --- a/old_docs/API_docs_v62/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getDialogs.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"exclude_pinned":"Bool","offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +exclude_pinned - Json encoded Bool +offset_date - Json encoded int +offset_id - Json encoded int +offset_peer - Json encoded InputPeer +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md index 2daac691..ca541c7e 100644 --- a/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v62/methods/messages_getDocumentByHash.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDocumentByHash +* params - {"sha256":"bytes","size":"int","mime_type":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDocumentByHash` + +Parameters: + +sha256 - Json encoded bytes +size - Json encoded int +mime_type - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md index 5c51f4be..3bab2043 100644 --- a/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getFeaturedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFeaturedStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFeaturedStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getFullChat.md b/old_docs/API_docs_v62/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v62/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v62/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getGameHighScores.md b/old_docs/API_docs_v62/methods/messages_getGameHighScores.md index 8e3f69d8..07a25b7c 100644 --- a/old_docs/API_docs_v62/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages_getGameHighScores.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getGameHighScores +* params - {"peer":"InputPeer","id":"int","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getGameHighScores` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getHistory.md b/old_docs/API_docs_v62/methods/messages_getHistory.md index 9d54dd86..b976c6d5 100644 --- a/old_docs/API_docs_v62/methods/messages_getHistory.md +++ b/old_docs/API_docs_v62/methods/messages_getHistory.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +offset_date - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md index 0ad9e385..d3959eab 100644 --- a/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v62/methods/messages_getInlineBotResults.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineBotResults +* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineBotResults` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +geo_point - Json encoded InputGeoPoint +query - Json encoded string +offset - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md index 6811fba8..218bbc33 100644 --- a/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v62/methods/messages_getInlineGameHighScores.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineGameHighScores +* params - {"id":"InputBotInlineMessageID","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineGameHighScores` + +Parameters: + +id - Json encoded InputBotInlineMessageID +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getMaskStickers.md b/old_docs/API_docs_v62/methods/messages_getMaskStickers.md index 7aedd066..8d740e32 100644 --- a/old_docs/API_docs_v62/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getMaskStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMaskStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMaskStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getMessageEditData.md b/old_docs/API_docs_v62/methods/messages_getMessageEditData.md index eb2ea4e3..732fdff5 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v62/methods/messages_getMessageEditData.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessageEditData +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessageEditData` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getMessages.md b/old_docs/API_docs_v62/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessages.md +++ b/old_docs/API_docs_v62/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getMessagesViews.md b/old_docs/API_docs_v62/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/old_docs/API_docs_v62/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v62/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md index af44c1dd..bd191681 100644 --- a/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getPeerDialogs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerDialogs +* params - {"peers":["InputPeer"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerDialogs` + +Parameters: + +peers - Json encoded array of InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getPeerSettings.md b/old_docs/API_docs_v62/methods/messages_getPeerSettings.md index 9a8817c0..b78406e9 100644 --- a/old_docs/API_docs_v62/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v62/methods/messages_getPeerSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerSettings +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerSettings` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md index 09499e6c..f3de7a28 100644 --- a/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_getPinnedDialogs.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPinnedDialogs +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPinnedDialogs` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/messages_getRecentStickers.md b/old_docs/API_docs_v62/methods/messages_getRecentStickers.md index 98b76d5e..1e07747d 100644 --- a/old_docs/API_docs_v62/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v62/methods/messages_getRecentStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getRecentStickers +* params - {"attached":"Bool","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getRecentStickers` + +Parameters: + +attached - Json encoded Bool +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getSavedGifs.md b/old_docs/API_docs_v62/methods/messages_getSavedGifs.md index c528873b..a7a0cbd2 100644 --- a/old_docs/API_docs_v62/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v62/methods/messages_getSavedGifs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getSavedGifs +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getSavedGifs` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getStickerSet.md b/old_docs/API_docs_v62/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v62/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getWebPage.md b/old_docs/API_docs_v62/methods/messages_getWebPage.md index 10a92123..fd5ecd88 100644 --- a/old_docs/API_docs_v62/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v62/methods/messages_getWebPage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $WebPage = $MadelineProto->messages->getWebPage(['url' => string, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPage +* params - {"url":"string","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPage` + +Parameters: + +url - Json encoded string +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v62/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_hideReportSpam.md b/old_docs/API_docs_v62/methods/messages_hideReportSpam.md index dbf882ee..9ddaa09c 100644 --- a/old_docs/API_docs_v62/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v62/methods/messages_hideReportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.hideReportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.hideReportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_importChatInvite.md b/old_docs/API_docs_v62/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v62/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v62/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_installStickerSet.md b/old_docs/API_docs_v62/methods/messages_installStickerSet.md index ad734572..6d1e701b 100644 --- a/old_docs/API_docs_v62/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","archived":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +archived - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_migrateChat.md b/old_docs/API_docs_v62/methods/messages_migrateChat.md index eaa988a7..1d8e1ca5 100644 --- a/old_docs/API_docs_v62/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v62/methods/messages_migrateChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.migrateChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.migrateChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v62/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md index 0526f0b5..5fc7a340 100644 --- a/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v62/methods/messages_readFeaturedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readFeaturedStickers +* params - {"id":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readFeaturedStickers` + +Parameters: + +id - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_readHistory.md b/old_docs/API_docs_v62/methods/messages_readHistory.md index c5ddb451..99ce0e57 100644 --- a/old_docs/API_docs_v62/methods/messages_readHistory.md +++ b/old_docs/API_docs_v62/methods/messages_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_readMessageContents.md b/old_docs/API_docs_v62/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v62/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v62/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_receivedMessages.md b/old_docs/API_docs_v62/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v62/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v62/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_receivedQueue.md b/old_docs/API_docs_v62/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v62/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v62/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md index 0eb7c736..151678b0 100644 --- a/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v62/methods/messages_reorderPinnedDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputPeer], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderPinnedDialogs +* params - {"force":"Bool","order":["InputPeer"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderPinnedDialogs` + +Parameters: + +force - Json encoded Bool +order - Json encoded array of InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md index 4cfc68ef..7ff0d995 100644 --- a/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v62/methods/messages_reorderStickerSets.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderStickerSets +* params - {"masks":"Bool","order":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderStickerSets` + +Parameters: + +masks - Json encoded Bool +order - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md index a6b6023b..d726392b 100644 --- a/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v62/methods/messages_reportEncryptedSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportEncryptedSpam(['peer' => InputEncryptedChat, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportEncryptedSpam +* params - {"peer":"InputEncryptedChat"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportEncryptedSpam` + +Parameters: + +peer - Json encoded InputEncryptedChat + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_reportSpam.md b/old_docs/API_docs_v62/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v62/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v62/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_requestEncryption.md b/old_docs/API_docs_v62/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v62/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v62/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_saveDraft.md b/old_docs/API_docs_v62/methods/messages_saveDraft.md index c28f8fd9..f683ea04 100644 --- a/old_docs/API_docs_v62/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v62/methods/messages_saveDraft.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveDraft +* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveDraft` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_saveGif.md b/old_docs/API_docs_v62/methods/messages_saveGif.md index 6a2269b5..c6a5e7ba 100644 --- a/old_docs/API_docs_v62/methods/messages_saveGif.md +++ b/old_docs/API_docs_v62/methods/messages_saveGif.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveGif +* params - {"id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveGif` + +Parameters: + +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md index 1acc5473..96f55049 100644 --- a/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v62/methods/messages_saveRecentSticker.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveRecentSticker +* params - {"attached":"Bool","id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveRecentSticker` + +Parameters: + +attached - Json encoded Bool +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_search.md b/old_docs/API_docs_v62/methods/messages_search.md index d53456d0..a0485ebe 100644 --- a/old_docs/API_docs_v62/methods/messages_search.md +++ b/old_docs/API_docs_v62/methods/messages_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_searchGifs.md b/old_docs/API_docs_v62/methods/messages_searchGifs.md index ca0934be..24658214 100644 --- a/old_docs/API_docs_v62/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v62/methods/messages_searchGifs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGifs +* params - {"q":"string","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGifs` + +Parameters: + +q - Json encoded string +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_searchGlobal.md b/old_docs/API_docs_v62/methods/messages_searchGlobal.md index 36f09366..0095015c 100644 --- a/old_docs/API_docs_v62/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v62/methods/messages_searchGlobal.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGlobal +* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGlobal` + +Parameters: + +q - Json encoded string +offset_date - Json encoded int +offset_peer - Json encoded InputPeer +offset_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_sendEncrypted.md b/old_docs/API_docs_v62/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v62/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md index 42eee3c3..c747e54b 100644 --- a/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v62/methods/messages_sendInlineBotResult.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendInlineBotResult +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendInlineBotResult` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +query_id - Json encoded long +id - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_sendMedia.md b/old_docs/API_docs_v62/methods/messages_sendMedia.md index 4f763d5e..05464ad5 100644 --- a/old_docs/API_docs_v62/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v62/methods/messages_sendMedia.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_sendMessage.md b/old_docs/API_docs_v62/methods/messages_sendMessage.md index b31fc6cc..6cc234c3 100644 --- a/old_docs/API_docs_v62/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v62/methods/messages_sendMessage.md @@ -45,6 +45,30 @@ if (isset($number)) { // Login as a user $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], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"no_webpage":"Bool","silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md index 38a65f69..6356d86b 100644 --- a/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v62/methods/messages_setBotCallbackAnswer.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, 'cache_time' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotCallbackAnswer +* params - {"alert":"Bool","query_id":"long","message":"string","url":"string","cache_time":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotCallbackAnswer` + +Parameters: + +alert - Json encoded Bool +query_id - Json encoded long +message - Json encoded string +url - Json encoded string +cache_time - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v62/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_setGameScore.md b/old_docs/API_docs_v62/methods/messages_setGameScore.md index d6e7a77a..64a2feea 100644 --- a/old_docs/API_docs_v62/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v62/methods/messages_setGameScore.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'force' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setGameScore +* params - {"edit_message":"Bool","force":"Bool","peer":"InputPeer","id":"int","user_id":"InputUser","score":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setGameScore` + +Parameters: + +edit_message - Json encoded Bool +force - Json encoded Bool +peer - Json encoded InputPeer +id - Json encoded int +user_id - Json encoded InputUser +score - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md index 0ef74b32..5a2b1da0 100644 --- a/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v62/methods/messages_setInlineBotResults.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineBotResults +* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineBotResults` + +Parameters: + +gallery - Json encoded Bool +private - Json encoded Bool +query_id - Json encoded long +results - Json encoded array of InputBotInlineResult +cache_time - Json encoded int +next_offset - Json encoded string +switch_pm - Json encoded InlineBotSwitchPM + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md index d3a8846c..df93e25a 100644 --- a/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v62/methods/messages_setInlineGameScore.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'force' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineGameScore +* params - {"edit_message":"Bool","force":"Bool","id":"InputBotInlineMessageID","user_id":"InputUser","score":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineGameScore` + +Parameters: + +edit_message - Json encoded Bool +force - Json encoded Bool +id - Json encoded InputBotInlineMessageID +user_id - Json encoded InputUser +score - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_setTyping.md b/old_docs/API_docs_v62/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v62/methods/messages_setTyping.md +++ b/old_docs/API_docs_v62/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_startBot.md b/old_docs/API_docs_v62/methods/messages_startBot.md index 58aadfab..93229d34 100644 --- a/old_docs/API_docs_v62/methods/messages_startBot.md +++ b/old_docs/API_docs_v62/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md index ec1809f3..2edb160a 100644 --- a/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v62/methods/messages_toggleChatAdmins.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleChatAdmins +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleChatAdmins` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md index 6e1230cd..d86a96ae 100644 --- a/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v62/methods/messages_toggleDialogPin.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->toggleDialogPin(['pinned' => Bool, 'peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleDialogPin +* params - {"pinned":"Bool","peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleDialogPin` + +Parameters: + +pinned - Json encoded Bool +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v62/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/phone_acceptCall.md b/old_docs/API_docs_v62/methods/phone_acceptCall.md index a28a339c..398b79ad 100644 --- a/old_docs/API_docs_v62/methods/phone_acceptCall.md +++ b/old_docs/API_docs_v62/methods/phone_acceptCall.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.acceptCall +* params - {"peer":"InputPhoneCall","g_b":"bytes","key_fingerprint":"long","protocol":"PhoneCallProtocol"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.acceptCall` + +Parameters: + +peer - Json encoded InputPhoneCall +g_b - Json encoded bytes +key_fingerprint - Json encoded long +protocol - Json encoded PhoneCallProtocol + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/phone_discardCall.md b/old_docs/API_docs_v62/methods/phone_discardCall.md index 07cf4a9f..a7c8dba9 100644 --- a/old_docs/API_docs_v62/methods/phone_discardCall.md +++ b/old_docs/API_docs_v62/methods/phone_discardCall.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->phone->discardCall(['peer' => InputPhoneCall, 'duration' => int, 'reason' => PhoneCallDiscardReason, 'connection_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.discardCall +* params - {"peer":"InputPhoneCall","duration":"int","reason":"PhoneCallDiscardReason","connection_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.discardCall` + +Parameters: + +peer - Json encoded InputPhoneCall +duration - Json encoded int +reason - Json encoded PhoneCallDiscardReason +connection_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/phone_receivedCall.md b/old_docs/API_docs_v62/methods/phone_receivedCall.md index 748e215d..e4ba0536 100644 --- a/old_docs/API_docs_v62/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v62/methods/phone_receivedCall.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->phone->receivedCall(['peer' => InputPhoneCall, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.receivedCall +* params - {"peer":"InputPhoneCall"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.receivedCall` + +Parameters: + +peer - Json encoded InputPhoneCall + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/phone_requestCall.md b/old_docs/API_docs_v62/methods/phone_requestCall.md index 2759cf25..22fec907 100644 --- a/old_docs/API_docs_v62/methods/phone_requestCall.md +++ b/old_docs/API_docs_v62/methods/phone_requestCall.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a' => bytes, 'protocol' => PhoneCallProtocol, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.requestCall +* params - {"user_id":"InputUser","g_a":"bytes","protocol":"PhoneCallProtocol"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.requestCall` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes +protocol - Json encoded PhoneCallProtocol + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/photos_deletePhotos.md b/old_docs/API_docs_v62/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v62/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v62/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/photos_getUserPhotos.md b/old_docs/API_docs_v62/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v62/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v62/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md index 46cb4c32..63f2ae84 100644 --- a/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v62/methods/photos_updateProfilePhoto.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md index d8c1f9ec..408a631f 100644 --- a/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v62/methods/photos_uploadProfilePhoto.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/updates_getChannelDifference.md b/old_docs/API_docs_v62/methods/updates_getChannelDifference.md index b343b62f..81a25d86 100644 --- a/old_docs/API_docs_v62/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v62/methods/updates_getChannelDifference.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"force":"Bool","channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +force - Json encoded Bool +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/updates_getDifference.md b/old_docs/API_docs_v62/methods/updates_getDifference.md index a0aadc04..7d23893b 100644 --- a/old_docs/API_docs_v62/methods/updates_getDifference.md +++ b/old_docs/API_docs_v62/methods/updates_getDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","pts_total_limit":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +pts_total_limit - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/updates_getState.md b/old_docs/API_docs_v62/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v62/methods/updates_getState.md +++ b/old_docs/API_docs_v62/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v62/methods/upload_getFile.md b/old_docs/API_docs_v62/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v62/methods/upload_getFile.md +++ b/old_docs/API_docs_v62/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v62/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/upload_saveFilePart.md b/old_docs/API_docs_v62/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v62/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v62/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/users_getFullUser.md b/old_docs/API_docs_v62/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v62/methods/users_getFullUser.md +++ b/old_docs/API_docs_v62/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/methods/users_getUsers.md b/old_docs/API_docs_v62/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v62/methods/users_getUsers.md +++ b/old_docs/API_docs_v62/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v62/types/PhoneCall.md b/old_docs/API_docs_v62/types/PhoneCall.md index eee9a68b..5f578bf1 100644 --- a/old_docs/API_docs_v62/types/PhoneCall.md +++ b/old_docs/API_docs_v62/types/PhoneCall.md @@ -9,7 +9,7 @@ description: constructors and methods of type PhoneCall This is an object of type `\danog\MadelineProto\VoIP`. -It will only be available if the [php-libtgvoip](https://github.com/danog/php-libtgvoip) extension is installed, see [the main docs](https://daniil.it/MadelineProto) for an easy installation script. +It will only be available if the [php-libtgvoip](https://github.com/danog/php-libtgvoip) extension is installed, see [the main docs](https://daniil.it/MadelineProto#calls) for an easy installation script. You MUST know [OOP](http://php.net/manual/en/language.oop5.php) to use this class. @@ -109,7 +109,7 @@ Accepts two optional parameters: * `getOutputParams()` - Returns the output audio configuration -MadelineProto works using raw PCM audio, internally split in packets with `sampleNumber` samples. +MadelineProto works using raw signed PCM audio, internally split in packets with `sampleNumber` samples. The audio configuration is an array structured in the following way: ``` @@ -127,7 +127,7 @@ The audio configuration is an array structured in the following way: * `getInputParams()` - Returns the input audio configuration -MadelineProto works using raw PCM audio, internally split in packets with `sampleNumber` samples. +MadelineProto works using raw signed PCM audio, internally split in packets with `sampleNumber` samples. The audio configuration is an array structured in the following way: ``` diff --git a/old_docs/API_docs_v65/constructors/accountDaysTTL.md b/old_docs/API_docs_v65/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v65/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v65/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/account_authorizations.md b/old_docs/API_docs_v65/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v65/constructors/account_authorizations.md +++ b/old_docs/API_docs_v65/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/account_noPassword.md b/old_docs/API_docs_v65/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v65/constructors/account_noPassword.md +++ b/old_docs/API_docs_v65/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/account_password.md b/old_docs/API_docs_v65/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v65/constructors/account_password.md +++ b/old_docs/API_docs_v65/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v65/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v65/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v65/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/account_passwordSettings.md b/old_docs/API_docs_v65/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v65/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v65/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/account_privacyRules.md b/old_docs/API_docs_v65/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v65/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v65/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/account_tmpPassword.md b/old_docs/API_docs_v65/constructors/account_tmpPassword.md index e09c924b..51739691 100644 --- a/old_docs/API_docs_v65/constructors/account_tmpPassword.md +++ b/old_docs/API_docs_v65/constructors/account_tmpPassword.md @@ -25,6 +25,13 @@ description: account_tmpPassword attributes, type and example $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => bytes, 'valid_until' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.tmpPassword","tmp_password":"bytes","valid_until":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/auth_authorization.md b/old_docs/API_docs_v65/constructors/auth_authorization.md index a162abcd..b59d5d96 100644 --- a/old_docs/API_docs_v65/constructors/auth_authorization.md +++ b/old_docs/API_docs_v65/constructors/auth_authorization.md @@ -25,6 +25,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","tmp_sessions":"int","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/auth_checkedPhone.md b/old_docs/API_docs_v65/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v65/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v65/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v65/constructors/auth_codeTypeCall.md index 6ac151ad..714eb23c 100644 --- a/old_docs/API_docs_v65/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v65/constructors/auth_codeTypeCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeCall attributes, type and example $auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md index a8c2bc05..c535eccf 100644 --- a/old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeFlashCall attributes, type and example $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeFlashCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v65/constructors/auth_codeTypeSms.md index aa7eccac..cbeb31cb 100644 --- a/old_docs/API_docs_v65/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v65/constructors/auth_codeTypeSms.md @@ -19,6 +19,13 @@ description: auth_codeTypeSms attributes, type and example $auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeSms"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v65/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v65/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v65/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v65/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/auth_sentCode.md b/old_docs/API_docs_v65/constructors/auth_sentCode.md index f3ac1809..51e2d458 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCode.md @@ -28,6 +28,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md index 84d05955..2456a284 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeApp attributes, type and example $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeApp","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md index 889cec01..39745809 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeCall attributes, type and example $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeCall","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md index f5ec0920..2ba727ec 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeFlashCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md index 5c4075c1..4a350ff6 100644 --- a/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeSms attributes, type and example $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeSms","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/authorization.md b/old_docs/API_docs_v65/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v65/constructors/authorization.md +++ b/old_docs/API_docs_v65/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/bad_msg_notification.md b/old_docs/API_docs_v65/constructors/bad_msg_notification.md index f48351a4..1273c1b5 100644 --- a/old_docs/API_docs_v65/constructors/bad_msg_notification.md +++ b/old_docs/API_docs_v65/constructors/bad_msg_notification.md @@ -26,6 +26,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"bad_msg_notification","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/bad_server_salt.md b/old_docs/API_docs_v65/constructors/bad_server_salt.md index 22cdb6fd..8eca3a7d 100644 --- a/old_docs/API_docs_v65/constructors/bad_server_salt.md +++ b/old_docs/API_docs_v65/constructors/bad_server_salt.md @@ -27,6 +27,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"bad_server_salt","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int","new_server_salt":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/botCommand.md b/old_docs/API_docs_v65/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v65/constructors/botCommand.md +++ b/old_docs/API_docs_v65/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/botInfo.md b/old_docs/API_docs_v65/constructors/botInfo.md index 0fce4bf8..baaf28fd 100644 --- a/old_docs/API_docs_v65/constructors/botInfo.md +++ b/old_docs/API_docs_v65/constructors/botInfo.md @@ -26,6 +26,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/botInlineMediaResult.md b/old_docs/API_docs_v65/constructors/botInlineMediaResult.md index 147b4774..29854010 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v65/constructors/botInlineMediaResult.md @@ -30,6 +30,13 @@ description: botInlineMediaResult attributes, type and example $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v65/constructors/botInlineMessageMediaAuto.md index 694cf6ea..c652331d 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaAuto attributes, type and example $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v65/constructors/botInlineMessageMediaContact.md index f57e4752..5e57bf4f 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: botInlineMessageMediaContact attributes, type and example $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v65/constructors/botInlineMessageMediaGeo.md index 40ea4ca1..04a4abed 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaGeo attributes, type and example $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v65/constructors/botInlineMessageMediaVenue.md index 236f3cf1..6c08ee05 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: botInlineMessageMediaVenue attributes, type and example $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/botInlineMessageText.md b/old_docs/API_docs_v65/constructors/botInlineMessageText.md index 278fe01d..007acd3d 100644 --- a/old_docs/API_docs_v65/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v65/constructors/botInlineMessageText.md @@ -27,6 +27,13 @@ description: botInlineMessageText attributes, type and example $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/botInlineResult.md b/old_docs/API_docs_v65/constructors/botInlineResult.md index 839edda1..57255b6c 100644 --- a/old_docs/API_docs_v65/constructors/botInlineResult.md +++ b/old_docs/API_docs_v65/constructors/botInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channel.md b/old_docs/API_docs_v65/constructors/channel.md index 1a1db52f..86740c87 100644 --- a/old_docs/API_docs_v65/constructors/channel.md +++ b/old_docs/API_docs_v65/constructors/channel.md @@ -43,6 +43,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","creator":"Bool","kicked":"Bool","left":"Bool","editor":"Bool","moderator":"Bool","broadcast":"Bool","verified":"Bool","megagroup":"Bool","restricted":"Bool","democracy":"Bool","signatures":"Bool","min":"Bool","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int","restriction_reason":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelForbidden.md b/old_docs/API_docs_v65/constructors/channelForbidden.md index 5522fd5c..3d3a3a69 100644 --- a/old_docs/API_docs_v65/constructors/channelForbidden.md +++ b/old_docs/API_docs_v65/constructors/channelForbidden.md @@ -28,6 +28,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelFull.md b/old_docs/API_docs_v65/constructors/channelFull.md index 2b3387b7..ea66e000 100644 --- a/old_docs/API_docs_v65/constructors/channelFull.md +++ b/old_docs/API_docs_v65/constructors/channelFull.md @@ -40,6 +40,13 @@ description: channelFull attributes, type and example $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, '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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","can_view_participants":"Bool","can_set_username":"Bool","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":["BotInfo"],"migrated_from_chat_id":"int","migrated_from_max_id":"int","pinned_msg_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelMessagesFilter.md b/old_docs/API_docs_v65/constructors/channelMessagesFilter.md index b8b7725b..677f7356 100644 --- a/old_docs/API_docs_v65/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v65/constructors/channelMessagesFilter.md @@ -25,6 +25,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v65/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v65/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v65/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelParticipant.md b/old_docs/API_docs_v65/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipant.md +++ b/old_docs/API_docs_v65/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelParticipantCreator.md b/old_docs/API_docs_v65/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelParticipantEditor.md b/old_docs/API_docs_v65/constructors/channelParticipantEditor.md index 3c866534..64f84b38 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantEditor.md @@ -26,6 +26,13 @@ description: channelParticipantEditor attributes, type and example $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelParticipantKicked.md b/old_docs/API_docs_v65/constructors/channelParticipantKicked.md index 362872f9..4aedad4d 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantKicked.md @@ -26,6 +26,13 @@ description: channelParticipantKicked attributes, type and example $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelParticipantModerator.md b/old_docs/API_docs_v65/constructors/channelParticipantModerator.md index ff9a7094..634f9de8 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantModerator.md @@ -26,6 +26,13 @@ description: channelParticipantModerator attributes, type and example $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelParticipantSelf.md b/old_docs/API_docs_v65/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v65/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelParticipantsBots.md b/old_docs/API_docs_v65/constructors/channelParticipantsBots.md index 24b68c95..963f155e 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantsBots.md @@ -19,6 +19,13 @@ description: channelParticipantsBots attributes, type and example $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBots"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v65/constructors/channelParticipantsKicked.md index d7889060..37714c3e 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantsKicked.md @@ -19,6 +19,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v65/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/old_docs/API_docs_v65/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v65/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelRoleEditor.md b/old_docs/API_docs_v65/constructors/channelRoleEditor.md index 103b7ae5..fea2e406 100644 --- a/old_docs/API_docs_v65/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v65/constructors/channelRoleEditor.md @@ -19,6 +19,13 @@ description: channelRoleEditor attributes, type and example $channelRoleEditor = ['_' => 'channelRoleEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEditor"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelRoleEmpty.md b/old_docs/API_docs_v65/constructors/channelRoleEmpty.md index b5a7b52c..932c9fb4 100644 --- a/old_docs/API_docs_v65/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v65/constructors/channelRoleEmpty.md @@ -19,6 +19,13 @@ description: channelRoleEmpty attributes, type and example $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channelRoleModerator.md b/old_docs/API_docs_v65/constructors/channelRoleModerator.md index f3aaff68..5d6a37d1 100644 --- a/old_docs/API_docs_v65/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v65/constructors/channelRoleModerator.md @@ -19,6 +19,13 @@ description: channelRoleModerator attributes, type and example $channelRoleModerator = ['_' => 'channelRoleModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleModerator"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channels_channelParticipant.md b/old_docs/API_docs_v65/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/old_docs/API_docs_v65/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v65/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/channels_channelParticipants.md b/old_docs/API_docs_v65/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/old_docs/API_docs_v65/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v65/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chat.md b/old_docs/API_docs_v65/constructors/chat.md index 9bad67b3..70955e06 100644 --- a/old_docs/API_docs_v65/constructors/chat.md +++ b/old_docs/API_docs_v65/constructors/chat.md @@ -36,6 +36,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatEmpty.md b/old_docs/API_docs_v65/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v65/constructors/chatEmpty.md +++ b/old_docs/API_docs_v65/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatForbidden.md b/old_docs/API_docs_v65/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/old_docs/API_docs_v65/constructors/chatForbidden.md +++ b/old_docs/API_docs_v65/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatFull.md b/old_docs/API_docs_v65/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v65/constructors/chatFull.md +++ b/old_docs/API_docs_v65/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatInvite.md b/old_docs/API_docs_v65/constructors/chatInvite.md index 7f23c6b9..b818ebc8 100644 --- a/old_docs/API_docs_v65/constructors/chatInvite.md +++ b/old_docs/API_docs_v65/constructors/chatInvite.md @@ -31,6 +31,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string","photo":"ChatPhoto","participants_count":"int","participants":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatInviteAlready.md b/old_docs/API_docs_v65/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v65/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v65/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatInviteEmpty.md b/old_docs/API_docs_v65/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v65/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v65/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatInviteExported.md b/old_docs/API_docs_v65/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v65/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v65/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatParticipant.md b/old_docs/API_docs_v65/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipant.md +++ b/old_docs/API_docs_v65/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v65/constructors/chatParticipantAdmin.md index 6740c4a3..775f29c7 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v65/constructors/chatParticipantAdmin.md @@ -26,6 +26,13 @@ description: chatParticipantAdmin attributes, type and example $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatParticipantCreator.md b/old_docs/API_docs_v65/constructors/chatParticipantCreator.md index b80542a7..687dd93f 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v65/constructors/chatParticipantCreator.md @@ -24,6 +24,13 @@ description: chatParticipantCreator attributes, type and example $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatParticipants.md b/old_docs/API_docs_v65/constructors/chatParticipants.md index 2420f15e..c1602888 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipants.md +++ b/old_docs/API_docs_v65/constructors/chatParticipants.md @@ -26,6 +26,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v65/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/old_docs/API_docs_v65/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v65/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatPhoto.md b/old_docs/API_docs_v65/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v65/constructors/chatPhoto.md +++ b/old_docs/API_docs_v65/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v65/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v65/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v65/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/client_DH_inner_data.md b/old_docs/API_docs_v65/constructors/client_DH_inner_data.md index 3455f5cb..1505e457 100644 --- a/old_docs/API_docs_v65/constructors/client_DH_inner_data.md +++ b/old_docs/API_docs_v65/constructors/client_DH_inner_data.md @@ -27,6 +27,13 @@ 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' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"client_DH_inner_data","nonce":"int128","server_nonce":"int128","retry_id":"long","g_b":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/config.md b/old_docs/API_docs_v65/constructors/config.md index e85ad294..efe9467d 100644 --- a/old_docs/API_docs_v65/constructors/config.md +++ b/old_docs/API_docs_v65/constructors/config.md @@ -53,6 +53,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => string, 'disabled_features' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","phonecalls_enabled":"Bool","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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","pinned_dialogs_count_max":"int","call_receive_timeout_ms":"int","call_ring_timeout_ms":"int","call_connect_timeout_ms":"int","call_packet_timeout_ms":"int","me_url_prefix":"string","disabled_features":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contact.md b/old_docs/API_docs_v65/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v65/constructors/contact.md +++ b/old_docs/API_docs_v65/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contactBlocked.md b/old_docs/API_docs_v65/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v65/constructors/contactBlocked.md +++ b/old_docs/API_docs_v65/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contactLinkContact.md b/old_docs/API_docs_v65/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v65/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v65/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v65/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v65/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v65/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contactLinkNone.md b/old_docs/API_docs_v65/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v65/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v65/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contactLinkUnknown.md b/old_docs/API_docs_v65/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v65/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v65/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contactStatus.md b/old_docs/API_docs_v65/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v65/constructors/contactStatus.md +++ b/old_docs/API_docs_v65/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contacts_blocked.md b/old_docs/API_docs_v65/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v65/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v65/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v65/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v65/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v65/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contacts_contacts.md b/old_docs/API_docs_v65/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v65/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v65/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v65/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contacts_found.md b/old_docs/API_docs_v65/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/old_docs/API_docs_v65/constructors/contacts_found.md +++ b/old_docs/API_docs_v65/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contacts_importedContacts.md b/old_docs/API_docs_v65/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v65/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v65/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contacts_link.md b/old_docs/API_docs_v65/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v65/constructors/contacts_link.md +++ b/old_docs/API_docs_v65/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v65/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contacts_topPeers.md b/old_docs/API_docs_v65/constructors/contacts_topPeers.md index 0ef10578..d059cb80 100644 --- a/old_docs/API_docs_v65/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v65/constructors/contacts_topPeers.md @@ -26,6 +26,13 @@ description: contacts_topPeers attributes, type and example $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md index 9ab95116..ce380f72 100644 --- a/old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v65/constructors/contacts_topPeersNotModified.md @@ -19,6 +19,13 @@ description: contacts_topPeersNotModified attributes, type and example $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/dataJSON.md b/old_docs/API_docs_v65/constructors/dataJSON.md index c2368727..5ad2bebc 100644 --- a/old_docs/API_docs_v65/constructors/dataJSON.md +++ b/old_docs/API_docs_v65/constructors/dataJSON.md @@ -24,6 +24,13 @@ description: dataJSON attributes, type and example $dataJSON = ['_' => 'dataJSON', 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dataJSON","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/dcOption.md b/old_docs/API_docs_v65/constructors/dcOption.md index c05fcca1..a44017bd 100644 --- a/old_docs/API_docs_v65/constructors/dcOption.md +++ b/old_docs/API_docs_v65/constructors/dcOption.md @@ -29,6 +29,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/destroy_auth_key_fail.md b/old_docs/API_docs_v65/constructors/destroy_auth_key_fail.md index b34c9ed3..00dececb 100644 --- a/old_docs/API_docs_v65/constructors/destroy_auth_key_fail.md +++ b/old_docs/API_docs_v65/constructors/destroy_auth_key_fail.md @@ -19,6 +19,13 @@ description: destroy_auth_key_fail attributes, type and example $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_auth_key_fail"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/destroy_auth_key_none.md b/old_docs/API_docs_v65/constructors/destroy_auth_key_none.md index bbaf778a..2d5ed5f3 100644 --- a/old_docs/API_docs_v65/constructors/destroy_auth_key_none.md +++ b/old_docs/API_docs_v65/constructors/destroy_auth_key_none.md @@ -19,6 +19,13 @@ description: destroy_auth_key_none attributes, type and example $destroy_auth_key_none = ['_' => 'destroy_auth_key_none', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_auth_key_none"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/destroy_auth_key_ok.md b/old_docs/API_docs_v65/constructors/destroy_auth_key_ok.md index e9038ea9..642a29c3 100644 --- a/old_docs/API_docs_v65/constructors/destroy_auth_key_ok.md +++ b/old_docs/API_docs_v65/constructors/destroy_auth_key_ok.md @@ -19,6 +19,13 @@ description: destroy_auth_key_ok attributes, type and example $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_auth_key_ok"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/destroy_session_none.md b/old_docs/API_docs_v65/constructors/destroy_session_none.md index 89bb5678..9e5278b4 100644 --- a/old_docs/API_docs_v65/constructors/destroy_session_none.md +++ b/old_docs/API_docs_v65/constructors/destroy_session_none.md @@ -24,6 +24,13 @@ description: destroy_session_none attributes, type and example $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_session_none","session_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/destroy_session_ok.md b/old_docs/API_docs_v65/constructors/destroy_session_ok.md index 5675c75f..17b39b93 100644 --- a/old_docs/API_docs_v65/constructors/destroy_session_ok.md +++ b/old_docs/API_docs_v65/constructors/destroy_session_ok.md @@ -24,6 +24,13 @@ description: destroy_session_ok attributes, type and example $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_session_ok","session_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/dh_gen_fail.md b/old_docs/API_docs_v65/constructors/dh_gen_fail.md index 16073250..320b9306 100644 --- a/old_docs/API_docs_v65/constructors/dh_gen_fail.md +++ b/old_docs/API_docs_v65/constructors/dh_gen_fail.md @@ -26,6 +26,13 @@ description: dh_gen_fail attributes, type and example $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dh_gen_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash3":"int128"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/dh_gen_ok.md b/old_docs/API_docs_v65/constructors/dh_gen_ok.md index a8675829..2b43d907 100644 --- a/old_docs/API_docs_v65/constructors/dh_gen_ok.md +++ b/old_docs/API_docs_v65/constructors/dh_gen_ok.md @@ -26,6 +26,13 @@ description: dh_gen_ok attributes, type and example $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dh_gen_ok","nonce":"int128","server_nonce":"int128","new_nonce_hash1":"int128"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/dh_gen_retry.md b/old_docs/API_docs_v65/constructors/dh_gen_retry.md index b3ec92f5..db5c1928 100644 --- a/old_docs/API_docs_v65/constructors/dh_gen_retry.md +++ b/old_docs/API_docs_v65/constructors/dh_gen_retry.md @@ -26,6 +26,13 @@ description: dh_gen_retry attributes, type and example $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dh_gen_retry","nonce":"int128","server_nonce":"int128","new_nonce_hash2":"int128"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/dialog.md b/old_docs/API_docs_v65/constructors/dialog.md index 5309a2be..5c5c2008 100644 --- a/old_docs/API_docs_v65/constructors/dialog.md +++ b/old_docs/API_docs_v65/constructors/dialog.md @@ -32,6 +32,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'pinned' => Bool, '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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","pinned":"Bool","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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/disabledFeature.md b/old_docs/API_docs_v65/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v65/constructors/disabledFeature.md +++ b/old_docs/API_docs_v65/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/document.md b/old_docs/API_docs_v65/constructors/document.md index 5921896e..fdadf27d 100644 --- a/old_docs/API_docs_v65/constructors/document.md +++ b/old_docs/API_docs_v65/constructors/document.md @@ -32,6 +32,13 @@ 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' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","version":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v65/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/documentAttributeAudio.md b/old_docs/API_docs_v65/constructors/documentAttributeAudio.md index 83ba2eb9..74aa516d 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeAudio.md @@ -28,6 +28,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/documentAttributeFilename.md b/old_docs/API_docs_v65/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v65/constructors/documentAttributeHasStickers.md index 5345d27d..b09f783d 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeHasStickers.md @@ -19,6 +19,13 @@ description: documentAttributeHasStickers attributes, type and example $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeHasStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v65/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/documentAttributeSticker.md b/old_docs/API_docs_v65/constructors/documentAttributeSticker.md index 746b6fd0..77b8f437 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeSticker.md @@ -27,6 +27,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","mask":"Bool","alt":"string","stickerset":"InputStickerSet","mask_coords":"MaskCoords"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/documentAttributeVideo.md b/old_docs/API_docs_v65/constructors/documentAttributeVideo.md index b9f06676..f6bd3d90 100644 --- a/old_docs/API_docs_v65/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v65/constructors/documentAttributeVideo.md @@ -26,6 +26,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/documentEmpty.md b/old_docs/API_docs_v65/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v65/constructors/documentEmpty.md +++ b/old_docs/API_docs_v65/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/draftMessage.md b/old_docs/API_docs_v65/constructors/draftMessage.md index 9cbeec53..57d7d5c9 100644 --- a/old_docs/API_docs_v65/constructors/draftMessage.md +++ b/old_docs/API_docs_v65/constructors/draftMessage.md @@ -28,6 +28,13 @@ description: draftMessage attributes, type and example $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/draftMessageEmpty.md b/old_docs/API_docs_v65/constructors/draftMessageEmpty.md index 0ddfc989..4a9098b7 100644 --- a/old_docs/API_docs_v65/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v65/constructors/draftMessageEmpty.md @@ -19,6 +19,13 @@ description: draftMessageEmpty attributes, type and example $draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessageEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/encryptedChat.md b/old_docs/API_docs_v65/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChat.md +++ b/old_docs/API_docs_v65/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v65/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v65/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v65/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v65/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/encryptedChatRequested.md b/old_docs/API_docs_v65/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v65/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v65/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v65/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v65/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/encryptedFile.md b/old_docs/API_docs_v65/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v65/constructors/encryptedFile.md +++ b/old_docs/API_docs_v65/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v65/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v65/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v65/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/encryptedMessage.md b/old_docs/API_docs_v65/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v65/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v65/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/encryptedMessageService.md b/old_docs/API_docs_v65/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v65/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v65/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/error.md b/old_docs/API_docs_v65/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v65/constructors/error.md +++ b/old_docs/API_docs_v65/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/exportedMessageLink.md b/old_docs/API_docs_v65/constructors/exportedMessageLink.md index d151e98e..b6f0c21f 100644 --- a/old_docs/API_docs_v65/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v65/constructors/exportedMessageLink.md @@ -24,6 +24,13 @@ description: exportedMessageLink attributes, type and example $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"exportedMessageLink","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/fileLocation.md b/old_docs/API_docs_v65/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v65/constructors/fileLocation.md +++ b/old_docs/API_docs_v65/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v65/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v65/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v65/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/foundGif.md b/old_docs/API_docs_v65/constructors/foundGif.md index e241eabe..99a0faa0 100644 --- a/old_docs/API_docs_v65/constructors/foundGif.md +++ b/old_docs/API_docs_v65/constructors/foundGif.md @@ -29,6 +29,13 @@ description: foundGif attributes, type and example $foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/foundGifCached.md b/old_docs/API_docs_v65/constructors/foundGifCached.md index f73c07df..a73fb47c 100644 --- a/old_docs/API_docs_v65/constructors/foundGifCached.md +++ b/old_docs/API_docs_v65/constructors/foundGifCached.md @@ -26,6 +26,13 @@ description: foundGifCached attributes, type and example $foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/future_salt.md b/old_docs/API_docs_v65/constructors/future_salt.md index fd084341..c70f48ec 100644 --- a/old_docs/API_docs_v65/constructors/future_salt.md +++ b/old_docs/API_docs_v65/constructors/future_salt.md @@ -26,6 +26,13 @@ description: future_salt attributes, type and example $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"future_salt","valid_since":"int","valid_until":"int","salt":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/future_salts.md b/old_docs/API_docs_v65/constructors/future_salts.md index 2b694a80..a6bba188 100644 --- a/old_docs/API_docs_v65/constructors/future_salts.md +++ b/old_docs/API_docs_v65/constructors/future_salts.md @@ -26,6 +26,13 @@ description: future_salts attributes, type and example $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"future_salts","req_msg_id":"long","now":"int","salts":["future_salt"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/game.md b/old_docs/API_docs_v65/constructors/game.md index c3aa155d..3bb1dfe1 100644 --- a/old_docs/API_docs_v65/constructors/game.md +++ b/old_docs/API_docs_v65/constructors/game.md @@ -30,6 +30,13 @@ description: game attributes, type and example $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"game","id":"long","access_hash":"long","short_name":"string","title":"string","description":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/geoPoint.md b/old_docs/API_docs_v65/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v65/constructors/geoPoint.md +++ b/old_docs/API_docs_v65/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/geoPointEmpty.md b/old_docs/API_docs_v65/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v65/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v65/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/help_appUpdate.md b/old_docs/API_docs_v65/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v65/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v65/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/help_inviteText.md b/old_docs/API_docs_v65/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v65/constructors/help_inviteText.md +++ b/old_docs/API_docs_v65/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/help_noAppUpdate.md b/old_docs/API_docs_v65/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v65/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v65/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/help_support.md b/old_docs/API_docs_v65/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v65/constructors/help_support.md +++ b/old_docs/API_docs_v65/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/help_termsOfService.md b/old_docs/API_docs_v65/constructors/help_termsOfService.md index a945b971..6af3d9e5 100644 --- a/old_docs/API_docs_v65/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v65/constructors/help_termsOfService.md @@ -24,6 +24,13 @@ description: help_termsOfService attributes, type and example $help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.termsOfService","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/highScore.md b/old_docs/API_docs_v65/constructors/highScore.md index 27b8ec02..8fe62af9 100644 --- a/old_docs/API_docs_v65/constructors/highScore.md +++ b/old_docs/API_docs_v65/constructors/highScore.md @@ -26,6 +26,13 @@ description: highScore attributes, type and example $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"highScore","pos":"int","user_id":"int","score":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/http_wait.md b/old_docs/API_docs_v65/constructors/http_wait.md index 50cb9cf6..be4aa968 100644 --- a/old_docs/API_docs_v65/constructors/http_wait.md +++ b/old_docs/API_docs_v65/constructors/http_wait.md @@ -26,6 +26,13 @@ description: http_wait attributes, type and example $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"http_wait","max_delay":"int","wait_after":"int","max_wait":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/importedContact.md b/old_docs/API_docs_v65/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v65/constructors/importedContact.md +++ b/old_docs/API_docs_v65/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v65/constructors/inlineBotSwitchPM.md index 41ca65ac..86c0d9d4 100644 --- a/old_docs/API_docs_v65/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v65/constructors/inlineBotSwitchPM.md @@ -25,6 +25,13 @@ description: inlineBotSwitchPM attributes, type and example $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputAppEvent.md b/old_docs/API_docs_v65/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v65/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v65/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageGame.md index 5369ed7a..1a8bc54d 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageGame.md @@ -24,6 +24,13 @@ description: inputBotInlineMessageGame attributes, type and example $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageGame","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageID.md index 0d8d3f9e..757f7146 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageID.md @@ -26,6 +26,13 @@ description: inputBotInlineMessageID attributes, type and example $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaAuto.md index 75bb48f3..aa6b51df 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaContact.md index 754ce5ac..1bd6518f 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaGeo.md index 6eac346e..8c4f7ecc 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaVenue.md index ddb3c3fe..01e38309 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v65/constructors/inputBotInlineMessageText.md index 77de3cf6..c785cbed 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineMessageText.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageText attributes, type and example $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineResult.md b/old_docs/API_docs_v65/constructors/inputBotInlineResult.md index 9ff31ee5..ed68ad5c 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v65/constructors/inputBotInlineResultDocument.md index a5d9c466..15080274 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineResultDocument.md @@ -29,6 +29,13 @@ description: inputBotInlineResultDocument attributes, type and example $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v65/constructors/inputBotInlineResultGame.md index 0d5f96a7..be8f6f21 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineResultGame.md @@ -26,6 +26,13 @@ description: inputBotInlineResultGame attributes, type and example $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => string, 'short_name' => string, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultGame","id":"string","short_name":"string","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v65/constructors/inputBotInlineResultPhoto.md index ca2c6b7a..bbc38a5a 100644 --- a/old_docs/API_docs_v65/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputBotInlineResultPhoto.md @@ -27,6 +27,13 @@ description: inputBotInlineResultPhoto attributes, type and example $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputChannel.md b/old_docs/API_docs_v65/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/old_docs/API_docs_v65/constructors/inputChannel.md +++ b/old_docs/API_docs_v65/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputChannelEmpty.md b/old_docs/API_docs_v65/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/old_docs/API_docs_v65/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputChatPhoto.md b/old_docs/API_docs_v65/constructors/inputChatPhoto.md index 8d46e6c3..aa98b610 100644 --- a/old_docs/API_docs_v65/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputChatPhoto.md @@ -24,6 +24,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v65/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v65/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v65/constructors/inputChatUploadedPhoto.md index eec015d4..ce3b4224 100644 --- a/old_docs/API_docs_v65/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputChatUploadedPhoto.md @@ -24,6 +24,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputDocument.md b/old_docs/API_docs_v65/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v65/constructors/inputDocument.md +++ b/old_docs/API_docs_v65/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v65/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v65/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v65/constructors/inputDocumentFileLocation.md index 41e520bb..b13feb4a 100644 --- a/old_docs/API_docs_v65/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v65/constructors/inputDocumentFileLocation.md @@ -26,6 +26,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputEncryptedChat.md b/old_docs/API_docs_v65/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputEncryptedFile.md b/old_docs/API_docs_v65/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v65/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v65/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v65/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v65/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v65/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v65/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputFile.md b/old_docs/API_docs_v65/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v65/constructors/inputFile.md +++ b/old_docs/API_docs_v65/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputFileBig.md b/old_docs/API_docs_v65/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v65/constructors/inputFileBig.md +++ b/old_docs/API_docs_v65/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputFileLocation.md b/old_docs/API_docs_v65/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v65/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v65/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputGameID.md b/old_docs/API_docs_v65/constructors/inputGameID.md index 287e2543..c8ce7efc 100644 --- a/old_docs/API_docs_v65/constructors/inputGameID.md +++ b/old_docs/API_docs_v65/constructors/inputGameID.md @@ -25,6 +25,13 @@ description: inputGameID attributes, type and example $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGameID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputGameShortName.md b/old_docs/API_docs_v65/constructors/inputGameShortName.md index eaad7dd7..82671253 100644 --- a/old_docs/API_docs_v65/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v65/constructors/inputGameShortName.md @@ -25,6 +25,13 @@ description: inputGameShortName attributes, type and example $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGameShortName","bot_id":"InputUser","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputGeoPoint.md b/old_docs/API_docs_v65/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v65/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v65/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v65/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v65/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaContact.md b/old_docs/API_docs_v65/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v65/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaDocument.md b/old_docs/API_docs_v65/constructors/inputMediaDocument.md index 1959cc4e..89ef5bdc 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v65/constructors/inputMediaDocument.md @@ -25,6 +25,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v65/constructors/inputMediaDocumentExternal.md index a56856ec..df91c315 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v65/constructors/inputMediaDocumentExternal.md @@ -25,6 +25,13 @@ description: inputMediaDocumentExternal attributes, type and example $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocumentExternal","url":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaEmpty.md b/old_docs/API_docs_v65/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaGame.md b/old_docs/API_docs_v65/constructors/inputMediaGame.md index 91b7bc9a..399f03c0 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v65/constructors/inputMediaGame.md @@ -24,6 +24,13 @@ description: inputMediaGame attributes, type and example $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGame","id":"InputGame"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v65/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v65/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v65/constructors/inputMediaGifExternal.md index af227d69..284e3cdd 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v65/constructors/inputMediaGifExternal.md @@ -25,6 +25,13 @@ description: inputMediaGifExternal attributes, type and example $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGifExternal","url":"string","q":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaInvoice.md b/old_docs/API_docs_v65/constructors/inputMediaInvoice.md index c63e1547..6c5c6baf 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaInvoice.md +++ b/old_docs/API_docs_v65/constructors/inputMediaInvoice.md @@ -30,6 +30,13 @@ description: inputMediaInvoice attributes, type and example $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => string, 'description' => string, 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => bytes, 'provider' => string, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaInvoice","title":"string","description":"string","photo":"InputWebDocument","invoice":"Invoice","payload":"bytes","provider":"string","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaPhoto.md b/old_docs/API_docs_v65/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v65/constructors/inputMediaPhotoExternal.md index b8115970..b50c9771 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v65/constructors/inputMediaPhotoExternal.md @@ -25,6 +25,13 @@ description: inputMediaPhotoExternal attributes, type and example $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhotoExternal","url":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v65/constructors/inputMediaUploadedDocument.md index 7a74f1d6..f88ff5f0 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v65/constructors/inputMediaUploadedDocument.md @@ -28,6 +28,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v65/constructors/inputMediaUploadedPhoto.md index 338e998b..ee07669d 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputMediaUploadedPhoto.md @@ -26,6 +26,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v65/constructors/inputMediaUploadedThumbDocument.md index 2e08e76d..fcbbab79 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v65/constructors/inputMediaUploadedThumbDocument.md @@ -29,6 +29,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMediaVenue.md b/old_docs/API_docs_v65/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v65/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v65/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v65/constructors/inputMessageEntityMentionName.md index ba7132d5..9465bf2b 100644 --- a/old_docs/API_docs_v65/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v65/constructors/inputMessageEntityMentionName.md @@ -26,6 +26,13 @@ description: inputMessageEntityMentionName attributes, type and example $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterChatPhotos.md index 06e4b6ed..7a78f5c4 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterChatPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterChatPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterGif.md index 02da8091..31be8767 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterGif.md @@ -19,6 +19,13 @@ description: inputMessagesFilterGif attributes, type and example $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterMusic.md index 2b211ca0..99111007 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterMusic.md @@ -19,6 +19,13 @@ description: inputMessagesFilterMusic attributes, type and example $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterMusic"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhoneCalls.md index e9193dc8..70531f22 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhoneCalls.md @@ -24,6 +24,13 @@ description: inputMessagesFilterPhoneCalls attributes, type and example $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhoneCalls","missed":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v65/constructors/inputMessagesFilterVoice.md index 1318e465..f111a3df 100644 --- a/old_docs/API_docs_v65/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v65/constructors/inputMessagesFilterVoice.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVoice attributes, type and example $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVoice"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputNotifyAll.md b/old_docs/API_docs_v65/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v65/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v65/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputNotifyChats.md b/old_docs/API_docs_v65/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v65/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v65/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputNotifyPeer.md b/old_docs/API_docs_v65/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v65/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v65/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputNotifyUsers.md b/old_docs/API_docs_v65/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v65/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v65/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPaymentCredentials.md b/old_docs/API_docs_v65/constructors/inputPaymentCredentials.md index af621e44..03d99d63 100644 --- a/old_docs/API_docs_v65/constructors/inputPaymentCredentials.md +++ b/old_docs/API_docs_v65/constructors/inputPaymentCredentials.md @@ -25,6 +25,13 @@ description: inputPaymentCredentials attributes, type and example $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPaymentCredentials","save":"Bool","data":"DataJSON"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPaymentCredentialsSaved.md b/old_docs/API_docs_v65/constructors/inputPaymentCredentialsSaved.md index 74c6ea9b..d3117a9d 100644 --- a/old_docs/API_docs_v65/constructors/inputPaymentCredentialsSaved.md +++ b/old_docs/API_docs_v65/constructors/inputPaymentCredentialsSaved.md @@ -25,6 +25,13 @@ description: inputPaymentCredentialsSaved attributes, type and example $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => string, 'tmp_password' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPaymentCredentialsSaved","id":"string","tmp_password":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPeerChannel.md b/old_docs/API_docs_v65/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v65/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPeerChat.md b/old_docs/API_docs_v65/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v65/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPeerEmpty.md b/old_docs/API_docs_v65/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v65/constructors/inputPeerNotifySettings.md index d8db7388..6676a2f6 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v65/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPeerSelf.md b/old_docs/API_docs_v65/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v65/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPeerUser.md b/old_docs/API_docs_v65/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v65/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v65/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPhoneCall.md b/old_docs/API_docs_v65/constructors/inputPhoneCall.md index 6f2c73f5..f9099021 100644 --- a/old_docs/API_docs_v65/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v65/constructors/inputPhoneCall.md @@ -25,6 +25,13 @@ description: inputPhoneCall attributes, type and example $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneCall","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPhoneContact.md b/old_docs/API_docs_v65/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v65/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v65/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPhoto.md b/old_docs/API_docs_v65/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v65/constructors/inputPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v65/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v65/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v65/constructors/inputPrivacyKeyChatInvite.md index 43210930..293e876d 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v65/constructors/inputPrivacyKeyPhoneCall.md index fdfe3360..ba97f5df 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyKeyPhoneCall.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyPhoneCall attributes, type and example $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyPhoneCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v65/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v65/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputReportReasonOther.md b/old_docs/API_docs_v65/constructors/inputReportReasonOther.md index 547711c4..ffd351a0 100644 --- a/old_docs/API_docs_v65/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v65/constructors/inputReportReasonOther.md @@ -24,6 +24,13 @@ description: inputReportReasonOther attributes, type and example $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonOther","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v65/constructors/inputReportReasonPornography.md index f73c6f4d..866d691c 100644 --- a/old_docs/API_docs_v65/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v65/constructors/inputReportReasonPornography.md @@ -19,6 +19,13 @@ description: inputReportReasonPornography attributes, type and example $inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonPornography"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v65/constructors/inputReportReasonSpam.md index ea2a9257..4cf6f414 100644 --- a/old_docs/API_docs_v65/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v65/constructors/inputReportReasonSpam.md @@ -19,6 +19,13 @@ description: inputReportReasonSpam attributes, type and example $inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonSpam"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v65/constructors/inputReportReasonViolence.md index 18a2ba4c..f2046d6e 100644 --- a/old_docs/API_docs_v65/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v65/constructors/inputReportReasonViolence.md @@ -19,6 +19,13 @@ description: inputReportReasonViolence attributes, type and example $inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonViolence"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v65/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v65/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputStickerSetID.md b/old_docs/API_docs_v65/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v65/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v65/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v65/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v65/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v65/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v65/constructors/inputStickeredMediaDocument.md index 59ce4e3e..e7a64e8c 100644 --- a/old_docs/API_docs_v65/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v65/constructors/inputStickeredMediaDocument.md @@ -24,6 +24,13 @@ description: inputStickeredMediaDocument attributes, type and example $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickeredMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v65/constructors/inputStickeredMediaPhoto.md index e48fb0e3..d909033a 100644 --- a/old_docs/API_docs_v65/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v65/constructors/inputStickeredMediaPhoto.md @@ -24,6 +24,13 @@ description: inputStickeredMediaPhoto attributes, type and example $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickeredMediaPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputUser.md b/old_docs/API_docs_v65/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v65/constructors/inputUser.md +++ b/old_docs/API_docs_v65/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputUserEmpty.md b/old_docs/API_docs_v65/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v65/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v65/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputUserSelf.md b/old_docs/API_docs_v65/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v65/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v65/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputWebDocument.md b/old_docs/API_docs_v65/constructors/inputWebDocument.md index cd28894d..c6d30018 100644 --- a/old_docs/API_docs_v65/constructors/inputWebDocument.md +++ b/old_docs/API_docs_v65/constructors/inputWebDocument.md @@ -27,6 +27,13 @@ description: inputWebDocument attributes, type and example $inputWebDocument = ['_' => 'inputWebDocument', 'url' => string, 'size' => int, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputWebDocument","url":"string","size":"int","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/inputWebFileLocation.md b/old_docs/API_docs_v65/constructors/inputWebFileLocation.md index e39ab6ac..dd65c97c 100644 --- a/old_docs/API_docs_v65/constructors/inputWebFileLocation.md +++ b/old_docs/API_docs_v65/constructors/inputWebFileLocation.md @@ -25,6 +25,13 @@ description: inputWebFileLocation attributes, type and example $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => string, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputWebFileLocation","url":"string","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/invoice.md b/old_docs/API_docs_v65/constructors/invoice.md index ce219681..594738d0 100644 --- a/old_docs/API_docs_v65/constructors/invoice.md +++ b/old_docs/API_docs_v65/constructors/invoice.md @@ -31,6 +31,13 @@ description: invoice attributes, type and example $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => string, 'prices' => [LabeledPrice], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"invoice","test":"Bool","name_requested":"Bool","phone_requested":"Bool","email_requested":"Bool","shipping_address_requested":"Bool","flexible":"Bool","currency":"string","prices":["LabeledPrice"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/keyboardButton.md b/old_docs/API_docs_v65/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButton.md +++ b/old_docs/API_docs_v65/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonBuy.md b/old_docs/API_docs_v65/constructors/keyboardButtonBuy.md index 6076d602..a01c257c 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonBuy.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonBuy.md @@ -24,6 +24,13 @@ description: keyboardButtonBuy attributes, type and example $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonBuy","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v65/constructors/keyboardButtonCallback.md index 1fe8571c..27bc68b8 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonCallback.md @@ -25,6 +25,13 @@ description: keyboardButtonCallback attributes, type and example $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonGame.md b/old_docs/API_docs_v65/constructors/keyboardButtonGame.md index 170831e1..a8569aed 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonGame.md @@ -24,6 +24,13 @@ description: keyboardButtonGame attributes, type and example $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonGame","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v65/constructors/keyboardButtonRequestGeoLocation.md index 05cfd3cb..38cdc756 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonRequestGeoLocation.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestGeoLocation","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v65/constructors/keyboardButtonRequestPhone.md index cbff4adb..9c76c330 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonRequestPhone.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestPhone attributes, type and example $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestPhone","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonRow.md b/old_docs/API_docs_v65/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v65/constructors/keyboardButtonSwitchInline.md index d93e0087..76688727 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonSwitchInline.md @@ -26,6 +26,13 @@ description: keyboardButtonSwitchInline attributes, type and example $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => string, 'query' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonSwitchInline","same_peer":"Bool","text":"string","query":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v65/constructors/keyboardButtonUrl.md index a6411824..bf60dc2a 100644 --- a/old_docs/API_docs_v65/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v65/constructors/keyboardButtonUrl.md @@ -25,6 +25,13 @@ description: keyboardButtonUrl attributes, type and example $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonUrl","text":"string","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/labeledPrice.md b/old_docs/API_docs_v65/constructors/labeledPrice.md index 7b4a1da4..0849bba2 100644 --- a/old_docs/API_docs_v65/constructors/labeledPrice.md +++ b/old_docs/API_docs_v65/constructors/labeledPrice.md @@ -25,6 +25,13 @@ description: labeledPrice attributes, type and example $labeledPrice = ['_' => 'labeledPrice', 'label' => string, 'amount' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"labeledPrice","label":"string","amount":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/maskCoords.md b/old_docs/API_docs_v65/constructors/maskCoords.md index a0779629..72c25c0e 100644 --- a/old_docs/API_docs_v65/constructors/maskCoords.md +++ b/old_docs/API_docs_v65/constructors/maskCoords.md @@ -27,6 +27,13 @@ description: maskCoords attributes, type and example $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"maskCoords","n":"int","x":"double","y":"double","zoom":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/message.md b/old_docs/API_docs_v65/constructors/message.md index 135401c5..cce1fc65 100644 --- a/old_docs/API_docs_v65/constructors/message.md +++ b/old_docs/API_docs_v65/constructors/message.md @@ -41,6 +41,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, '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' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","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":["MessageEntity"],"views":"int","edit_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v65/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v65/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v65/constructors/messageActionChannelMigrateFrom.md index d15c0bf3..b63de131 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v65/constructors/messageActionChannelMigrateFrom.md @@ -25,6 +25,13 @@ description: messageActionChannelMigrateFrom attributes, type and example $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v65/constructors/messageActionChatAddUser.md index 135e16de..5edc7d3b 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionChatCreate.md b/old_docs/API_docs_v65/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v65/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v65/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v65/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v65/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v65/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v65/constructors/messageActionChatMigrateTo.md index fda20a24..7214d295 100644 --- a/old_docs/API_docs_v65/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v65/constructors/messageActionChatMigrateTo.md @@ -24,6 +24,13 @@ description: messageActionChatMigrateTo attributes, type and example $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionEmpty.md b/old_docs/API_docs_v65/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v65/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v65/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionGameScore.md b/old_docs/API_docs_v65/constructors/messageActionGameScore.md index b94e0cf5..0f498dab 100644 --- a/old_docs/API_docs_v65/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v65/constructors/messageActionGameScore.md @@ -25,6 +25,13 @@ description: messageActionGameScore attributes, type and example $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionGameScore","game_id":"long","score":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v65/constructors/messageActionHistoryClear.md index 02160753..d576d087 100644 --- a/old_docs/API_docs_v65/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v65/constructors/messageActionHistoryClear.md @@ -19,6 +19,13 @@ description: messageActionHistoryClear attributes, type and example $messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionHistoryClear"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionPaymentSent.md b/old_docs/API_docs_v65/constructors/messageActionPaymentSent.md index 1b864185..d926846a 100644 --- a/old_docs/API_docs_v65/constructors/messageActionPaymentSent.md +++ b/old_docs/API_docs_v65/constructors/messageActionPaymentSent.md @@ -25,6 +25,13 @@ description: messageActionPaymentSent attributes, type and example $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => string, 'total_amount' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPaymentSent","currency":"string","total_amount":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionPaymentSentMe.md b/old_docs/API_docs_v65/constructors/messageActionPaymentSentMe.md index b13bdf41..32e5b4ae 100644 --- a/old_docs/API_docs_v65/constructors/messageActionPaymentSentMe.md +++ b/old_docs/API_docs_v65/constructors/messageActionPaymentSentMe.md @@ -29,6 +29,13 @@ description: messageActionPaymentSentMe attributes, type and example $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => string, 'total_amount' => long, 'payload' => bytes, 'info' => PaymentRequestedInfo, 'shipping_option_id' => string, 'charge' => PaymentCharge, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPaymentSentMe","currency":"string","total_amount":"long","payload":"bytes","info":"PaymentRequestedInfo","shipping_option_id":"string","charge":"PaymentCharge"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v65/constructors/messageActionPhoneCall.md index ca360e23..6eed4cd3 100644 --- a/old_docs/API_docs_v65/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v65/constructors/messageActionPhoneCall.md @@ -26,6 +26,13 @@ description: messageActionPhoneCall attributes, type and example $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPhoneCall","call_id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageActionPinMessage.md b/old_docs/API_docs_v65/constructors/messageActionPinMessage.md index 05443bcc..c8595522 100644 --- a/old_docs/API_docs_v65/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v65/constructors/messageActionPinMessage.md @@ -19,6 +19,13 @@ description: messageActionPinMessage attributes, type and example $messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPinMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageEmpty.md b/old_docs/API_docs_v65/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v65/constructors/messageEmpty.md +++ b/old_docs/API_docs_v65/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageEntityBold.md b/old_docs/API_docs_v65/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v65/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v65/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v65/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageEntityCode.md b/old_docs/API_docs_v65/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v65/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageEntityEmail.md b/old_docs/API_docs_v65/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v65/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageEntityHashtag.md b/old_docs/API_docs_v65/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v65/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageEntityItalic.md b/old_docs/API_docs_v65/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v65/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageEntityMention.md b/old_docs/API_docs_v65/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v65/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageEntityMentionName.md b/old_docs/API_docs_v65/constructors/messageEntityMentionName.md index 7d3947db..2eb6439b 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v65/constructors/messageEntityMentionName.md @@ -26,6 +26,13 @@ description: messageEntityMentionName attributes, type and example $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageEntityPre.md b/old_docs/API_docs_v65/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v65/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v65/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v65/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageEntityUnknown.md b/old_docs/API_docs_v65/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v65/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageEntityUrl.md b/old_docs/API_docs_v65/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v65/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v65/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageFwdHeader.md b/old_docs/API_docs_v65/constructors/messageFwdHeader.md index 80baa30c..15b5b5f3 100644 --- a/old_docs/API_docs_v65/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v65/constructors/messageFwdHeader.md @@ -27,6 +27,13 @@ description: messageFwdHeader attributes, type and example $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageMediaContact.md b/old_docs/API_docs_v65/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v65/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageMediaDocument.md b/old_docs/API_docs_v65/constructors/messageMediaDocument.md index 66a67150..0fc6558b 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v65/constructors/messageMediaDocument.md @@ -25,6 +25,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageMediaEmpty.md b/old_docs/API_docs_v65/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v65/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageMediaGame.md b/old_docs/API_docs_v65/constructors/messageMediaGame.md index 7a5e9dbc..349b9023 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v65/constructors/messageMediaGame.md @@ -24,6 +24,13 @@ description: messageMediaGame attributes, type and example $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGame","game":"Game"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageMediaGeo.md b/old_docs/API_docs_v65/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v65/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageMediaInvoice.md b/old_docs/API_docs_v65/constructors/messageMediaInvoice.md index 2c7cdb20..cfbcd280 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaInvoice.md +++ b/old_docs/API_docs_v65/constructors/messageMediaInvoice.md @@ -32,6 +32,13 @@ description: messageMediaInvoice attributes, type and example $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => string, 'description' => string, 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => string, 'total_amount' => long, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaInvoice","shipping_address_requested":"Bool","test":"Bool","title":"string","description":"string","photo":"WebDocument","receipt_msg_id":"int","currency":"string","total_amount":"long","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageMediaPhoto.md b/old_docs/API_docs_v65/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v65/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v65/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v65/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageMediaVenue.md b/old_docs/API_docs_v65/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v65/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageMediaWebPage.md b/old_docs/API_docs_v65/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v65/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v65/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageRange.md b/old_docs/API_docs_v65/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v65/constructors/messageRange.md +++ b/old_docs/API_docs_v65/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messageService.md b/old_docs/API_docs_v65/constructors/messageService.md index 2b2990c5..558cc6c9 100644 --- a/old_docs/API_docs_v65/constructors/messageService.md +++ b/old_docs/API_docs_v65/constructors/messageService.md @@ -34,6 +34,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","id":"int","from_id":"int","to_id":"Peer","reply_to_msg_id":"int","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_affectedHistory.md b/old_docs/API_docs_v65/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v65/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v65/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_affectedMessages.md b/old_docs/API_docs_v65/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v65/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v65/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_allStickers.md b/old_docs/API_docs_v65/constructors/messages_allStickers.md index 7a5fe6af..a16f30e8 100644 --- a/old_docs/API_docs_v65/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v65/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_archivedStickers.md b/old_docs/API_docs_v65/constructors/messages_archivedStickers.md index c04ebb81..7cc54d64 100644 --- a/old_docs/API_docs_v65/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v65/constructors/messages_archivedStickers.md @@ -25,6 +25,13 @@ description: messages_archivedStickers attributes, type and example $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.archivedStickers","count":"int","sets":["StickerSetCovered"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md index 122fed81..d60a5957 100644 --- a/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v65/constructors/messages_botCallbackAnswer.md @@ -28,6 +28,13 @@ description: messages_botCallbackAnswer attributes, type and example $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, 'cache_time' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botCallbackAnswer","alert":"Bool","has_url":"Bool","message":"string","url":"string","cache_time":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_botResults.md b/old_docs/API_docs_v65/constructors/messages_botResults.md index 4b893535..8b1a8efc 100644 --- a/old_docs/API_docs_v65/constructors/messages_botResults.md +++ b/old_docs/API_docs_v65/constructors/messages_botResults.md @@ -29,6 +29,13 @@ description: messages_botResults attributes, type and example $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"],"cache_time":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_channelMessages.md b/old_docs/API_docs_v65/constructors/messages_channelMessages.md index e1e8ab16..4c5e4839 100644 --- a/old_docs/API_docs_v65/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v65/constructors/messages_channelMessages.md @@ -28,6 +28,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_chatFull.md b/old_docs/API_docs_v65/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v65/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v65/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_chats.md b/old_docs/API_docs_v65/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v65/constructors/messages_chats.md +++ b/old_docs/API_docs_v65/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_chatsSlice.md b/old_docs/API_docs_v65/constructors/messages_chatsSlice.md index a9ad638d..ddd00630 100644 --- a/old_docs/API_docs_v65/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v65/constructors/messages_chatsSlice.md @@ -25,6 +25,13 @@ description: messages_chatsSlice attributes, type and example $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatsSlice","count":"int","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_dhConfig.md b/old_docs/API_docs_v65/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v65/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v65/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_dialogs.md b/old_docs/API_docs_v65/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v65/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v65/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v65/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v65/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v65/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_featuredStickers.md b/old_docs/API_docs_v65/constructors/messages_featuredStickers.md index c4884d2e..beae5c36 100644 --- a/old_docs/API_docs_v65/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v65/constructors/messages_featuredStickers.md @@ -26,6 +26,13 @@ description: messages_featuredStickers attributes, type and example $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.featuredStickers","hash":"int","sets":["StickerSetCovered"],"unread":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md index 45036248..033dd647 100644 --- a/old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_featuredStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_featuredStickersNotModified attributes, type and example $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.featuredStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_foundGifs.md b/old_docs/API_docs_v65/constructors/messages_foundGifs.md index 5db1a1db..7cf2eaac 100644 --- a/old_docs/API_docs_v65/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v65/constructors/messages_foundGifs.md @@ -25,6 +25,13 @@ description: messages_foundGifs attributes, type and example $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_highScores.md b/old_docs/API_docs_v65/constructors/messages_highScores.md index 989bb2a3..6fdb3222 100644 --- a/old_docs/API_docs_v65/constructors/messages_highScores.md +++ b/old_docs/API_docs_v65/constructors/messages_highScores.md @@ -25,6 +25,13 @@ description: messages_highScores attributes, type and example $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.highScores","scores":["HighScore"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_messageEditData.md b/old_docs/API_docs_v65/constructors/messages_messageEditData.md index 84fede7d..f04529f4 100644 --- a/old_docs/API_docs_v65/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v65/constructors/messages_messageEditData.md @@ -24,6 +24,13 @@ description: messages_messageEditData attributes, type and example $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messageEditData","caption":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_messages.md b/old_docs/API_docs_v65/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v65/constructors/messages_messages.md +++ b/old_docs/API_docs_v65/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_messagesSlice.md b/old_docs/API_docs_v65/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v65/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v65/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_peerDialogs.md b/old_docs/API_docs_v65/constructors/messages_peerDialogs.md index 3f6ba7b2..ba596c19 100644 --- a/old_docs/API_docs_v65/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v65/constructors/messages_peerDialogs.md @@ -28,6 +28,13 @@ description: messages_peerDialogs attributes, type and example $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_recentStickers.md b/old_docs/API_docs_v65/constructors/messages_recentStickers.md index ec13359e..89cc7c7b 100644 --- a/old_docs/API_docs_v65/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v65/constructors/messages_recentStickers.md @@ -25,6 +25,13 @@ description: messages_recentStickers attributes, type and example $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.recentStickers","hash":"int","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md index fd4553c8..d4c2f39a 100644 --- a/old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_recentStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_recentStickersNotModified attributes, type and example $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.recentStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_savedGifs.md b/old_docs/API_docs_v65/constructors/messages_savedGifs.md index dfcab426..6077da46 100644 --- a/old_docs/API_docs_v65/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v65/constructors/messages_savedGifs.md @@ -25,6 +25,13 @@ description: messages_savedGifs attributes, type and example $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md index 78292bdb..6f35f43d 100644 --- a/old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_savedGifsNotModified.md @@ -19,6 +19,13 @@ description: messages_savedGifsNotModified attributes, type and example $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v65/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v65/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_stickerSet.md b/old_docs/API_docs_v65/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v65/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md index 92b2c31e..a56dbf2b 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultArchive.md @@ -24,6 +24,13 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSetInstallResultArchive","sets":["StickerSetCovered"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md index c3d79b4f..269af099 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v65/constructors/messages_stickerSetInstallResultSuccess.md @@ -19,6 +19,13 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSetInstallResultSuccess"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_stickers.md b/old_docs/API_docs_v65/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickers.md +++ b/old_docs/API_docs_v65/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v65/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v65/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v65/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/msg_detailed_info.md b/old_docs/API_docs_v65/constructors/msg_detailed_info.md index 61e40732..f92347b0 100644 --- a/old_docs/API_docs_v65/constructors/msg_detailed_info.md +++ b/old_docs/API_docs_v65/constructors/msg_detailed_info.md @@ -27,6 +27,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_detailed_info","msg_id":"long","answer_msg_id":"long","bytes":"int","status":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/msg_new_detailed_info.md b/old_docs/API_docs_v65/constructors/msg_new_detailed_info.md index 2f57220b..b2a3db96 100644 --- a/old_docs/API_docs_v65/constructors/msg_new_detailed_info.md +++ b/old_docs/API_docs_v65/constructors/msg_new_detailed_info.md @@ -26,6 +26,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_new_detailed_info","answer_msg_id":"long","bytes":"int","status":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/msg_resend_req.md b/old_docs/API_docs_v65/constructors/msg_resend_req.md index 58f6daec..2abb95c1 100644 --- a/old_docs/API_docs_v65/constructors/msg_resend_req.md +++ b/old_docs/API_docs_v65/constructors/msg_resend_req.md @@ -24,6 +24,13 @@ description: msg_resend_req attributes, type and example $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_resend_req","msg_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/msgs_ack.md b/old_docs/API_docs_v65/constructors/msgs_ack.md index 05f60aff..8b1b2f9f 100644 --- a/old_docs/API_docs_v65/constructors/msgs_ack.md +++ b/old_docs/API_docs_v65/constructors/msgs_ack.md @@ -24,6 +24,13 @@ description: msgs_ack attributes, type and example $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_ack","msg_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/msgs_all_info.md b/old_docs/API_docs_v65/constructors/msgs_all_info.md index f9adeb83..50a539bc 100644 --- a/old_docs/API_docs_v65/constructors/msgs_all_info.md +++ b/old_docs/API_docs_v65/constructors/msgs_all_info.md @@ -25,6 +25,13 @@ description: msgs_all_info attributes, type and example $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long], 'info' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_all_info","msg_ids":["long"],"info":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/msgs_state_info.md b/old_docs/API_docs_v65/constructors/msgs_state_info.md index 0066d567..d5819d23 100644 --- a/old_docs/API_docs_v65/constructors/msgs_state_info.md +++ b/old_docs/API_docs_v65/constructors/msgs_state_info.md @@ -25,6 +25,13 @@ description: msgs_state_info attributes, type and example $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_state_info","req_msg_id":"long","info":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/msgs_state_req.md b/old_docs/API_docs_v65/constructors/msgs_state_req.md index 53d846c7..8247b8c1 100644 --- a/old_docs/API_docs_v65/constructors/msgs_state_req.md +++ b/old_docs/API_docs_v65/constructors/msgs_state_req.md @@ -24,6 +24,13 @@ description: msgs_state_req attributes, type and example $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_state_req","msg_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/nearestDc.md b/old_docs/API_docs_v65/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v65/constructors/nearestDc.md +++ b/old_docs/API_docs_v65/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/new_session_created.md b/old_docs/API_docs_v65/constructors/new_session_created.md index 7cccc77c..5eac0fac 100644 --- a/old_docs/API_docs_v65/constructors/new_session_created.md +++ b/old_docs/API_docs_v65/constructors/new_session_created.md @@ -26,6 +26,13 @@ description: new_session_created attributes, type and example $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"new_session_created","first_msg_id":"long","unique_id":"long","server_salt":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/notifyAll.md b/old_docs/API_docs_v65/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v65/constructors/notifyAll.md +++ b/old_docs/API_docs_v65/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/notifyChats.md b/old_docs/API_docs_v65/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v65/constructors/notifyChats.md +++ b/old_docs/API_docs_v65/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/notifyPeer.md b/old_docs/API_docs_v65/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v65/constructors/notifyPeer.md +++ b/old_docs/API_docs_v65/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/notifyUsers.md b/old_docs/API_docs_v65/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v65/constructors/notifyUsers.md +++ b/old_docs/API_docs_v65/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/p_q_inner_data.md b/old_docs/API_docs_v65/constructors/p_q_inner_data.md index e8719b89..b956ca92 100644 --- a/old_docs/API_docs_v65/constructors/p_q_inner_data.md +++ b/old_docs/API_docs_v65/constructors/p_q_inner_data.md @@ -29,6 +29,13 @@ description: p_q_inner_data attributes, type and example $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => string, 'p' => string, 'q' => string, 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"p_q_inner_data","pq":"string","p":"string","q":"string","nonce":"int128","server_nonce":"int128","new_nonce":"int256"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockAnchor.md b/old_docs/API_docs_v65/constructors/pageBlockAnchor.md index b5f2dda9..7e7e3582 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v65/constructors/pageBlockAnchor.md @@ -24,6 +24,13 @@ description: pageBlockAnchor attributes, type and example $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockAnchor","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockAuthorDate.md b/old_docs/API_docs_v65/constructors/pageBlockAuthorDate.md index 3fe84037..b30337e1 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v65/constructors/pageBlockAuthorDate.md @@ -25,6 +25,13 @@ description: pageBlockAuthorDate attributes, type and example $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockAuthorDate","author":"RichText","published_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockBlockquote.md b/old_docs/API_docs_v65/constructors/pageBlockBlockquote.md index d020e7d4..03b93ab7 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v65/constructors/pageBlockBlockquote.md @@ -25,6 +25,13 @@ description: pageBlockBlockquote attributes, type and example $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockBlockquote","text":"RichText","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockCollage.md b/old_docs/API_docs_v65/constructors/pageBlockCollage.md index 74c40f44..7ae744f5 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v65/constructors/pageBlockCollage.md @@ -25,6 +25,13 @@ description: pageBlockCollage attributes, type and example $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock], 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockCollage","items":["PageBlock"],"caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockCover.md b/old_docs/API_docs_v65/constructors/pageBlockCover.md index 9ae62342..5c91d850 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v65/constructors/pageBlockCover.md @@ -24,6 +24,13 @@ description: pageBlockCover attributes, type and example $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockCover","cover":"PageBlock"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockDivider.md b/old_docs/API_docs_v65/constructors/pageBlockDivider.md index 81b90d28..03b6b756 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v65/constructors/pageBlockDivider.md @@ -19,6 +19,13 @@ description: pageBlockDivider attributes, type and example $pageBlockDivider = ['_' => 'pageBlockDivider', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockDivider"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockEmbed.md b/old_docs/API_docs_v65/constructors/pageBlockEmbed.md index 1b0887b7..acc257b8 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v65/constructors/pageBlockEmbed.md @@ -31,6 +31,13 @@ description: pageBlockEmbed attributes, type and example $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => string, 'html' => string, 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockEmbed","full_width":"Bool","allow_scrolling":"Bool","url":"string","html":"string","poster_photo_id":"long","w":"int","h":"int","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockEmbedPost.md b/old_docs/API_docs_v65/constructors/pageBlockEmbedPost.md index 8edfb4a1..7bd9a9cf 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v65/constructors/pageBlockEmbedPost.md @@ -30,6 +30,13 @@ description: pageBlockEmbedPost attributes, type and example $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => string, 'webpage_id' => long, 'author_photo_id' => long, 'author' => string, 'date' => int, 'blocks' => [PageBlock], 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockEmbedPost","url":"string","webpage_id":"long","author_photo_id":"long","author":"string","date":"int","blocks":["PageBlock"],"caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockFooter.md b/old_docs/API_docs_v65/constructors/pageBlockFooter.md index 94bc6666..b35e731e 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v65/constructors/pageBlockFooter.md @@ -24,6 +24,13 @@ description: pageBlockFooter attributes, type and example $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockFooter","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockHeader.md b/old_docs/API_docs_v65/constructors/pageBlockHeader.md index ed536e6e..69fb595d 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v65/constructors/pageBlockHeader.md @@ -24,6 +24,13 @@ description: pageBlockHeader attributes, type and example $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockHeader","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockList.md b/old_docs/API_docs_v65/constructors/pageBlockList.md index 4797dbcb..e3608efe 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockList.md +++ b/old_docs/API_docs_v65/constructors/pageBlockList.md @@ -25,6 +25,13 @@ description: pageBlockList attributes, type and example $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockList","ordered":"Bool","items":["RichText"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockParagraph.md b/old_docs/API_docs_v65/constructors/pageBlockParagraph.md index 4a8b62fd..c3cae789 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v65/constructors/pageBlockParagraph.md @@ -24,6 +24,13 @@ description: pageBlockParagraph attributes, type and example $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockParagraph","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockPhoto.md b/old_docs/API_docs_v65/constructors/pageBlockPhoto.md index 3deea303..cd89acb3 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v65/constructors/pageBlockPhoto.md @@ -25,6 +25,13 @@ description: pageBlockPhoto attributes, type and example $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockPhoto","photo_id":"long","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockPreformatted.md b/old_docs/API_docs_v65/constructors/pageBlockPreformatted.md index 38747e45..7fb3de67 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v65/constructors/pageBlockPreformatted.md @@ -25,6 +25,13 @@ description: pageBlockPreformatted attributes, type and example $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockPreformatted","text":"RichText","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockPullquote.md b/old_docs/API_docs_v65/constructors/pageBlockPullquote.md index 85a8ceed..12c9fc4c 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v65/constructors/pageBlockPullquote.md @@ -25,6 +25,13 @@ description: pageBlockPullquote attributes, type and example $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockPullquote","text":"RichText","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockSlideshow.md b/old_docs/API_docs_v65/constructors/pageBlockSlideshow.md index c71f0e90..de0d384c 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v65/constructors/pageBlockSlideshow.md @@ -25,6 +25,13 @@ description: pageBlockSlideshow attributes, type and example $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock], 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockSlideshow","items":["PageBlock"],"caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockSubheader.md b/old_docs/API_docs_v65/constructors/pageBlockSubheader.md index 495b6196..7efc0a7c 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v65/constructors/pageBlockSubheader.md @@ -24,6 +24,13 @@ description: pageBlockSubheader attributes, type and example $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockSubheader","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockSubtitle.md b/old_docs/API_docs_v65/constructors/pageBlockSubtitle.md index cc359365..6551b737 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v65/constructors/pageBlockSubtitle.md @@ -24,6 +24,13 @@ description: pageBlockSubtitle attributes, type and example $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockSubtitle","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockTitle.md b/old_docs/API_docs_v65/constructors/pageBlockTitle.md index cd3cc8e3..75f47508 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v65/constructors/pageBlockTitle.md @@ -24,6 +24,13 @@ description: pageBlockTitle attributes, type and example $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockTitle","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockUnsupported.md b/old_docs/API_docs_v65/constructors/pageBlockUnsupported.md index 59275dda..5b7d881f 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v65/constructors/pageBlockUnsupported.md @@ -19,6 +19,13 @@ description: pageBlockUnsupported attributes, type and example $pageBlockUnsupported = ['_' => 'pageBlockUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageBlockVideo.md b/old_docs/API_docs_v65/constructors/pageBlockVideo.md index 73379377..59a824c1 100644 --- a/old_docs/API_docs_v65/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v65/constructors/pageBlockVideo.md @@ -27,6 +27,13 @@ description: pageBlockVideo attributes, type and example $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockVideo","autoplay":"Bool","loop":"Bool","video_id":"long","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pageFull.md b/old_docs/API_docs_v65/constructors/pageFull.md index a7fe0800..3cbba529 100644 --- a/old_docs/API_docs_v65/constructors/pageFull.md +++ b/old_docs/API_docs_v65/constructors/pageFull.md @@ -26,6 +26,13 @@ description: pageFull attributes, type and example $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageFull","blocks":["PageBlock"],"photos":["Photo"],"videos":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pagePart.md b/old_docs/API_docs_v65/constructors/pagePart.md index 9558bcd4..638dc934 100644 --- a/old_docs/API_docs_v65/constructors/pagePart.md +++ b/old_docs/API_docs_v65/constructors/pagePart.md @@ -26,6 +26,13 @@ description: pagePart attributes, type and example $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pagePart","blocks":["PageBlock"],"photos":["Photo"],"videos":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/paymentCharge.md b/old_docs/API_docs_v65/constructors/paymentCharge.md index 4c08bbb7..2f9c6127 100644 --- a/old_docs/API_docs_v65/constructors/paymentCharge.md +++ b/old_docs/API_docs_v65/constructors/paymentCharge.md @@ -25,6 +25,13 @@ description: paymentCharge attributes, type and example $paymentCharge = ['_' => 'paymentCharge', 'id' => string, 'provider_charge_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"paymentCharge","id":"string","provider_charge_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/paymentRequestedInfo.md b/old_docs/API_docs_v65/constructors/paymentRequestedInfo.md index ad7a2907..a4e8612d 100644 --- a/old_docs/API_docs_v65/constructors/paymentRequestedInfo.md +++ b/old_docs/API_docs_v65/constructors/paymentRequestedInfo.md @@ -27,6 +27,13 @@ description: paymentRequestedInfo attributes, type and example $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => string, 'phone' => string, 'email' => string, 'shipping_address' => PostAddress, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"paymentRequestedInfo","name":"string","phone":"string","email":"string","shipping_address":"PostAddress"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/paymentSavedCredentialsCard.md b/old_docs/API_docs_v65/constructors/paymentSavedCredentialsCard.md index 16edbaf8..fd97903a 100644 --- a/old_docs/API_docs_v65/constructors/paymentSavedCredentialsCard.md +++ b/old_docs/API_docs_v65/constructors/paymentSavedCredentialsCard.md @@ -25,6 +25,13 @@ description: paymentSavedCredentialsCard attributes, type and example $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => string, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"paymentSavedCredentialsCard","id":"string","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/payments_paymentForm.md b/old_docs/API_docs_v65/constructors/payments_paymentForm.md index 4f22bcbd..dff13e64 100644 --- a/old_docs/API_docs_v65/constructors/payments_paymentForm.md +++ b/old_docs/API_docs_v65/constructors/payments_paymentForm.md @@ -34,6 +34,13 @@ description: payments_paymentForm attributes, type and example $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => string, 'native_provider' => string, 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.paymentForm","can_save_credentials":"Bool","password_missing":"Bool","bot_id":"int","invoice":"Invoice","provider_id":"int","url":"string","native_provider":"string","native_params":"DataJSON","saved_info":"PaymentRequestedInfo","saved_credentials":"PaymentSavedCredentials","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v65/constructors/payments_paymentReceipt.md index f3c14832..90000f42 100644 --- a/old_docs/API_docs_v65/constructors/payments_paymentReceipt.md +++ b/old_docs/API_docs_v65/constructors/payments_paymentReceipt.md @@ -33,6 +33,13 @@ description: payments_paymentReceipt attributes, type and example $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => string, 'total_amount' => long, 'credentials_title' => string, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.paymentReceipt","date":"int","bot_id":"int","invoice":"Invoice","provider_id":"int","info":"PaymentRequestedInfo","shipping":"ShippingOption","currency":"string","total_amount":"long","credentials_title":"string","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/payments_paymentResult.md b/old_docs/API_docs_v65/constructors/payments_paymentResult.md index 18d75fad..aad37320 100644 --- a/old_docs/API_docs_v65/constructors/payments_paymentResult.md +++ b/old_docs/API_docs_v65/constructors/payments_paymentResult.md @@ -24,6 +24,13 @@ description: payments_paymentResult attributes, type and example $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.paymentResult","updates":"Updates"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md index f3af9acf..0b2f4224 100644 --- a/old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md +++ b/old_docs/API_docs_v65/constructors/payments_paymentVerficationNeeded.md @@ -24,6 +24,13 @@ description: payments_paymentVerficationNeeded attributes, type and example $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.paymentVerficationNeeded","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/payments_savedInfo.md b/old_docs/API_docs_v65/constructors/payments_savedInfo.md index 42c5b738..57e9b3ad 100644 --- a/old_docs/API_docs_v65/constructors/payments_savedInfo.md +++ b/old_docs/API_docs_v65/constructors/payments_savedInfo.md @@ -25,6 +25,13 @@ description: payments_savedInfo attributes, type and example $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.savedInfo","has_saved_credentials":"Bool","saved_info":"PaymentRequestedInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md index abf335ca..7140482a 100644 --- a/old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md +++ b/old_docs/API_docs_v65/constructors/payments_validatedRequestedInfo.md @@ -25,6 +25,13 @@ description: payments_validatedRequestedInfo attributes, type and example $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => string, 'shipping_options' => [ShippingOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.validatedRequestedInfo","id":"string","shipping_options":["ShippingOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/peerChannel.md b/old_docs/API_docs_v65/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v65/constructors/peerChannel.md +++ b/old_docs/API_docs_v65/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/peerChat.md b/old_docs/API_docs_v65/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v65/constructors/peerChat.md +++ b/old_docs/API_docs_v65/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v65/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v65/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v65/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v65/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v65/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v65/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/peerNotifySettings.md b/old_docs/API_docs_v65/constructors/peerNotifySettings.md index 6c2d984e..fb5f90ac 100644 --- a/old_docs/API_docs_v65/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v65/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v65/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v65/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v65/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/peerSettings.md b/old_docs/API_docs_v65/constructors/peerSettings.md index 0169488e..1c888af9 100644 --- a/old_docs/API_docs_v65/constructors/peerSettings.md +++ b/old_docs/API_docs_v65/constructors/peerSettings.md @@ -24,6 +24,13 @@ description: peerSettings attributes, type and example $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerSettings","report_spam":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/peerUser.md b/old_docs/API_docs_v65/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v65/constructors/peerUser.md +++ b/old_docs/API_docs_v65/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/phoneCall.md b/old_docs/API_docs_v65/constructors/phoneCall.md index 50513213..6414af6f 100644 --- a/old_docs/API_docs_v65/constructors/phoneCall.md +++ b/old_docs/API_docs_v65/constructors/phoneCall.md @@ -34,6 +34,13 @@ description: phoneCall attributes, type and example $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection], 'start_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCall","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long","protocol":"PhoneCallProtocol","connection":"PhoneConnection","alternative_connections":["PhoneConnection"],"start_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/phoneCallAccepted.md b/old_docs/API_docs_v65/constructors/phoneCallAccepted.md index 9849a825..2065f97c 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallAccepted.md +++ b/old_docs/API_docs_v65/constructors/phoneCallAccepted.md @@ -30,6 +30,13 @@ description: phoneCallAccepted attributes, type and example $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => bytes, 'protocol' => PhoneCallProtocol, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallAccepted","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_b":"bytes","protocol":"PhoneCallProtocol"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonBusy.md b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonBusy.md index d0cb60c4..a8041928 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonBusy.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonBusy attributes, type and example $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonBusy"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonDisconnect.md index ce63efbe..c0567700 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonDisconnect.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonDisconnect attributes, type and example $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonDisconnect"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonHangup.md index 40841d73..7c108ec3 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonHangup.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonHangup attributes, type and example $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonHangup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonMissed.md index 04ea3fa0..f6aa306c 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscardReasonMissed.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonMissed attributes, type and example $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonMissed"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v65/constructors/phoneCallDiscarded.md index cc53c2c1..50f8bbaa 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v65/constructors/phoneCallDiscarded.md @@ -28,6 +28,13 @@ description: phoneCallDiscarded attributes, type and example $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscarded","need_rating":"Bool","need_debug":"Bool","id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/phoneCallEmpty.md b/old_docs/API_docs_v65/constructors/phoneCallEmpty.md index a3cade57..ad8dec73 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v65/constructors/phoneCallEmpty.md @@ -24,6 +24,13 @@ description: phoneCallEmpty attributes, type and example $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/phoneCallProtocol.md b/old_docs/API_docs_v65/constructors/phoneCallProtocol.md index f69b1a5f..b4f6dffb 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v65/constructors/phoneCallProtocol.md @@ -27,6 +27,13 @@ description: phoneCallProtocol attributes, type and example $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallProtocol","udp_p2p":"Bool","udp_reflector":"Bool","min_layer":"int","max_layer":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/phoneCallRequested.md b/old_docs/API_docs_v65/constructors/phoneCallRequested.md index b68645e1..64d3a65c 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v65/constructors/phoneCallRequested.md @@ -30,6 +30,13 @@ description: phoneCallRequested attributes, type and example $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => bytes, 'protocol' => PhoneCallProtocol, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallRequested","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_hash":"bytes","protocol":"PhoneCallProtocol"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/phoneCallWaiting.md b/old_docs/API_docs_v65/constructors/phoneCallWaiting.md index 577dcd51..702a868f 100644 --- a/old_docs/API_docs_v65/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v65/constructors/phoneCallWaiting.md @@ -30,6 +30,13 @@ description: phoneCallWaiting attributes, type and example $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallWaiting","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","protocol":"PhoneCallProtocol","receive_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/phoneConnection.md b/old_docs/API_docs_v65/constructors/phoneConnection.md index 730d3019..9c2c6a58 100644 --- a/old_docs/API_docs_v65/constructors/phoneConnection.md +++ b/old_docs/API_docs_v65/constructors/phoneConnection.md @@ -28,6 +28,13 @@ description: phoneConnection attributes, type and example $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => string, 'ipv6' => string, 'port' => int, 'peer_tag' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneConnection","id":"long","ip":"string","ipv6":"string","port":"int","peer_tag":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/phone_phoneCall.md b/old_docs/API_docs_v65/constructors/phone_phoneCall.md index bb789601..af0106eb 100644 --- a/old_docs/API_docs_v65/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v65/constructors/phone_phoneCall.md @@ -25,6 +25,13 @@ description: phone_phoneCall attributes, type and example $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phone.phoneCall","phone_call":"PhoneCall","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/photo.md b/old_docs/API_docs_v65/constructors/photo.md index 3ce8cc62..eeb39d1f 100644 --- a/old_docs/API_docs_v65/constructors/photo.md +++ b/old_docs/API_docs_v65/constructors/photo.md @@ -28,6 +28,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","has_stickers":"Bool","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/photoCachedSize.md b/old_docs/API_docs_v65/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v65/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v65/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/photoEmpty.md b/old_docs/API_docs_v65/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v65/constructors/photoEmpty.md +++ b/old_docs/API_docs_v65/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/photoSize.md b/old_docs/API_docs_v65/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v65/constructors/photoSize.md +++ b/old_docs/API_docs_v65/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/photoSizeEmpty.md b/old_docs/API_docs_v65/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v65/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v65/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/photos_photo.md b/old_docs/API_docs_v65/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v65/constructors/photos_photo.md +++ b/old_docs/API_docs_v65/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/photos_photos.md b/old_docs/API_docs_v65/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v65/constructors/photos_photos.md +++ b/old_docs/API_docs_v65/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/photos_photosSlice.md b/old_docs/API_docs_v65/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v65/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v65/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/pong.md b/old_docs/API_docs_v65/constructors/pong.md index 72b67d07..5c03bb9b 100644 --- a/old_docs/API_docs_v65/constructors/pong.md +++ b/old_docs/API_docs_v65/constructors/pong.md @@ -25,6 +25,13 @@ description: pong attributes, type and example $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pong","msg_id":"long","ping_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/postAddress.md b/old_docs/API_docs_v65/constructors/postAddress.md index fdd8c49a..5b656fd9 100644 --- a/old_docs/API_docs_v65/constructors/postAddress.md +++ b/old_docs/API_docs_v65/constructors/postAddress.md @@ -29,6 +29,13 @@ description: postAddress attributes, type and example $postAddress = ['_' => 'postAddress', 'street_line1' => string, 'street_line2' => string, 'city' => string, 'state' => string, 'country_iso2' => string, 'post_code' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"postAddress","street_line1":"string","street_line2":"string","city":"string","state":"string","country_iso2":"string","post_code":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v65/constructors/privacyKeyChatInvite.md index ad4a35e7..88fbe9a6 100644 --- a/old_docs/API_docs_v65/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v65/constructors/privacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: privacyKeyChatInvite attributes, type and example $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v65/constructors/privacyKeyPhoneCall.md index fc78bf34..894dccb5 100644 --- a/old_docs/API_docs_v65/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v65/constructors/privacyKeyPhoneCall.md @@ -19,6 +19,13 @@ description: privacyKeyPhoneCall attributes, type and example $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyPhoneCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v65/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v65/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v65/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v65/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v65/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v65/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v65/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v65/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v65/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v65/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v65/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v65/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v65/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v65/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v65/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v65/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v65/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v65/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v65/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/replyInlineMarkup.md b/old_docs/API_docs_v65/constructors/replyInlineMarkup.md index 4bc5d372..76e87dc2 100644 --- a/old_docs/API_docs_v65/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v65/constructors/replyInlineMarkup.md @@ -24,6 +24,13 @@ description: replyInlineMarkup attributes, type and example $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v65/constructors/replyKeyboardForceReply.md index 4f319506..02a0779a 100644 --- a/old_docs/API_docs_v65/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v65/constructors/replyKeyboardForceReply.md @@ -25,6 +25,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/replyKeyboardHide.md b/old_docs/API_docs_v65/constructors/replyKeyboardHide.md index 56faa8dd..8b210933 100644 --- a/old_docs/API_docs_v65/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v65/constructors/replyKeyboardHide.md @@ -24,6 +24,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v65/constructors/replyKeyboardMarkup.md index 3cebc41f..4269aeb9 100644 --- a/old_docs/API_docs_v65/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v65/constructors/replyKeyboardMarkup.md @@ -27,6 +27,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/resPQ.md b/old_docs/API_docs_v65/constructors/resPQ.md index 8eb06349..67f30009 100644 --- a/old_docs/API_docs_v65/constructors/resPQ.md +++ b/old_docs/API_docs_v65/constructors/resPQ.md @@ -27,6 +27,13 @@ description: resPQ attributes, type and example $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => string, 'server_public_key_fingerprints' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"resPQ","nonce":"int128","server_nonce":"int128","pq":"string","server_public_key_fingerprints":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/rpc_answer_dropped.md b/old_docs/API_docs_v65/constructors/rpc_answer_dropped.md index acf2ee62..9ea5479b 100644 --- a/old_docs/API_docs_v65/constructors/rpc_answer_dropped.md +++ b/old_docs/API_docs_v65/constructors/rpc_answer_dropped.md @@ -26,6 +26,13 @@ description: rpc_answer_dropped attributes, type and example $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_answer_dropped","msg_id":"long","seq_no":"int","bytes":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/rpc_answer_dropped_running.md b/old_docs/API_docs_v65/constructors/rpc_answer_dropped_running.md index 0634b3d8..c3723abd 100644 --- a/old_docs/API_docs_v65/constructors/rpc_answer_dropped_running.md +++ b/old_docs/API_docs_v65/constructors/rpc_answer_dropped_running.md @@ -19,6 +19,13 @@ description: rpc_answer_dropped_running attributes, type and example $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_answer_dropped_running"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/rpc_answer_unknown.md b/old_docs/API_docs_v65/constructors/rpc_answer_unknown.md index 6e7b0a87..58132b7a 100644 --- a/old_docs/API_docs_v65/constructors/rpc_answer_unknown.md +++ b/old_docs/API_docs_v65/constructors/rpc_answer_unknown.md @@ -19,6 +19,13 @@ description: rpc_answer_unknown attributes, type and example $rpc_answer_unknown = ['_' => 'rpc_answer_unknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_answer_unknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/rpc_error.md b/old_docs/API_docs_v65/constructors/rpc_error.md index ec318a68..fe821e55 100644 --- a/old_docs/API_docs_v65/constructors/rpc_error.md +++ b/old_docs/API_docs_v65/constructors/rpc_error.md @@ -25,6 +25,13 @@ description: rpc_error attributes, type and example $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_error","error_code":"int","error_message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v65/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v65/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v65/constructors/sendMessageGamePlayAction.md index 9d1c7e57..3fa832ac 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageGamePlayAction.md @@ -19,6 +19,13 @@ description: sendMessageGamePlayAction attributes, type and example $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGamePlayAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v65/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v65/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v65/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v65/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v65/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v65/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v65/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v65/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v65/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v65/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/server_DH_inner_data.md b/old_docs/API_docs_v65/constructors/server_DH_inner_data.md index 45715e9e..48ee3b47 100644 --- a/old_docs/API_docs_v65/constructors/server_DH_inner_data.md +++ b/old_docs/API_docs_v65/constructors/server_DH_inner_data.md @@ -29,6 +29,13 @@ 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' => string, 'g_a' => string, 'server_time' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"server_DH_inner_data","nonce":"int128","server_nonce":"int128","g":"int","dh_prime":"string","g_a":"string","server_time":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/server_DH_params_fail.md b/old_docs/API_docs_v65/constructors/server_DH_params_fail.md index 5540efcd..69df7594 100644 --- a/old_docs/API_docs_v65/constructors/server_DH_params_fail.md +++ b/old_docs/API_docs_v65/constructors/server_DH_params_fail.md @@ -26,6 +26,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"server_DH_params_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash":"int128"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/server_DH_params_ok.md b/old_docs/API_docs_v65/constructors/server_DH_params_ok.md index cc60418b..724e78f0 100644 --- a/old_docs/API_docs_v65/constructors/server_DH_params_ok.md +++ b/old_docs/API_docs_v65/constructors/server_DH_params_ok.md @@ -26,6 +26,13 @@ description: server_DH_params_ok attributes, type and example $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"server_DH_params_ok","nonce":"int128","server_nonce":"int128","encrypted_answer":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/shippingOption.md b/old_docs/API_docs_v65/constructors/shippingOption.md index be609c8f..cc20da56 100644 --- a/old_docs/API_docs_v65/constructors/shippingOption.md +++ b/old_docs/API_docs_v65/constructors/shippingOption.md @@ -26,6 +26,13 @@ description: shippingOption attributes, type and example $shippingOption = ['_' => 'shippingOption', 'id' => string, 'title' => string, 'prices' => [LabeledPrice], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"shippingOption","id":"string","title":"string","prices":["LabeledPrice"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/stickerPack.md b/old_docs/API_docs_v65/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v65/constructors/stickerPack.md +++ b/old_docs/API_docs_v65/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/stickerSet.md b/old_docs/API_docs_v65/constructors/stickerSet.md index 183cd048..20964d59 100644 --- a/old_docs/API_docs_v65/constructors/stickerSet.md +++ b/old_docs/API_docs_v65/constructors/stickerSet.md @@ -33,6 +33,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","installed":"Bool","archived":"Bool","official":"Bool","masks":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/stickerSetCovered.md b/old_docs/API_docs_v65/constructors/stickerSetCovered.md index db800fff..3421f170 100644 --- a/old_docs/API_docs_v65/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v65/constructors/stickerSetCovered.md @@ -25,6 +25,13 @@ description: stickerSetCovered attributes, type and example $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSetCovered","set":"StickerSet","cover":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v65/constructors/stickerSetMultiCovered.md index 78ed7ea0..c71c0503 100644 --- a/old_docs/API_docs_v65/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v65/constructors/stickerSetMultiCovered.md @@ -25,6 +25,13 @@ description: stickerSetMultiCovered attributes, type and example $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSetMultiCovered","set":"StickerSet","covers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/storage_fileGif.md b/old_docs/API_docs_v65/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v65/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/storage_fileJpeg.md b/old_docs/API_docs_v65/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v65/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/storage_fileMov.md b/old_docs/API_docs_v65/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v65/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/storage_fileMp3.md b/old_docs/API_docs_v65/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v65/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/storage_fileMp4.md b/old_docs/API_docs_v65/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v65/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/storage_filePartial.md b/old_docs/API_docs_v65/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v65/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v65/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/storage_filePdf.md b/old_docs/API_docs_v65/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v65/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v65/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/storage_filePng.md b/old_docs/API_docs_v65/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v65/constructors/storage_filePng.md +++ b/old_docs/API_docs_v65/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/storage_fileUnknown.md b/old_docs/API_docs_v65/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v65/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/storage_fileWebp.md b/old_docs/API_docs_v65/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v65/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v65/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/textBold.md b/old_docs/API_docs_v65/constructors/textBold.md index 5ecdceee..e701f64a 100644 --- a/old_docs/API_docs_v65/constructors/textBold.md +++ b/old_docs/API_docs_v65/constructors/textBold.md @@ -24,6 +24,13 @@ description: textBold attributes, type and example $textBold = ['_' => 'textBold', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textBold","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/textConcat.md b/old_docs/API_docs_v65/constructors/textConcat.md index a32a7403..4cb1d8b4 100644 --- a/old_docs/API_docs_v65/constructors/textConcat.md +++ b/old_docs/API_docs_v65/constructors/textConcat.md @@ -24,6 +24,13 @@ description: textConcat attributes, type and example $textConcat = ['_' => 'textConcat', 'texts' => [RichText], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textConcat","texts":["RichText"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/textEmail.md b/old_docs/API_docs_v65/constructors/textEmail.md index 666b9708..269829ac 100644 --- a/old_docs/API_docs_v65/constructors/textEmail.md +++ b/old_docs/API_docs_v65/constructors/textEmail.md @@ -25,6 +25,13 @@ description: textEmail attributes, type and example $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textEmail","text":"RichText","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/textEmpty.md b/old_docs/API_docs_v65/constructors/textEmpty.md index f583a5ad..9e0b229a 100644 --- a/old_docs/API_docs_v65/constructors/textEmpty.md +++ b/old_docs/API_docs_v65/constructors/textEmpty.md @@ -19,6 +19,13 @@ description: textEmpty attributes, type and example $textEmpty = ['_' => 'textEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/textFixed.md b/old_docs/API_docs_v65/constructors/textFixed.md index 44c06b65..892359ad 100644 --- a/old_docs/API_docs_v65/constructors/textFixed.md +++ b/old_docs/API_docs_v65/constructors/textFixed.md @@ -24,6 +24,13 @@ description: textFixed attributes, type and example $textFixed = ['_' => 'textFixed', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textFixed","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/textItalic.md b/old_docs/API_docs_v65/constructors/textItalic.md index 738aa112..d8911436 100644 --- a/old_docs/API_docs_v65/constructors/textItalic.md +++ b/old_docs/API_docs_v65/constructors/textItalic.md @@ -24,6 +24,13 @@ description: textItalic attributes, type and example $textItalic = ['_' => 'textItalic', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textItalic","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/textPlain.md b/old_docs/API_docs_v65/constructors/textPlain.md index 30d8e9e7..9a4a04f2 100644 --- a/old_docs/API_docs_v65/constructors/textPlain.md +++ b/old_docs/API_docs_v65/constructors/textPlain.md @@ -24,6 +24,13 @@ description: textPlain attributes, type and example $textPlain = ['_' => 'textPlain', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textPlain","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/textStrike.md b/old_docs/API_docs_v65/constructors/textStrike.md index c8726973..5fcf7345 100644 --- a/old_docs/API_docs_v65/constructors/textStrike.md +++ b/old_docs/API_docs_v65/constructors/textStrike.md @@ -24,6 +24,13 @@ description: textStrike attributes, type and example $textStrike = ['_' => 'textStrike', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textStrike","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/textUnderline.md b/old_docs/API_docs_v65/constructors/textUnderline.md index 765c290a..6c9e19d1 100644 --- a/old_docs/API_docs_v65/constructors/textUnderline.md +++ b/old_docs/API_docs_v65/constructors/textUnderline.md @@ -24,6 +24,13 @@ description: textUnderline attributes, type and example $textUnderline = ['_' => 'textUnderline', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textUnderline","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/textUrl.md b/old_docs/API_docs_v65/constructors/textUrl.md index 3552c6fd..f8df8e96 100644 --- a/old_docs/API_docs_v65/constructors/textUrl.md +++ b/old_docs/API_docs_v65/constructors/textUrl.md @@ -26,6 +26,13 @@ description: textUrl attributes, type and example $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => string, 'webpage_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textUrl","text":"RichText","url":"string","webpage_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/topPeer.md b/old_docs/API_docs_v65/constructors/topPeer.md index 016a7857..25b4c2c3 100644 --- a/old_docs/API_docs_v65/constructors/topPeer.md +++ b/old_docs/API_docs_v65/constructors/topPeer.md @@ -25,6 +25,13 @@ description: topPeer attributes, type and example $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeer","peer":"Peer","rating":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v65/constructors/topPeerCategoryBotsInline.md index 30fa513f..e6dc94bf 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryBotsInline.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsInline attributes, type and example $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsInline"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v65/constructors/topPeerCategoryBotsPM.md index f87934ed..07fc07da 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryBotsPM.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsPM attributes, type and example $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsPM"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v65/constructors/topPeerCategoryChannels.md index 6b72af0a..61f1750a 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryChannels.md @@ -19,6 +19,13 @@ description: topPeerCategoryChannels attributes, type and example $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryChannels"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v65/constructors/topPeerCategoryCorrespondents.md index c45dee85..735ff49e 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryCorrespondents.md @@ -19,6 +19,13 @@ description: topPeerCategoryCorrespondents attributes, type and example $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryCorrespondents"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v65/constructors/topPeerCategoryGroups.md index 3f6c8fdf..4ae25a25 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryGroups.md @@ -19,6 +19,13 @@ description: topPeerCategoryGroups attributes, type and example $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryGroups"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v65/constructors/topPeerCategoryPeers.md index 8fd2021b..655db3fb 100644 --- a/old_docs/API_docs_v65/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v65/constructors/topPeerCategoryPeers.md @@ -26,6 +26,13 @@ description: topPeerCategoryPeers attributes, type and example $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/true.md b/old_docs/API_docs_v65/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v65/constructors/true.md +++ b/old_docs/API_docs_v65/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v65/constructors/updateBotCallbackQuery.md index 9813adb2..8275bafc 100644 --- a/old_docs/API_docs_v65/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotCallbackQuery.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","chat_instance":"long","data":"bytes","game_short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v65/constructors/updateBotInlineQuery.md index 5cc6956a..9002aa9b 100644 --- a/old_docs/API_docs_v65/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotInlineQuery.md @@ -28,6 +28,13 @@ description: updateBotInlineQuery attributes, type and example $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateBotInlineSend.md b/old_docs/API_docs_v65/constructors/updateBotInlineSend.md index fb062eb3..816f950f 100644 --- a/old_docs/API_docs_v65/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v65/constructors/updateBotInlineSend.md @@ -28,6 +28,13 @@ description: updateBotInlineSend attributes, type and example $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateBotPrecheckoutQuery.md b/old_docs/API_docs_v65/constructors/updateBotPrecheckoutQuery.md index b9a43154..39c5ac38 100644 --- a/old_docs/API_docs_v65/constructors/updateBotPrecheckoutQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotPrecheckoutQuery.md @@ -30,6 +30,13 @@ description: updateBotPrecheckoutQuery attributes, type and example $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => bytes, 'info' => PaymentRequestedInfo, 'shipping_option_id' => string, 'currency' => string, 'total_amount' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotPrecheckoutQuery","query_id":"long","user_id":"int","payload":"bytes","info":"PaymentRequestedInfo","shipping_option_id":"string","currency":"string","total_amount":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateBotShippingQuery.md b/old_docs/API_docs_v65/constructors/updateBotShippingQuery.md index 3e2af1f8..070149e1 100644 --- a/old_docs/API_docs_v65/constructors/updateBotShippingQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotShippingQuery.md @@ -27,6 +27,13 @@ description: updateBotShippingQuery attributes, type and example $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => bytes, 'shipping_address' => PostAddress, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotShippingQuery","query_id":"long","user_id":"int","payload":"bytes","shipping_address":"PostAddress"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateBotWebhookJSON.md b/old_docs/API_docs_v65/constructors/updateBotWebhookJSON.md index 25f42036..d5785cac 100644 --- a/old_docs/API_docs_v65/constructors/updateBotWebhookJSON.md +++ b/old_docs/API_docs_v65/constructors/updateBotWebhookJSON.md @@ -24,6 +24,13 @@ description: updateBotWebhookJSON attributes, type and example $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotWebhookJSON","data":"DataJSON"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateBotWebhookJSONQuery.md b/old_docs/API_docs_v65/constructors/updateBotWebhookJSONQuery.md index ef58ba54..ffcaaa4b 100644 --- a/old_docs/API_docs_v65/constructors/updateBotWebhookJSONQuery.md +++ b/old_docs/API_docs_v65/constructors/updateBotWebhookJSONQuery.md @@ -26,6 +26,13 @@ description: updateBotWebhookJSONQuery attributes, type and example $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotWebhookJSONQuery","query_id":"long","data":"DataJSON","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateChannel.md b/old_docs/API_docs_v65/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/old_docs/API_docs_v65/constructors/updateChannel.md +++ b/old_docs/API_docs_v65/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v65/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/old_docs/API_docs_v65/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v65/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v65/constructors/updateChannelPinnedMessage.md index f6179fd7..cbdc70c7 100644 --- a/old_docs/API_docs_v65/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v65/constructors/updateChannelPinnedMessage.md @@ -25,6 +25,13 @@ description: updateChannelPinnedMessage attributes, type and example $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateChannelTooLong.md b/old_docs/API_docs_v65/constructors/updateChannelTooLong.md index c6a74206..f0a327af 100644 --- a/old_docs/API_docs_v65/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v65/constructors/updateChannelTooLong.md @@ -25,6 +25,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateChannelWebPage.md b/old_docs/API_docs_v65/constructors/updateChannelWebPage.md index ba04b77e..e587d33e 100644 --- a/old_docs/API_docs_v65/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v65/constructors/updateChannelWebPage.md @@ -27,6 +27,13 @@ description: updateChannelWebPage attributes, type and example $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelWebPage","channel_id":"int","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateChatAdmins.md b/old_docs/API_docs_v65/constructors/updateChatAdmins.md index 36fb3614..bf391961 100644 --- a/old_docs/API_docs_v65/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v65/constructors/updateChatAdmins.md @@ -26,6 +26,13 @@ description: updateChatAdmins attributes, type and example $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v65/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/old_docs/API_docs_v65/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v65/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v65/constructors/updateChatParticipantAdmin.md index fbb2cdae..ba5bbc95 100644 --- a/old_docs/API_docs_v65/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v65/constructors/updateChatParticipantAdmin.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdmin attributes, type and example $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v65/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v65/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v65/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateChatParticipants.md b/old_docs/API_docs_v65/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v65/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v65/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateChatUserTyping.md b/old_docs/API_docs_v65/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v65/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v65/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateConfig.md b/old_docs/API_docs_v65/constructors/updateConfig.md index 34692274..ed455bd6 100644 --- a/old_docs/API_docs_v65/constructors/updateConfig.md +++ b/old_docs/API_docs_v65/constructors/updateConfig.md @@ -19,6 +19,13 @@ description: updateConfig attributes, type and example $updateConfig = ['_' => 'updateConfig', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateConfig"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateContactLink.md b/old_docs/API_docs_v65/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v65/constructors/updateContactLink.md +++ b/old_docs/API_docs_v65/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateContactRegistered.md b/old_docs/API_docs_v65/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v65/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v65/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateDcOptions.md b/old_docs/API_docs_v65/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v65/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v65/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v65/constructors/updateDeleteChannelMessages.md index 6f8c20d5..a078a880 100644 --- a/old_docs/API_docs_v65/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v65/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateDeleteMessages.md b/old_docs/API_docs_v65/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v65/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v65/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateDialogPinned.md b/old_docs/API_docs_v65/constructors/updateDialogPinned.md index 0851cb65..38eb9c2d 100644 --- a/old_docs/API_docs_v65/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v65/constructors/updateDialogPinned.md @@ -25,6 +25,13 @@ description: updateDialogPinned attributes, type and example $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDialogPinned","pinned":"Bool","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateDraftMessage.md b/old_docs/API_docs_v65/constructors/updateDraftMessage.md index 3eb98097..5dedfd93 100644 --- a/old_docs/API_docs_v65/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v65/constructors/updateDraftMessage.md @@ -25,6 +25,13 @@ description: updateDraftMessage attributes, type and example $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v65/constructors/updateEditChannelMessage.md index 65a44b23..f2d2b288 100644 --- a/old_docs/API_docs_v65/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v65/constructors/updateEditChannelMessage.md @@ -26,6 +26,13 @@ description: updateEditChannelMessage attributes, type and example $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateEditMessage.md b/old_docs/API_docs_v65/constructors/updateEditMessage.md index 7b681445..3e2f86a3 100644 --- a/old_docs/API_docs_v65/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v65/constructors/updateEditMessage.md @@ -26,6 +26,13 @@ description: updateEditMessage attributes, type and example $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v65/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v65/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v65/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v65/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v65/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v65/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateEncryption.md b/old_docs/API_docs_v65/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v65/constructors/updateEncryption.md +++ b/old_docs/API_docs_v65/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v65/constructors/updateInlineBotCallbackQuery.md index c358c306..a0fbf330 100644 --- a/old_docs/API_docs_v65/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v65/constructors/updateInlineBotCallbackQuery.md @@ -29,6 +29,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","chat_instance":"long","data":"bytes","game_short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateMessageID.md b/old_docs/API_docs_v65/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v65/constructors/updateMessageID.md +++ b/old_docs/API_docs_v65/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v65/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/old_docs/API_docs_v65/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v65/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v65/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v65/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v65/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateNewMessage.md b/old_docs/API_docs_v65/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v65/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v65/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateNewStickerSet.md b/old_docs/API_docs_v65/constructors/updateNewStickerSet.md index ccb4f17f..919c3ad8 100644 --- a/old_docs/API_docs_v65/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v65/constructors/updateNewStickerSet.md @@ -24,6 +24,13 @@ description: updateNewStickerSet attributes, type and example $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateNotifySettings.md b/old_docs/API_docs_v65/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v65/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v65/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updatePhoneCall.md b/old_docs/API_docs_v65/constructors/updatePhoneCall.md index 6bddbe82..f124d856 100644 --- a/old_docs/API_docs_v65/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v65/constructors/updatePhoneCall.md @@ -24,6 +24,13 @@ description: updatePhoneCall attributes, type and example $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePhoneCall","phone_call":"PhoneCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updatePinnedDialogs.md b/old_docs/API_docs_v65/constructors/updatePinnedDialogs.md index 1a62c188..cca37904 100644 --- a/old_docs/API_docs_v65/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v65/constructors/updatePinnedDialogs.md @@ -24,6 +24,13 @@ description: updatePinnedDialogs attributes, type and example $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePinnedDialogs","order":["Peer"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updatePrivacy.md b/old_docs/API_docs_v65/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v65/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v65/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updatePtsChanged.md b/old_docs/API_docs_v65/constructors/updatePtsChanged.md index d8103452..bc4c62dd 100644 --- a/old_docs/API_docs_v65/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v65/constructors/updatePtsChanged.md @@ -19,6 +19,13 @@ description: updatePtsChanged attributes, type and example $updatePtsChanged = ['_' => 'updatePtsChanged', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePtsChanged"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v65/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/old_docs/API_docs_v65/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v65/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v65/constructors/updateReadChannelOutbox.md index 162db1ec..5e1ce23d 100644 --- a/old_docs/API_docs_v65/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v65/constructors/updateReadChannelOutbox.md @@ -25,6 +25,13 @@ description: updateReadChannelOutbox attributes, type and example $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v65/constructors/updateReadFeaturedStickers.md index 2f548027..7b10baa4 100644 --- a/old_docs/API_docs_v65/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v65/constructors/updateReadFeaturedStickers.md @@ -19,6 +19,13 @@ description: updateReadFeaturedStickers attributes, type and example $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadFeaturedStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v65/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v65/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v65/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v65/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v65/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v65/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v65/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v65/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v65/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateRecentStickers.md b/old_docs/API_docs_v65/constructors/updateRecentStickers.md index b773f5bd..4ac9a838 100644 --- a/old_docs/API_docs_v65/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v65/constructors/updateRecentStickers.md @@ -19,6 +19,13 @@ description: updateRecentStickers attributes, type and example $updateRecentStickers = ['_' => 'updateRecentStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateRecentStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateSavedGifs.md b/old_docs/API_docs_v65/constructors/updateSavedGifs.md index a52b7838..46dfb8a6 100644 --- a/old_docs/API_docs_v65/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v65/constructors/updateSavedGifs.md @@ -19,6 +19,13 @@ description: updateSavedGifs attributes, type and example $updateSavedGifs = ['_' => 'updateSavedGifs', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateSavedGifs"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateServiceNotification.md b/old_docs/API_docs_v65/constructors/updateServiceNotification.md index 9e55804d..b8b75dcf 100644 --- a/old_docs/API_docs_v65/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v65/constructors/updateServiceNotification.md @@ -29,6 +29,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => string, 'message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","popup":"Bool","inbox_date":"int","type":"string","message":"string","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateShort.md b/old_docs/API_docs_v65/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v65/constructors/updateShort.md +++ b/old_docs/API_docs_v65/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateShortChatMessage.md b/old_docs/API_docs_v65/constructors/updateShortChatMessage.md index 5bd6de08..ea43359c 100644 --- a/old_docs/API_docs_v65/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v65/constructors/updateShortChatMessage.md @@ -38,6 +38,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateShortMessage.md b/old_docs/API_docs_v65/constructors/updateShortMessage.md index 0c46fb50..1a9f106f 100644 --- a/old_docs/API_docs_v65/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v65/constructors/updateShortMessage.md @@ -37,6 +37,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateShortSentMessage.md b/old_docs/API_docs_v65/constructors/updateShortSentMessage.md index 2172b3a1..d67179f2 100644 --- a/old_docs/API_docs_v65/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v65/constructors/updateShortSentMessage.md @@ -30,6 +30,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateStickerSets.md b/old_docs/API_docs_v65/constructors/updateStickerSets.md index 0affa36f..69c53b51 100644 --- a/old_docs/API_docs_v65/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v65/constructors/updateStickerSets.md @@ -19,6 +19,13 @@ description: updateStickerSets attributes, type and example $updateStickerSets = ['_' => 'updateStickerSets', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSets"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v65/constructors/updateStickerSetsOrder.md index 4b7ad6af..809b82d6 100644 --- a/old_docs/API_docs_v65/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v65/constructors/updateStickerSetsOrder.md @@ -25,6 +25,13 @@ description: updateStickerSetsOrder attributes, type and example $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSetsOrder","masks":"Bool","order":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateUserBlocked.md b/old_docs/API_docs_v65/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v65/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v65/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateUserName.md b/old_docs/API_docs_v65/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v65/constructors/updateUserName.md +++ b/old_docs/API_docs_v65/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateUserPhone.md b/old_docs/API_docs_v65/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v65/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v65/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateUserPhoto.md b/old_docs/API_docs_v65/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v65/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v65/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateUserStatus.md b/old_docs/API_docs_v65/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v65/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v65/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateUserTyping.md b/old_docs/API_docs_v65/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v65/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v65/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updateWebPage.md b/old_docs/API_docs_v65/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/old_docs/API_docs_v65/constructors/updateWebPage.md +++ b/old_docs/API_docs_v65/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updates.md b/old_docs/API_docs_v65/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v65/constructors/updates.md +++ b/old_docs/API_docs_v65/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updatesCombined.md b/old_docs/API_docs_v65/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v65/constructors/updatesCombined.md +++ b/old_docs/API_docs_v65/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updatesTooLong.md b/old_docs/API_docs_v65/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v65/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v65/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updates_channelDifference.md b/old_docs/API_docs_v65/constructors/updates_channelDifference.md index c64c69b6..876e8d13 100644 --- a/old_docs/API_docs_v65/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v65/constructors/updates_channelDifference.md @@ -30,6 +30,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md index 6e4d7bde..c596d24a 100644 --- a/old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v65/constructors/updates_channelDifferenceEmpty.md @@ -26,6 +26,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md index 0e295673..464117f9 100644 --- a/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md @@ -33,6 +33,13 @@ description: updates_channelDifferenceTooLong attributes, type and example $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceTooLong","final":"Bool","pts":"int","timeout":"int","top_message":"int","read_inbox_max_id":"int","read_outbox_max_id":"int","unread_count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updates_difference.md b/old_docs/API_docs_v65/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v65/constructors/updates_difference.md +++ b/old_docs/API_docs_v65/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v65/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v65/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v65/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updates_differenceSlice.md b/old_docs/API_docs_v65/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v65/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v65/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v65/constructors/updates_differenceTooLong.md index edef3aed..8530a319 100644 --- a/old_docs/API_docs_v65/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v65/constructors/updates_differenceTooLong.md @@ -24,6 +24,13 @@ description: updates_differenceTooLong attributes, type and example $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceTooLong","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/updates_state.md b/old_docs/API_docs_v65/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v65/constructors/updates_state.md +++ b/old_docs/API_docs_v65/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/upload_file.md b/old_docs/API_docs_v65/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v65/constructors/upload_file.md +++ b/old_docs/API_docs_v65/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/upload_webFile.md b/old_docs/API_docs_v65/constructors/upload_webFile.md index 0d2aa36f..f1cbb377 100644 --- a/old_docs/API_docs_v65/constructors/upload_webFile.md +++ b/old_docs/API_docs_v65/constructors/upload_webFile.md @@ -28,6 +28,13 @@ description: upload_webFile attributes, type and example $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => string, 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.webFile","size":"int","mime_type":"string","file_type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/user.md b/old_docs/API_docs_v65/constructors/user.md index 900236af..a0f86878 100644 --- a/old_docs/API_docs_v65/constructors/user.md +++ b/old_docs/API_docs_v65/constructors/user.md @@ -45,6 +45,13 @@ description: user attributes, type and example $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, '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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","self":"Bool","contact":"Bool","mutual_contact":"Bool","deleted":"Bool","bot":"Bool","bot_chat_history":"Bool","bot_nochats":"Bool","verified":"Bool","restricted":"Bool","min":"Bool","bot_inline_geo":"Bool","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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/userEmpty.md b/old_docs/API_docs_v65/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v65/constructors/userEmpty.md +++ b/old_docs/API_docs_v65/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/userFull.md b/old_docs/API_docs_v65/constructors/userFull.md index 14266442..06988eb2 100644 --- a/old_docs/API_docs_v65/constructors/userFull.md +++ b/old_docs/API_docs_v65/constructors/userFull.md @@ -33,6 +33,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","blocked":"Bool","phone_calls_available":"Bool","phone_calls_private":"Bool","user":"User","about":"string","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","bot_info":"BotInfo","common_chats_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/userProfilePhoto.md b/old_docs/API_docs_v65/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v65/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v65/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v65/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v65/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v65/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/userStatusEmpty.md b/old_docs/API_docs_v65/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v65/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v65/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/userStatusLastMonth.md b/old_docs/API_docs_v65/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v65/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v65/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/userStatusLastWeek.md b/old_docs/API_docs_v65/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v65/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v65/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/userStatusOffline.md b/old_docs/API_docs_v65/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v65/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v65/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/userStatusOnline.md b/old_docs/API_docs_v65/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v65/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v65/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/userStatusRecently.md b/old_docs/API_docs_v65/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v65/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v65/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/wallPaper.md b/old_docs/API_docs_v65/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v65/constructors/wallPaper.md +++ b/old_docs/API_docs_v65/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/wallPaperSolid.md b/old_docs/API_docs_v65/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v65/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v65/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/webDocument.md b/old_docs/API_docs_v65/constructors/webDocument.md index 285e58e4..fb6d743d 100644 --- a/old_docs/API_docs_v65/constructors/webDocument.md +++ b/old_docs/API_docs_v65/constructors/webDocument.md @@ -29,6 +29,13 @@ description: webDocument attributes, type and example $webDocument = ['_' => 'webDocument', 'url' => string, 'access_hash' => long, 'size' => int, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webDocument","url":"string","access_hash":"long","size":"int","mime_type":"string","attributes":["DocumentAttribute"],"dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/webPage.md b/old_docs/API_docs_v65/constructors/webPage.md index df6ef10c..f73f1d50 100644 --- a/old_docs/API_docs_v65/constructors/webPage.md +++ b/old_docs/API_docs_v65/constructors/webPage.md @@ -40,6 +40,13 @@ description: webPage attributes, type and example $webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'hash' => int, '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, 'cached_page' => Page, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPage","id":"long","url":"string","display_url":"string","hash":"int","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","cached_page":"Page"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/webPageEmpty.md b/old_docs/API_docs_v65/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v65/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v65/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/webPageNotModified.md b/old_docs/API_docs_v65/constructors/webPageNotModified.md index baacbb3f..1d9f9b84 100644 --- a/old_docs/API_docs_v65/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v65/constructors/webPageNotModified.md @@ -19,6 +19,13 @@ description: webPageNotModified attributes, type and example $webPageNotModified = ['_' => 'webPageNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/constructors/webPagePending.md b/old_docs/API_docs_v65/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v65/constructors/webPagePending.md +++ b/old_docs/API_docs_v65/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/account_changePhone.md b/old_docs/API_docs_v65/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v65/methods/account_changePhone.md +++ b/old_docs/API_docs_v65/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_checkUsername.md b/old_docs/API_docs_v65/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v65/methods/account_checkUsername.md +++ b/old_docs/API_docs_v65/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_confirmPhone.md b/old_docs/API_docs_v65/methods/account_confirmPhone.md index 0b8437dd..6ce6e811 100644 --- a/old_docs/API_docs_v65/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v65/methods/account_confirmPhone.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.confirmPhone +* params - {"phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.confirmPhone` + +Parameters: + +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_deleteAccount.md b/old_docs/API_docs_v65/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v65/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v65/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_getAccountTTL.md b/old_docs/API_docs_v65/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v65/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v65/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/account_getAuthorizations.md b/old_docs/API_docs_v65/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v65/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v65/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/account_getNotifySettings.md b/old_docs/API_docs_v65/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v65/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_getPassword.md b/old_docs/API_docs_v65/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v65/methods/account_getPassword.md +++ b/old_docs/API_docs_v65/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/account_getPasswordSettings.md b/old_docs/API_docs_v65/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v65/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v65/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_getPrivacy.md b/old_docs/API_docs_v65/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v65/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v65/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_getTmpPassword.md b/old_docs/API_docs_v65/methods/account_getTmpPassword.md index c63dea5c..96aa50b2 100644 --- a/old_docs/API_docs_v65/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v65/methods/account_getTmpPassword.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => bytes, 'period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getTmpPassword +* params - {"password_hash":"bytes","period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getTmpPassword` + +Parameters: + +password_hash - Json encoded bytes +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_getWallPapers.md b/old_docs/API_docs_v65/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v65/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v65/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/account_registerDevice.md b/old_docs/API_docs_v65/methods/account_registerDevice.md index 07381be6..fa4aae85 100644 --- a/old_docs/API_docs_v65/methods/account_registerDevice.md +++ b/old_docs/API_docs_v65/methods/account_registerDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_reportPeer.md b/old_docs/API_docs_v65/methods/account_reportPeer.md index 019e88a5..08c8d0d5 100644 --- a/old_docs/API_docs_v65/methods/account_reportPeer.md +++ b/old_docs/API_docs_v65/methods/account_reportPeer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.reportPeer +* params - {"peer":"InputPeer","reason":"ReportReason"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.reportPeer` + +Parameters: + +peer - Json encoded InputPeer +reason - Json encoded ReportReason + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_resetAuthorization.md b/old_docs/API_docs_v65/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v65/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v65/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_resetNotifySettings.md b/old_docs/API_docs_v65/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v65/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md index 83cfe3e2..1c4c0ca7 100644 --- a/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v65/methods/account_sendChangePhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md index 8d28787e..4b4b6655 100644 --- a/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v65/methods/account_sendConfirmPhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendConfirmPhoneCode +* params - {"allow_flashcall":"Bool","hash":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendConfirmPhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +hash - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_setAccountTTL.md b/old_docs/API_docs_v65/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v65/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v65/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_setPrivacy.md b/old_docs/API_docs_v65/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v65/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v65/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_unregisterDevice.md b/old_docs/API_docs_v65/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v65/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v65/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v65/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_updateNotifySettings.md b/old_docs/API_docs_v65/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v65/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v65/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v65/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_updateProfile.md b/old_docs/API_docs_v65/methods/account_updateProfile.md index e12a2f1c..10ab8f0c 100644 --- a/old_docs/API_docs_v65/methods/account_updateProfile.md +++ b/old_docs/API_docs_v65/methods/account_updateProfile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_updateStatus.md b/old_docs/API_docs_v65/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v65/methods/account_updateStatus.md +++ b/old_docs/API_docs_v65/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/account_updateUsername.md b/old_docs/API_docs_v65/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v65/methods/account_updateUsername.md +++ b/old_docs/API_docs_v65/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v65/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_cancelCode.md b/old_docs/API_docs_v65/methods/auth_cancelCode.md index 73a8c55b..05aae0cf 100644 --- a/old_docs/API_docs_v65/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v65/methods/auth_cancelCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.cancelCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.cancelCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_checkPassword.md b/old_docs/API_docs_v65/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v65/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v65/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_checkPhone.md b/old_docs/API_docs_v65/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v65/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v65/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md index 91d04065..22e17d37 100644 --- a/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v65/methods/auth_dropTempAuthKeys.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.dropTempAuthKeys +* params - {"except_auth_keys":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.dropTempAuthKeys` + +Parameters: + +except_auth_keys - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_exportAuthorization.md b/old_docs/API_docs_v65/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v65/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_importAuthorization.md b/old_docs/API_docs_v65/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v65/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md index c5ea477d..07c781e0 100644 --- a/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v65/methods/auth_importBotAuthorization.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['a' => Bool, 'b' => Bool, 'c' => Bool, 'd' => Bool, 'api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"a":"Bool","b":"Bool","c":"Bool","d":"Bool","api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +a - Json encoded Bool +b - Json encoded Bool +c - Json encoded Bool +d - Json encoded Bool +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_logOut.md b/old_docs/API_docs_v65/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v65/methods/auth_logOut.md +++ b/old_docs/API_docs_v65/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/auth_recoverPassword.md b/old_docs/API_docs_v65/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v65/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v65/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v65/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/auth_resendCode.md b/old_docs/API_docs_v65/methods/auth_resendCode.md index 6ba623cf..aaea73a0 100644 --- a/old_docs/API_docs_v65/methods/auth_resendCode.md +++ b/old_docs/API_docs_v65/methods/auth_resendCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resendCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resendCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v65/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/auth_sendCode.md b/old_docs/API_docs_v65/methods/auth_sendCode.md index 423da558..c6e4d8aa 100644 --- a/old_docs/API_docs_v65/methods/auth_sendCode.md +++ b/old_docs/API_docs_v65/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool +api_id - Json encoded int +api_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_sendInvites.md b/old_docs/API_docs_v65/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v65/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v65/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_signIn.md b/old_docs/API_docs_v65/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v65/methods/auth_signIn.md +++ b/old_docs/API_docs_v65/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/auth_signUp.md b/old_docs/API_docs_v65/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v65/methods/auth_signUp.md +++ b/old_docs/API_docs_v65/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md index 539e060d..39582760 100644 --- a/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v65/methods/bots_answerWebhookJSONQuery.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->bots->answerWebhookJSONQuery(['query_id' => long, 'data' => DataJSON, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - bots.answerWebhookJSONQuery +* params - {"query_id":"long","data":"DataJSON"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/bots.answerWebhookJSONQuery` + +Parameters: + +query_id - Json encoded long +data - Json encoded DataJSON + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md index ea74fcfd..5ccab83b 100644 --- a/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v65/methods/bots_sendCustomRequest.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => string, 'params' => DataJSON, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - bots.sendCustomRequest +* params - {"custom_method":"string","params":"DataJSON"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/bots.sendCustomRequest` + +Parameters: + +custom_method - Json encoded string +params - Json encoded DataJSON + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_checkUsername.md b/old_docs/API_docs_v65/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/old_docs/API_docs_v65/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v65/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_createChannel.md b/old_docs/API_docs_v65/methods/channels_createChannel.md index a4819767..853ca900 100644 --- a/old_docs/API_docs_v65/methods/channels_createChannel.md +++ b/old_docs/API_docs_v65/methods/channels_createChannel.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +broadcast - Json encoded Bool +megagroup - Json encoded Bool +title - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_deleteChannel.md b/old_docs/API_docs_v65/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v65/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_deleteMessages.md b/old_docs/API_docs_v65/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v65/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v65/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_editAbout.md b/old_docs/API_docs_v65/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/old_docs/API_docs_v65/methods/channels_editAbout.md +++ b/old_docs/API_docs_v65/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_editAdmin.md b/old_docs/API_docs_v65/methods/channels_editAdmin.md index 4596e082..729d5e28 100644 --- a/old_docs/API_docs_v65/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v65/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +role - Json encoded ChannelParticipantRole + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_editPhoto.md b/old_docs/API_docs_v65/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/old_docs/API_docs_v65/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v65/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_editTitle.md b/old_docs/API_docs_v65/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/old_docs/API_docs_v65/methods/channels_editTitle.md +++ b/old_docs/API_docs_v65/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_exportInvite.md b/old_docs/API_docs_v65/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/old_docs/API_docs_v65/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v65/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_exportMessageLink.md b/old_docs/API_docs_v65/methods/channels_exportMessageLink.md index 644c5b1a..4d5ba2df 100644 --- a/old_docs/API_docs_v65/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v65/methods/channels_exportMessageLink.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportMessageLink +* params - {"channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportMessageLink` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md index 31ed5556..85093ef6 100644 --- a/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v65/methods/channels_getAdminedPublicChannels.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getAdminedPublicChannels +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getAdminedPublicChannels` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/channels_getChannels.md b/old_docs/API_docs_v65/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/old_docs/API_docs_v65/methods/channels_getChannels.md +++ b/old_docs/API_docs_v65/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_getFullChannel.md b/old_docs/API_docs_v65/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/old_docs/API_docs_v65/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v65/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_getMessages.md b/old_docs/API_docs_v65/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/old_docs/API_docs_v65/methods/channels_getMessages.md +++ b/old_docs/API_docs_v65/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_getParticipant.md b/old_docs/API_docs_v65/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_getParticipants.md b/old_docs/API_docs_v65/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/old_docs/API_docs_v65/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v65/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_inviteToChannel.md b/old_docs/API_docs_v65/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/old_docs/API_docs_v65/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v65/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_joinChannel.md b/old_docs/API_docs_v65/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/old_docs/API_docs_v65/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v65/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_kickFromChannel.md b/old_docs/API_docs_v65/methods/channels_kickFromChannel.md index 1dc6b4b7..5e91bc24 100644 --- a/old_docs/API_docs_v65/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v65/methods/channels_kickFromChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.kickFromChannel +* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.kickFromChannel` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +kicked - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_leaveChannel.md b/old_docs/API_docs_v65/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/old_docs/API_docs_v65/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v65/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_readHistory.md b/old_docs/API_docs_v65/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/old_docs/API_docs_v65/methods/channels_readHistory.md +++ b/old_docs/API_docs_v65/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_reportSpam.md b/old_docs/API_docs_v65/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/old_docs/API_docs_v65/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v65/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_toggleInvites.md b/old_docs/API_docs_v65/methods/channels_toggleInvites.md index f537ada8..86569f90 100644 --- a/old_docs/API_docs_v65/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v65/methods/channels_toggleInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleInvites +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleInvites` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_toggleSignatures.md b/old_docs/API_docs_v65/methods/channels_toggleSignatures.md index 327795f4..ea833e9a 100644 --- a/old_docs/API_docs_v65/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v65/methods/channels_toggleSignatures.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleSignatures +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleSignatures` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md index 97327889..0fd2da72 100644 --- a/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v65/methods/channels_updatePinnedMessage.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updatePinnedMessage +* params - {"silent":"Bool","channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updatePinnedMessage` + +Parameters: + +silent - Json encoded Bool +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/channels_updateUsername.md b/old_docs/API_docs_v65/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/old_docs/API_docs_v65/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v65/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/contacts_block.md b/old_docs/API_docs_v65/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v65/methods/contacts_block.md +++ b/old_docs/API_docs_v65/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/contacts_deleteContact.md b/old_docs/API_docs_v65/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v65/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v65/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/contacts_deleteContacts.md b/old_docs/API_docs_v65/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v65/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/contacts_exportCard.md b/old_docs/API_docs_v65/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v65/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v65/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/contacts_getBlocked.md b/old_docs/API_docs_v65/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v65/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v65/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/contacts_getContacts.md b/old_docs/API_docs_v65/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v65/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/contacts_getStatuses.md b/old_docs/API_docs_v65/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v65/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v65/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/contacts_getTopPeers.md b/old_docs/API_docs_v65/methods/contacts_getTopPeers.md index 0c8813ff..293a3541 100644 --- a/old_docs/API_docs_v65/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v65/methods/contacts_getTopPeers.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getTopPeers +* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getTopPeers` + +Parameters: + +correspondents - Json encoded Bool +bots_pm - Json encoded Bool +bots_inline - Json encoded Bool +groups - Json encoded Bool +channels - Json encoded Bool +offset - Json encoded int +limit - Json encoded int +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/contacts_importCard.md b/old_docs/API_docs_v65/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v65/methods/contacts_importCard.md +++ b/old_docs/API_docs_v65/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/contacts_importContacts.md b/old_docs/API_docs_v65/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v65/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v65/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md index 6d2b6397..adb3f83a 100644 --- a/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v65/methods/contacts_resetTopPeerRating.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resetTopPeerRating +* params - {"category":"TopPeerCategory","peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resetTopPeerRating` + +Parameters: + +category - Json encoded TopPeerCategory +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/contacts_resolveUsername.md b/old_docs/API_docs_v65/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/old_docs/API_docs_v65/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v65/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/contacts_search.md b/old_docs/API_docs_v65/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v65/methods/contacts_search.md +++ b/old_docs/API_docs_v65/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/contacts_unblock.md b/old_docs/API_docs_v65/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v65/methods/contacts_unblock.md +++ b/old_docs/API_docs_v65/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md index 4dac3459..8efc1475 100644 --- a/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v65/methods/contest_saveDeveloperInfo.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => string, 'phone_number' => string, 'age' => int, 'city' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contest.saveDeveloperInfo +* params - {"vk_id":"int","name":"string","phone_number":"string","age":"int","city":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contest.saveDeveloperInfo` + +Parameters: + +vk_id - Json encoded int +name - Json encoded string +phone_number - Json encoded string +age - Json encoded int +city - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/destroy_auth_key.md b/old_docs/API_docs_v65/methods/destroy_auth_key.md index 5f025647..f7f98570 100644 --- a/old_docs/API_docs_v65/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v65/methods/destroy_auth_key.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $DestroyAuthKeyRes = $MadelineProto->destroy_auth_key(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - destroy_auth_key +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/destroy_auth_key` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/destroy_session.md b/old_docs/API_docs_v65/methods/destroy_session.md index 86dcd5fe..6475b575 100644 --- a/old_docs/API_docs_v65/methods/destroy_session.md +++ b/old_docs/API_docs_v65/methods/destroy_session.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $DestroySessionRes = $MadelineProto->destroy_session(['session_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - destroy_session +* params - {"session_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/destroy_session` + +Parameters: + +session_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/get_future_salts.md b/old_docs/API_docs_v65/methods/get_future_salts.md index 5c35ffa0..ffc11909 100644 --- a/old_docs/API_docs_v65/methods/get_future_salts.md +++ b/old_docs/API_docs_v65/methods/get_future_salts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $FutureSalts = $MadelineProto->get_future_salts(['num' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - get_future_salts +* params - {"num":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/get_future_salts` + +Parameters: + +num - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/help_getAppChangelog.md b/old_docs/API_docs_v65/methods/help_getAppChangelog.md index 1a2e43f6..d1ef32c4 100644 --- a/old_docs/API_docs_v65/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v65/methods/help_getAppChangelog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - {"prev_app_version":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + +prev_app_version - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/help_getAppUpdate.md b/old_docs/API_docs_v65/methods/help_getAppUpdate.md index 8870072b..851fc06e 100644 --- a/old_docs/API_docs_v65/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v65/methods/help_getAppUpdate.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_AppUpdate = $MadelineProto->help->getAppUpdate(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/help_getConfig.md b/old_docs/API_docs_v65/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v65/methods/help_getConfig.md +++ b/old_docs/API_docs_v65/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/help_getInviteText.md b/old_docs/API_docs_v65/methods/help_getInviteText.md index 19fd0484..77e3acd1 100644 --- a/old_docs/API_docs_v65/methods/help_getInviteText.md +++ b/old_docs/API_docs_v65/methods/help_getInviteText.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_InviteText = $MadelineProto->help->getInviteText(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/help_getNearestDc.md b/old_docs/API_docs_v65/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v65/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v65/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/help_getSupport.md b/old_docs/API_docs_v65/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v65/methods/help_getSupport.md +++ b/old_docs/API_docs_v65/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/help_getTermsOfService.md b/old_docs/API_docs_v65/methods/help_getTermsOfService.md index e53dba71..14f1a976 100644 --- a/old_docs/API_docs_v65/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v65/methods/help_getTermsOfService.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_TermsOfService = $MadelineProto->help->getTermsOfService(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getTermsOfService +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getTermsOfService` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/help_saveAppLog.md b/old_docs/API_docs_v65/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v65/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v65/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md index e1f91e58..e9e6279e 100644 --- a/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v65/methods/help_setBotUpdatesStatus.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.setBotUpdatesStatus +* params - {"pending_updates_count":"int","message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.setBotUpdatesStatus` + +Parameters: + +pending_updates_count - Json encoded int +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/initConnection.md b/old_docs/API_docs_v65/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v65/methods/initConnection.md +++ b/old_docs/API_docs_v65/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/invokeAfterMsg.md b/old_docs/API_docs_v65/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v65/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v65/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/invokeAfterMsgs.md b/old_docs/API_docs_v65/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v65/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v65/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/invokeWithLayer.md b/old_docs/API_docs_v65/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v65/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v65/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v65/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_acceptEncryption.md b/old_docs/API_docs_v65/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v65/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v65/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_addChatUser.md b/old_docs/API_docs_v65/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v65/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v65/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_checkChatInvite.md b/old_docs/API_docs_v65/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v65/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md index f9a112f6..9e8a99a1 100644 --- a/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v65/methods/messages_clearRecentStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.clearRecentStickers +* params - {"attached":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.clearRecentStickers` + +Parameters: + +attached - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_createChat.md b/old_docs/API_docs_v65/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v65/methods/messages_createChat.md +++ b/old_docs/API_docs_v65/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_deleteChatUser.md b/old_docs/API_docs_v65/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v65/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_deleteHistory.md b/old_docs/API_docs_v65/methods/messages_deleteHistory.md index 4a3c7e3f..4e5321c6 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v65/methods/messages_deleteHistory.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +just_clear - Json encoded Bool +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_deleteMessages.md b/old_docs/API_docs_v65/methods/messages_deleteMessages.md index 4f25ff98..7e7b074a 100644 --- a/old_docs/API_docs_v65/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v65/methods/messages_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"revoke":"Bool","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +revoke - Json encoded Bool +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_discardEncryption.md b/old_docs/API_docs_v65/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v65/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v65/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_editChatAdmin.md b/old_docs/API_docs_v65/methods/messages_editChatAdmin.md index 515c2ede..2ad6d72c 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v65/methods/messages_editChatAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatAdmin +* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +is_admin - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_editChatPhoto.md b/old_docs/API_docs_v65/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v65/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_editChatTitle.md b/old_docs/API_docs_v65/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v65/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v65/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md index 19405712..4daa439f 100644 --- a/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editInlineBotMessage.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editInlineBotMessage +* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editInlineBotMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_editMessage.md b/old_docs/API_docs_v65/methods/messages_editMessage.md index 05410c5d..d405e718 100644 --- a/old_docs/API_docs_v65/methods/messages_editMessage.md +++ b/old_docs/API_docs_v65/methods/messages_editMessage.md @@ -42,6 +42,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editMessage +* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_exportChatInvite.md b/old_docs/API_docs_v65/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v65/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_forwardMessage.md b/old_docs/API_docs_v65/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v65/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v65/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_forwardMessages.md b/old_docs/API_docs_v65/methods/messages_forwardMessages.md index 8a83a735..f72fb809 100644 --- a/old_docs/API_docs_v65/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v65/methods/messages_forwardMessages.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"silent":"Bool","background":"Bool","with_my_score":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +with_my_score - Json encoded Bool +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getAllChats.md b/old_docs/API_docs_v65/methods/messages_getAllChats.md index b204aed1..2f34348d 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v65/methods/messages_getAllChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllChats +* params - {"except_ids":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllChats` + +Parameters: + +except_ids - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getAllDrafts.md b/old_docs/API_docs_v65/methods/messages_getAllDrafts.md index 97807321..6039321d 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v65/methods/messages_getAllDrafts.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Updates = $MadelineProto->messages->getAllDrafts(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllDrafts +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllDrafts` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/messages_getAllStickers.md b/old_docs/API_docs_v65/methods/messages_getAllStickers.md index bc49bdd6..b2f1eb71 100644 --- a/old_docs/API_docs_v65/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md index 2ee3502c..a4abf13e 100644 --- a/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getArchivedStickers.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getArchivedStickers +* params - {"masks":"Bool","offset_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getArchivedStickers` + +Parameters: + +masks - Json encoded Bool +offset_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md index b15b1801..0a2b8ff2 100644 --- a/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getAttachedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAttachedStickers +* params - {"media":"InputStickeredMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAttachedStickers` + +Parameters: + +media - Json encoded InputStickeredMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md index 90f6b875..e61ca36e 100644 --- a/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v65/methods/messages_getBotCallbackAnswer.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getBotCallbackAnswer +* params - {"game":"Bool","peer":"InputPeer","msg_id":"int","data":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getBotCallbackAnswer` + +Parameters: + +game - Json encoded Bool +peer - Json encoded InputPeer +msg_id - Json encoded int +data - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getChats.md b/old_docs/API_docs_v65/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v65/methods/messages_getChats.md +++ b/old_docs/API_docs_v65/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getCommonChats.md b/old_docs/API_docs_v65/methods/messages_getCommonChats.md index dbc917fc..122fbb8d 100644 --- a/old_docs/API_docs_v65/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v65/methods/messages_getCommonChats.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getCommonChats +* params - {"user_id":"InputUser","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getCommonChats` + +Parameters: + +user_id - Json encoded InputUser +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getDhConfig.md b/old_docs/API_docs_v65/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v65/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v65/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getDialogs.md b/old_docs/API_docs_v65/methods/messages_getDialogs.md index f5901eb6..e86176a7 100644 --- a/old_docs/API_docs_v65/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getDialogs.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"exclude_pinned":"Bool","offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +exclude_pinned - Json encoded Bool +offset_date - Json encoded int +offset_id - Json encoded int +offset_peer - Json encoded InputPeer +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md index 2daac691..ca541c7e 100644 --- a/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v65/methods/messages_getDocumentByHash.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDocumentByHash +* params - {"sha256":"bytes","size":"int","mime_type":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDocumentByHash` + +Parameters: + +sha256 - Json encoded bytes +size - Json encoded int +mime_type - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md index 5c51f4be..3bab2043 100644 --- a/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getFeaturedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFeaturedStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFeaturedStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getFullChat.md b/old_docs/API_docs_v65/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v65/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v65/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getGameHighScores.md b/old_docs/API_docs_v65/methods/messages_getGameHighScores.md index 8e3f69d8..07a25b7c 100644 --- a/old_docs/API_docs_v65/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages_getGameHighScores.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getGameHighScores +* params - {"peer":"InputPeer","id":"int","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getGameHighScores` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getHistory.md b/old_docs/API_docs_v65/methods/messages_getHistory.md index 9d54dd86..b976c6d5 100644 --- a/old_docs/API_docs_v65/methods/messages_getHistory.md +++ b/old_docs/API_docs_v65/methods/messages_getHistory.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +offset_date - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md index 0ad9e385..d3959eab 100644 --- a/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v65/methods/messages_getInlineBotResults.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineBotResults +* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineBotResults` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +geo_point - Json encoded InputGeoPoint +query - Json encoded string +offset - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md index 6811fba8..218bbc33 100644 --- a/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v65/methods/messages_getInlineGameHighScores.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineGameHighScores +* params - {"id":"InputBotInlineMessageID","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineGameHighScores` + +Parameters: + +id - Json encoded InputBotInlineMessageID +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getMaskStickers.md b/old_docs/API_docs_v65/methods/messages_getMaskStickers.md index 7aedd066..8d740e32 100644 --- a/old_docs/API_docs_v65/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getMaskStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMaskStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMaskStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getMessageEditData.md b/old_docs/API_docs_v65/methods/messages_getMessageEditData.md index eb2ea4e3..732fdff5 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v65/methods/messages_getMessageEditData.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessageEditData +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessageEditData` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getMessages.md b/old_docs/API_docs_v65/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessages.md +++ b/old_docs/API_docs_v65/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getMessagesViews.md b/old_docs/API_docs_v65/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/old_docs/API_docs_v65/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v65/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md index af44c1dd..bd191681 100644 --- a/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getPeerDialogs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerDialogs +* params - {"peers":["InputPeer"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerDialogs` + +Parameters: + +peers - Json encoded array of InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getPeerSettings.md b/old_docs/API_docs_v65/methods/messages_getPeerSettings.md index 9a8817c0..b78406e9 100644 --- a/old_docs/API_docs_v65/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v65/methods/messages_getPeerSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerSettings +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerSettings` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md index 09499e6c..f3de7a28 100644 --- a/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_getPinnedDialogs.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPinnedDialogs +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPinnedDialogs` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/messages_getRecentStickers.md b/old_docs/API_docs_v65/methods/messages_getRecentStickers.md index 98b76d5e..1e07747d 100644 --- a/old_docs/API_docs_v65/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v65/methods/messages_getRecentStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getRecentStickers +* params - {"attached":"Bool","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getRecentStickers` + +Parameters: + +attached - Json encoded Bool +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getSavedGifs.md b/old_docs/API_docs_v65/methods/messages_getSavedGifs.md index c528873b..a7a0cbd2 100644 --- a/old_docs/API_docs_v65/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v65/methods/messages_getSavedGifs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getSavedGifs +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getSavedGifs` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getStickerSet.md b/old_docs/API_docs_v65/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v65/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getWebPage.md b/old_docs/API_docs_v65/methods/messages_getWebPage.md index 10a92123..fd5ecd88 100644 --- a/old_docs/API_docs_v65/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v65/methods/messages_getWebPage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $WebPage = $MadelineProto->messages->getWebPage(['url' => string, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPage +* params - {"url":"string","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPage` + +Parameters: + +url - Json encoded string +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v65/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_hideReportSpam.md b/old_docs/API_docs_v65/methods/messages_hideReportSpam.md index dbf882ee..9ddaa09c 100644 --- a/old_docs/API_docs_v65/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v65/methods/messages_hideReportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.hideReportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.hideReportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_importChatInvite.md b/old_docs/API_docs_v65/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v65/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v65/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_installStickerSet.md b/old_docs/API_docs_v65/methods/messages_installStickerSet.md index ad734572..6d1e701b 100644 --- a/old_docs/API_docs_v65/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","archived":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +archived - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_migrateChat.md b/old_docs/API_docs_v65/methods/messages_migrateChat.md index eaa988a7..1d8e1ca5 100644 --- a/old_docs/API_docs_v65/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v65/methods/messages_migrateChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.migrateChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.migrateChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v65/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md index 0526f0b5..5fc7a340 100644 --- a/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v65/methods/messages_readFeaturedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readFeaturedStickers +* params - {"id":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readFeaturedStickers` + +Parameters: + +id - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_readHistory.md b/old_docs/API_docs_v65/methods/messages_readHistory.md index c5ddb451..99ce0e57 100644 --- a/old_docs/API_docs_v65/methods/messages_readHistory.md +++ b/old_docs/API_docs_v65/methods/messages_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_readMessageContents.md b/old_docs/API_docs_v65/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v65/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v65/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_receivedMessages.md b/old_docs/API_docs_v65/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v65/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v65/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_receivedQueue.md b/old_docs/API_docs_v65/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v65/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v65/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md index 0eb7c736..151678b0 100644 --- a/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v65/methods/messages_reorderPinnedDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputPeer], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderPinnedDialogs +* params - {"force":"Bool","order":["InputPeer"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderPinnedDialogs` + +Parameters: + +force - Json encoded Bool +order - Json encoded array of InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md index 4cfc68ef..7ff0d995 100644 --- a/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v65/methods/messages_reorderStickerSets.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderStickerSets +* params - {"masks":"Bool","order":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderStickerSets` + +Parameters: + +masks - Json encoded Bool +order - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md index a6b6023b..d726392b 100644 --- a/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v65/methods/messages_reportEncryptedSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportEncryptedSpam(['peer' => InputEncryptedChat, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportEncryptedSpam +* params - {"peer":"InputEncryptedChat"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportEncryptedSpam` + +Parameters: + +peer - Json encoded InputEncryptedChat + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_reportSpam.md b/old_docs/API_docs_v65/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v65/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v65/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_requestEncryption.md b/old_docs/API_docs_v65/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v65/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v65/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_saveDraft.md b/old_docs/API_docs_v65/methods/messages_saveDraft.md index c28f8fd9..f683ea04 100644 --- a/old_docs/API_docs_v65/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v65/methods/messages_saveDraft.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveDraft +* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveDraft` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_saveGif.md b/old_docs/API_docs_v65/methods/messages_saveGif.md index 6a2269b5..c6a5e7ba 100644 --- a/old_docs/API_docs_v65/methods/messages_saveGif.md +++ b/old_docs/API_docs_v65/methods/messages_saveGif.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveGif +* params - {"id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveGif` + +Parameters: + +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md index 1acc5473..96f55049 100644 --- a/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v65/methods/messages_saveRecentSticker.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveRecentSticker +* params - {"attached":"Bool","id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveRecentSticker` + +Parameters: + +attached - Json encoded Bool +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_search.md b/old_docs/API_docs_v65/methods/messages_search.md index d53456d0..a0485ebe 100644 --- a/old_docs/API_docs_v65/methods/messages_search.md +++ b/old_docs/API_docs_v65/methods/messages_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_searchGifs.md b/old_docs/API_docs_v65/methods/messages_searchGifs.md index ca0934be..24658214 100644 --- a/old_docs/API_docs_v65/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v65/methods/messages_searchGifs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGifs +* params - {"q":"string","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGifs` + +Parameters: + +q - Json encoded string +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_searchGlobal.md b/old_docs/API_docs_v65/methods/messages_searchGlobal.md index 36f09366..0095015c 100644 --- a/old_docs/API_docs_v65/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v65/methods/messages_searchGlobal.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGlobal +* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGlobal` + +Parameters: + +q - Json encoded string +offset_date - Json encoded int +offset_peer - Json encoded InputPeer +offset_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_sendEncrypted.md b/old_docs/API_docs_v65/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v65/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md index 42eee3c3..c747e54b 100644 --- a/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v65/methods/messages_sendInlineBotResult.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendInlineBotResult +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendInlineBotResult` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +query_id - Json encoded long +id - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_sendMedia.md b/old_docs/API_docs_v65/methods/messages_sendMedia.md index 4f763d5e..05464ad5 100644 --- a/old_docs/API_docs_v65/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v65/methods/messages_sendMedia.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_sendMessage.md b/old_docs/API_docs_v65/methods/messages_sendMessage.md index b31fc6cc..6cc234c3 100644 --- a/old_docs/API_docs_v65/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v65/methods/messages_sendMessage.md @@ -45,6 +45,30 @@ if (isset($number)) { // Login as a user $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], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"no_webpage":"Bool","silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md index 38a65f69..6356d86b 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v65/methods/messages_setBotCallbackAnswer.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, 'cache_time' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotCallbackAnswer +* params - {"alert":"Bool","query_id":"long","message":"string","url":"string","cache_time":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotCallbackAnswer` + +Parameters: + +alert - Json encoded Bool +query_id - Json encoded long +message - Json encoded string +url - Json encoded string +cache_time - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md index 26d44b73..b9393981 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v65/methods/messages_setBotPrecheckoutResults.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotPrecheckoutResults +* params - {"success":"Bool","query_id":"long","error":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotPrecheckoutResults` + +Parameters: + +success - Json encoded Bool +query_id - Json encoded long +error - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md index b0115468..1ddd01b3 100644 --- a/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v65/methods/messages_setBotShippingResults.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => string, 'shipping_options' => [ShippingOption], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotShippingResults +* params - {"query_id":"long","error":"string","shipping_options":["ShippingOption"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotShippingResults` + +Parameters: + +query_id - Json encoded long +error - Json encoded string +shipping_options - Json encoded array of ShippingOption + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v65/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_setGameScore.md b/old_docs/API_docs_v65/methods/messages_setGameScore.md index d6e7a77a..64a2feea 100644 --- a/old_docs/API_docs_v65/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v65/methods/messages_setGameScore.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'force' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setGameScore +* params - {"edit_message":"Bool","force":"Bool","peer":"InputPeer","id":"int","user_id":"InputUser","score":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setGameScore` + +Parameters: + +edit_message - Json encoded Bool +force - Json encoded Bool +peer - Json encoded InputPeer +id - Json encoded int +user_id - Json encoded InputUser +score - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md index 0ef74b32..5a2b1da0 100644 --- a/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v65/methods/messages_setInlineBotResults.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineBotResults +* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineBotResults` + +Parameters: + +gallery - Json encoded Bool +private - Json encoded Bool +query_id - Json encoded long +results - Json encoded array of InputBotInlineResult +cache_time - Json encoded int +next_offset - Json encoded string +switch_pm - Json encoded InlineBotSwitchPM + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md index d3a8846c..df93e25a 100644 --- a/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v65/methods/messages_setInlineGameScore.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'force' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineGameScore +* params - {"edit_message":"Bool","force":"Bool","id":"InputBotInlineMessageID","user_id":"InputUser","score":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineGameScore` + +Parameters: + +edit_message - Json encoded Bool +force - Json encoded Bool +id - Json encoded InputBotInlineMessageID +user_id - Json encoded InputUser +score - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_setTyping.md b/old_docs/API_docs_v65/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v65/methods/messages_setTyping.md +++ b/old_docs/API_docs_v65/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_startBot.md b/old_docs/API_docs_v65/methods/messages_startBot.md index 58aadfab..93229d34 100644 --- a/old_docs/API_docs_v65/methods/messages_startBot.md +++ b/old_docs/API_docs_v65/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md index ec1809f3..2edb160a 100644 --- a/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v65/methods/messages_toggleChatAdmins.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleChatAdmins +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleChatAdmins` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md index 6e1230cd..d86a96ae 100644 --- a/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v65/methods/messages_toggleDialogPin.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->toggleDialogPin(['pinned' => Bool, 'peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleDialogPin +* params - {"pinned":"Bool","peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleDialogPin` + +Parameters: + +pinned - Json encoded Bool +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v65/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md index e250bb2e..4da0da7c 100644 --- a/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_clearSavedInfo.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->payments->clearSavedInfo(['credentials' => Bool, 'info' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.clearSavedInfo +* params - {"credentials":"Bool","info":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.clearSavedInfo` + +Parameters: + +credentials - Json encoded Bool +info - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/payments_getPaymentForm.md b/old_docs/API_docs_v65/methods/payments_getPaymentForm.md index b61c8ede..8c495ca5 100644 --- a/old_docs/API_docs_v65/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments_getPaymentForm.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.getPaymentForm +* params - {"msg_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.getPaymentForm` + +Parameters: + +msg_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md index 8e08e7a2..81b4e790 100644 --- a/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v65/methods/payments_getPaymentReceipt.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.getPaymentReceipt +* params - {"msg_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.getPaymentReceipt` + +Parameters: + +msg_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/payments_getSavedInfo.md b/old_docs/API_docs_v65/methods/payments_getSavedInfo.md index d697b221..e53a85db 100644 --- a/old_docs/API_docs_v65/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_getSavedInfo.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.getSavedInfo +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.getSavedInfo` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md index 573c2462..f5e555ed 100644 --- a/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v65/methods/payments_sendPaymentForm.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => string, 'shipping_option_id' => string, 'credentials' => InputPaymentCredentials, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.sendPaymentForm +* params - {"msg_id":"int","requested_info_id":"string","shipping_option_id":"string","credentials":"InputPaymentCredentials"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.sendPaymentForm` + +Parameters: + +msg_id - Json encoded int +requested_info_id - Json encoded string +shipping_option_id - Json encoded string +credentials - Json encoded InputPaymentCredentials + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md index f10f7fed..96b7ec3a 100644 --- a/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v65/methods/payments_validateRequestedInfo.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.validateRequestedInfo +* params - {"save":"Bool","msg_id":"int","info":"PaymentRequestedInfo"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.validateRequestedInfo` + +Parameters: + +save - Json encoded Bool +msg_id - Json encoded int +info - Json encoded PaymentRequestedInfo + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/phone_acceptCall.md b/old_docs/API_docs_v65/methods/phone_acceptCall.md index 4b7386d5..cad5c1d9 100644 --- a/old_docs/API_docs_v65/methods/phone_acceptCall.md +++ b/old_docs/API_docs_v65/methods/phone_acceptCall.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => bytes, 'protocol' => PhoneCallProtocol, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.acceptCall +* params - {"peer":"InputPhoneCall","g_b":"bytes","protocol":"PhoneCallProtocol"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.acceptCall` + +Parameters: + +peer - Json encoded InputPhoneCall +g_b - Json encoded bytes +protocol - Json encoded PhoneCallProtocol + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/phone_confirmCall.md b/old_docs/API_docs_v65/methods/phone_confirmCall.md index 3b189e69..64063a6f 100644 --- a/old_docs/API_docs_v65/methods/phone_confirmCall.md +++ b/old_docs/API_docs_v65/methods/phone_confirmCall.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.confirmCall +* params - {"peer":"InputPhoneCall","g_a":"bytes","key_fingerprint":"long","protocol":"PhoneCallProtocol"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.confirmCall` + +Parameters: + +peer - Json encoded InputPhoneCall +g_a - Json encoded bytes +key_fingerprint - Json encoded long +protocol - Json encoded PhoneCallProtocol + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/phone_discardCall.md b/old_docs/API_docs_v65/methods/phone_discardCall.md index 00b0d78e..7c5b494c 100644 --- a/old_docs/API_docs_v65/methods/phone_discardCall.md +++ b/old_docs/API_docs_v65/methods/phone_discardCall.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->phone->discardCall(['peer' => InputPhoneCall, 'duration' => int, 'reason' => PhoneCallDiscardReason, 'connection_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.discardCall +* params - {"peer":"InputPhoneCall","duration":"int","reason":"PhoneCallDiscardReason","connection_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.discardCall` + +Parameters: + +peer - Json encoded InputPhoneCall +duration - Json encoded int +reason - Json encoded PhoneCallDiscardReason +connection_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/phone_getCallConfig.md b/old_docs/API_docs_v65/methods/phone_getCallConfig.md index bdd54623..36ba68f6 100644 --- a/old_docs/API_docs_v65/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v65/methods/phone_getCallConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $DataJSON = $MadelineProto->phone->getCallConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.getCallConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.getCallConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/phone_receivedCall.md b/old_docs/API_docs_v65/methods/phone_receivedCall.md index 748e215d..e4ba0536 100644 --- a/old_docs/API_docs_v65/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v65/methods/phone_receivedCall.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->phone->receivedCall(['peer' => InputPhoneCall, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.receivedCall +* params - {"peer":"InputPhoneCall"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.receivedCall` + +Parameters: + +peer - Json encoded InputPhoneCall + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/phone_requestCall.md b/old_docs/API_docs_v65/methods/phone_requestCall.md index 633af965..c84084ca 100644 --- a/old_docs/API_docs_v65/methods/phone_requestCall.md +++ b/old_docs/API_docs_v65/methods/phone_requestCall.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => bytes, 'protocol' => PhoneCallProtocol, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.requestCall +* params - {"user_id":"InputUser","g_a_hash":"bytes","protocol":"PhoneCallProtocol"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.requestCall` + +Parameters: + +user_id - Json encoded InputUser +g_a_hash - Json encoded bytes +protocol - Json encoded PhoneCallProtocol + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/phone_saveCallDebug.md b/old_docs/API_docs_v65/methods/phone_saveCallDebug.md index cc495068..b301968f 100644 --- a/old_docs/API_docs_v65/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v65/methods/phone_saveCallDebug.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->phone->saveCallDebug(['peer' => InputPhoneCall, 'debug' => DataJSON, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.saveCallDebug +* params - {"peer":"InputPhoneCall","debug":"DataJSON"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.saveCallDebug` + +Parameters: + +peer - Json encoded InputPhoneCall +debug - Json encoded DataJSON + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/phone_setCallRating.md b/old_docs/API_docs_v65/methods/phone_setCallRating.md index c00d5158..82dd9d5e 100644 --- a/old_docs/API_docs_v65/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v65/methods/phone_setCallRating.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.setCallRating +* params - {"peer":"InputPhoneCall","rating":"int","comment":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.setCallRating` + +Parameters: + +peer - Json encoded InputPhoneCall +rating - Json encoded int +comment - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/photos_deletePhotos.md b/old_docs/API_docs_v65/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v65/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v65/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/photos_getUserPhotos.md b/old_docs/API_docs_v65/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v65/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v65/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md index 46cb4c32..63f2ae84 100644 --- a/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v65/methods/photos_updateProfilePhoto.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md index d8c1f9ec..408a631f 100644 --- a/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v65/methods/photos_uploadProfilePhoto.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/ping.md b/old_docs/API_docs_v65/methods/ping.md index 125f16e5..89f77caa 100644 --- a/old_docs/API_docs_v65/methods/ping.md +++ b/old_docs/API_docs_v65/methods/ping.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Pong = $MadelineProto->ping(['ping_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - ping +* params - {"ping_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/ping` + +Parameters: + +ping_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/ping_delay_disconnect.md b/old_docs/API_docs_v65/methods/ping_delay_disconnect.md index eab86cc5..ede5fe98 100644 --- a/old_docs/API_docs_v65/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v65/methods/ping_delay_disconnect.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Pong = $MadelineProto->ping_delay_disconnect(['ping_id' => long, 'disconnect_delay' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - ping_delay_disconnect +* params - {"ping_id":"long","disconnect_delay":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/ping_delay_disconnect` + +Parameters: + +ping_id - Json encoded long +disconnect_delay - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/req_DH_params.md b/old_docs/API_docs_v65/methods/req_DH_params.md index 93ad6d82..b2e16150 100644 --- a/old_docs/API_docs_v65/methods/req_DH_params.md +++ b/old_docs/API_docs_v65/methods/req_DH_params.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => string, 'q' => string, 'public_key_fingerprint' => long, 'encrypted_data' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - req_DH_params +* params - {"nonce":"int128","server_nonce":"int128","p":"string","q":"string","public_key_fingerprint":"long","encrypted_data":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/req_DH_params` + +Parameters: + +nonce - Json encoded int128 +server_nonce - Json encoded int128 +p - Json encoded string +q - Json encoded string +public_key_fingerprint - Json encoded long +encrypted_data - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/req_pq.md b/old_docs/API_docs_v65/methods/req_pq.md index 59fff9cc..7a9b2f2c 100644 --- a/old_docs/API_docs_v65/methods/req_pq.md +++ b/old_docs/API_docs_v65/methods/req_pq.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ResPQ = $MadelineProto->req_pq(['nonce' => int128, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - req_pq +* params - {"nonce":"int128"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/req_pq` + +Parameters: + +nonce - Json encoded int128 + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/rpc_drop_answer.md b/old_docs/API_docs_v65/methods/rpc_drop_answer.md index 94c8a32a..8fc7854d 100644 --- a/old_docs/API_docs_v65/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v65/methods/rpc_drop_answer.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $RpcDropAnswer = $MadelineProto->rpc_drop_answer(['req_msg_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - rpc_drop_answer +* params - {"req_msg_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/rpc_drop_answer` + +Parameters: + +req_msg_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/set_client_DH_params.md b/old_docs/API_docs_v65/methods/set_client_DH_params.md index 795229e2..26fb4dc2 100644 --- a/old_docs/API_docs_v65/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v65/methods/set_client_DH_params.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - set_client_DH_params +* params - {"nonce":"int128","server_nonce":"int128","encrypted_data":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/set_client_DH_params` + +Parameters: + +nonce - Json encoded int128 +server_nonce - Json encoded int128 +encrypted_data - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/updates_getChannelDifference.md b/old_docs/API_docs_v65/methods/updates_getChannelDifference.md index b343b62f..81a25d86 100644 --- a/old_docs/API_docs_v65/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v65/methods/updates_getChannelDifference.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"force":"Bool","channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +force - Json encoded Bool +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/updates_getDifference.md b/old_docs/API_docs_v65/methods/updates_getDifference.md index a0aadc04..7d23893b 100644 --- a/old_docs/API_docs_v65/methods/updates_getDifference.md +++ b/old_docs/API_docs_v65/methods/updates_getDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","pts_total_limit":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +pts_total_limit - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/updates_getState.md b/old_docs/API_docs_v65/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v65/methods/updates_getState.md +++ b/old_docs/API_docs_v65/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v65/methods/upload_getFile.md b/old_docs/API_docs_v65/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v65/methods/upload_getFile.md +++ b/old_docs/API_docs_v65/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/upload_getWebFile.md b/old_docs/API_docs_v65/methods/upload_getWebFile.md index 496c36f3..4206040a 100644 --- a/old_docs/API_docs_v65/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v65/methods/upload_getWebFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getWebFile +* params - {"location":"InputWebFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getWebFile` + +Parameters: + +location - Json encoded InputWebFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v65/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/upload_saveFilePart.md b/old_docs/API_docs_v65/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v65/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v65/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/users_getFullUser.md b/old_docs/API_docs_v65/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v65/methods/users_getFullUser.md +++ b/old_docs/API_docs_v65/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/methods/users_getUsers.md b/old_docs/API_docs_v65/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v65/methods/users_getUsers.md +++ b/old_docs/API_docs_v65/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v65/types/PhoneCall.md b/old_docs/API_docs_v65/types/PhoneCall.md index eee9a68b..5f578bf1 100644 --- a/old_docs/API_docs_v65/types/PhoneCall.md +++ b/old_docs/API_docs_v65/types/PhoneCall.md @@ -9,7 +9,7 @@ description: constructors and methods of type PhoneCall This is an object of type `\danog\MadelineProto\VoIP`. -It will only be available if the [php-libtgvoip](https://github.com/danog/php-libtgvoip) extension is installed, see [the main docs](https://daniil.it/MadelineProto) for an easy installation script. +It will only be available if the [php-libtgvoip](https://github.com/danog/php-libtgvoip) extension is installed, see [the main docs](https://daniil.it/MadelineProto#calls) for an easy installation script. You MUST know [OOP](http://php.net/manual/en/language.oop5.php) to use this class. @@ -109,7 +109,7 @@ Accepts two optional parameters: * `getOutputParams()` - Returns the output audio configuration -MadelineProto works using raw PCM audio, internally split in packets with `sampleNumber` samples. +MadelineProto works using raw signed PCM audio, internally split in packets with `sampleNumber` samples. The audio configuration is an array structured in the following way: ``` @@ -127,7 +127,7 @@ The audio configuration is an array structured in the following way: * `getInputParams()` - Returns the input audio configuration -MadelineProto works using raw PCM audio, internally split in packets with `sampleNumber` samples. +MadelineProto works using raw signed PCM audio, internally split in packets with `sampleNumber` samples. The audio configuration is an array structured in the following way: ``` diff --git a/old_docs/API_docs_v66/constructors/accountDaysTTL.md b/old_docs/API_docs_v66/constructors/accountDaysTTL.md index c58f2bd9..96a39501 100644 --- a/old_docs/API_docs_v66/constructors/accountDaysTTL.md +++ b/old_docs/API_docs_v66/constructors/accountDaysTTL.md @@ -24,6 +24,13 @@ description: accountDaysTTL attributes, type and example $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"accountDaysTTL","days":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/account_authorizations.md b/old_docs/API_docs_v66/constructors/account_authorizations.md index f39a6b13..1193f79f 100644 --- a/old_docs/API_docs_v66/constructors/account_authorizations.md +++ b/old_docs/API_docs_v66/constructors/account_authorizations.md @@ -24,6 +24,13 @@ description: account_authorizations attributes, type and example $account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.authorizations","authorizations":["Authorization"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/account_noPassword.md b/old_docs/API_docs_v66/constructors/account_noPassword.md index 16f98ae4..8d72ba1e 100644 --- a/old_docs/API_docs_v66/constructors/account_noPassword.md +++ b/old_docs/API_docs_v66/constructors/account_noPassword.md @@ -25,6 +25,13 @@ description: account_noPassword attributes, type and example $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.noPassword","new_salt":"bytes","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/account_password.md b/old_docs/API_docs_v66/constructors/account_password.md index 302b3a11..82c70291 100644 --- a/old_docs/API_docs_v66/constructors/account_password.md +++ b/old_docs/API_docs_v66/constructors/account_password.md @@ -28,6 +28,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.password","current_salt":"bytes","new_salt":"bytes","hint":"string","has_recovery":"Bool","email_unconfirmed_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/account_passwordInputSettings.md b/old_docs/API_docs_v66/constructors/account_passwordInputSettings.md index 8ad15fe4..c6069bb7 100644 --- a/old_docs/API_docs_v66/constructors/account_passwordInputSettings.md +++ b/old_docs/API_docs_v66/constructors/account_passwordInputSettings.md @@ -27,6 +27,13 @@ description: account_passwordInputSettings attributes, type and example $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordInputSettings","new_salt":"bytes","new_password_hash":"bytes","hint":"string","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/account_passwordSettings.md b/old_docs/API_docs_v66/constructors/account_passwordSettings.md index 2f725660..ef237459 100644 --- a/old_docs/API_docs_v66/constructors/account_passwordSettings.md +++ b/old_docs/API_docs_v66/constructors/account_passwordSettings.md @@ -24,6 +24,13 @@ description: account_passwordSettings attributes, type and example $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.passwordSettings","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/account_privacyRules.md b/old_docs/API_docs_v66/constructors/account_privacyRules.md index d444e332..204d1644 100644 --- a/old_docs/API_docs_v66/constructors/account_privacyRules.md +++ b/old_docs/API_docs_v66/constructors/account_privacyRules.md @@ -25,6 +25,13 @@ description: account_privacyRules attributes, type and example $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.privacyRules","rules":["PrivacyRule"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/account_tmpPassword.md b/old_docs/API_docs_v66/constructors/account_tmpPassword.md index e09c924b..51739691 100644 --- a/old_docs/API_docs_v66/constructors/account_tmpPassword.md +++ b/old_docs/API_docs_v66/constructors/account_tmpPassword.md @@ -25,6 +25,13 @@ description: account_tmpPassword attributes, type and example $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => bytes, 'valid_until' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"account.tmpPassword","tmp_password":"bytes","valid_until":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/auth_authorization.md b/old_docs/API_docs_v66/constructors/auth_authorization.md index a162abcd..b59d5d96 100644 --- a/old_docs/API_docs_v66/constructors/auth_authorization.md +++ b/old_docs/API_docs_v66/constructors/auth_authorization.md @@ -25,6 +25,13 @@ description: auth_authorization attributes, type and example $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.authorization","tmp_sessions":"int","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/auth_checkedPhone.md b/old_docs/API_docs_v66/constructors/auth_checkedPhone.md index 7e2f35d4..d4287716 100644 --- a/old_docs/API_docs_v66/constructors/auth_checkedPhone.md +++ b/old_docs/API_docs_v66/constructors/auth_checkedPhone.md @@ -24,6 +24,13 @@ description: auth_checkedPhone attributes, type and example $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.checkedPhone","phone_registered":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/auth_codeTypeCall.md b/old_docs/API_docs_v66/constructors/auth_codeTypeCall.md index 6ac151ad..714eb23c 100644 --- a/old_docs/API_docs_v66/constructors/auth_codeTypeCall.md +++ b/old_docs/API_docs_v66/constructors/auth_codeTypeCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeCall attributes, type and example $auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md b/old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md index a8c2bc05..c535eccf 100644 --- a/old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md +++ b/old_docs/API_docs_v66/constructors/auth_codeTypeFlashCall.md @@ -19,6 +19,13 @@ description: auth_codeTypeFlashCall attributes, type and example $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeFlashCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/auth_codeTypeSms.md b/old_docs/API_docs_v66/constructors/auth_codeTypeSms.md index aa7eccac..cbeb31cb 100644 --- a/old_docs/API_docs_v66/constructors/auth_codeTypeSms.md +++ b/old_docs/API_docs_v66/constructors/auth_codeTypeSms.md @@ -19,6 +19,13 @@ description: auth_codeTypeSms attributes, type and example $auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.codeTypeSms"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md b/old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md index 666b6f7a..4c5aede6 100644 --- a/old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md +++ b/old_docs/API_docs_v66/constructors/auth_exportedAuthorization.md @@ -25,6 +25,13 @@ description: auth_exportedAuthorization attributes, type and example $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.exportedAuthorization","id":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/auth_passwordRecovery.md b/old_docs/API_docs_v66/constructors/auth_passwordRecovery.md index acfb7a82..2fb75278 100644 --- a/old_docs/API_docs_v66/constructors/auth_passwordRecovery.md +++ b/old_docs/API_docs_v66/constructors/auth_passwordRecovery.md @@ -24,6 +24,13 @@ description: auth_passwordRecovery attributes, type and example $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.passwordRecovery","email_pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/auth_sentCode.md b/old_docs/API_docs_v66/constructors/auth_sentCode.md index f3ac1809..51e2d458 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCode.md @@ -28,6 +28,13 @@ description: auth_sentCode attributes, type and example $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCode","phone_registered":"Bool","type":"auth_SentCodeType","phone_code_hash":"string","next_type":"auth_CodeType","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md index 84d05955..2456a284 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeApp.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeApp attributes, type and example $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeApp","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md index 889cec01..39745809 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeCall attributes, type and example $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeCall","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md index f5ec0920..2ba727ec 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeFlashCall.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeFlashCall attributes, type and example $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeFlashCall","pattern":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md index 5c4075c1..4a350ff6 100644 --- a/old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md +++ b/old_docs/API_docs_v66/constructors/auth_sentCodeTypeSms.md @@ -24,6 +24,13 @@ description: auth_sentCodeTypeSms attributes, type and example $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"auth.sentCodeTypeSms","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/authorization.md b/old_docs/API_docs_v66/constructors/authorization.md index ff341241..27c3bcd9 100644 --- a/old_docs/API_docs_v66/constructors/authorization.md +++ b/old_docs/API_docs_v66/constructors/authorization.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/bad_msg_notification.md b/old_docs/API_docs_v66/constructors/bad_msg_notification.md index f48351a4..1273c1b5 100644 --- a/old_docs/API_docs_v66/constructors/bad_msg_notification.md +++ b/old_docs/API_docs_v66/constructors/bad_msg_notification.md @@ -26,6 +26,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"bad_msg_notification","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/bad_server_salt.md b/old_docs/API_docs_v66/constructors/bad_server_salt.md index 22cdb6fd..8eca3a7d 100644 --- a/old_docs/API_docs_v66/constructors/bad_server_salt.md +++ b/old_docs/API_docs_v66/constructors/bad_server_salt.md @@ -27,6 +27,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"bad_server_salt","bad_msg_id":"long","bad_msg_seqno":"int","error_code":"int","new_server_salt":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/botCommand.md b/old_docs/API_docs_v66/constructors/botCommand.md index f7d22c96..3a1e136e 100644 --- a/old_docs/API_docs_v66/constructors/botCommand.md +++ b/old_docs/API_docs_v66/constructors/botCommand.md @@ -25,6 +25,13 @@ description: botCommand attributes, type and example $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botCommand","command":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/botInfo.md b/old_docs/API_docs_v66/constructors/botInfo.md index 0fce4bf8..baaf28fd 100644 --- a/old_docs/API_docs_v66/constructors/botInfo.md +++ b/old_docs/API_docs_v66/constructors/botInfo.md @@ -26,6 +26,13 @@ description: botInfo attributes, type and example $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInfo","user_id":"int","description":"string","commands":["BotCommand"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/botInlineMediaResult.md b/old_docs/API_docs_v66/constructors/botInlineMediaResult.md index 147b4774..29854010 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMediaResult.md +++ b/old_docs/API_docs_v66/constructors/botInlineMediaResult.md @@ -30,6 +30,13 @@ description: botInlineMediaResult attributes, type and example $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMediaResult","id":"string","type":"string","photo":"Photo","document":"Document","title":"string","description":"string","send_message":"BotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/botInlineMessageMediaAuto.md b/old_docs/API_docs_v66/constructors/botInlineMessageMediaAuto.md index 694cf6ea..c652331d 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaAuto attributes, type and example $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/botInlineMessageMediaContact.md b/old_docs/API_docs_v66/constructors/botInlineMessageMediaContact.md index f57e4752..5e57bf4f 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageMediaContact.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: botInlineMessageMediaContact attributes, type and example $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/botInlineMessageMediaGeo.md b/old_docs/API_docs_v66/constructors/botInlineMessageMediaGeo.md index 40ea4ca1..04a4abed 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: botInlineMessageMediaGeo attributes, type and example $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaGeo","geo":"GeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/botInlineMessageMediaVenue.md b/old_docs/API_docs_v66/constructors/botInlineMessageMediaVenue.md index 236f3cf1..6c08ee05 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: botInlineMessageMediaVenue attributes, type and example $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/botInlineMessageText.md b/old_docs/API_docs_v66/constructors/botInlineMessageText.md index 278fe01d..007acd3d 100644 --- a/old_docs/API_docs_v66/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v66/constructors/botInlineMessageText.md @@ -27,6 +27,13 @@ description: botInlineMessageText attributes, type and example $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"botInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/botInlineResult.md b/old_docs/API_docs_v66/constructors/botInlineResult.md index 839edda1..57255b6c 100644 --- a/old_docs/API_docs_v66/constructors/botInlineResult.md +++ b/old_docs/API_docs_v66/constructors/botInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/cdnConfig.md b/old_docs/API_docs_v66/constructors/cdnConfig.md index 22f8cbd7..e1cf767d 100644 --- a/old_docs/API_docs_v66/constructors/cdnConfig.md +++ b/old_docs/API_docs_v66/constructors/cdnConfig.md @@ -24,6 +24,13 @@ description: cdnConfig attributes, type and example $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"cdnConfig","public_keys":["CdnPublicKey"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/cdnPublicKey.md b/old_docs/API_docs_v66/constructors/cdnPublicKey.md index 3884dfb1..4cbc1de9 100644 --- a/old_docs/API_docs_v66/constructors/cdnPublicKey.md +++ b/old_docs/API_docs_v66/constructors/cdnPublicKey.md @@ -25,6 +25,13 @@ description: cdnPublicKey attributes, type and example $cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"cdnPublicKey","dc_id":"int","public_key":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channel.md b/old_docs/API_docs_v66/constructors/channel.md index 1a1db52f..86740c87 100644 --- a/old_docs/API_docs_v66/constructors/channel.md +++ b/old_docs/API_docs_v66/constructors/channel.md @@ -43,6 +43,13 @@ description: channel attributes, type and example $channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channel","creator":"Bool","kicked":"Bool","left":"Bool","editor":"Bool","moderator":"Bool","broadcast":"Bool","verified":"Bool","megagroup":"Bool","restricted":"Bool","democracy":"Bool","signatures":"Bool","min":"Bool","id":"int","access_hash":"long","title":"string","username":"string","photo":"ChatPhoto","date":"int","version":"int","restriction_reason":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelForbidden.md b/old_docs/API_docs_v66/constructors/channelForbidden.md index 5522fd5c..3d3a3a69 100644 --- a/old_docs/API_docs_v66/constructors/channelForbidden.md +++ b/old_docs/API_docs_v66/constructors/channelForbidden.md @@ -28,6 +28,13 @@ description: channelForbidden attributes, type and example $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelForbidden","broadcast":"Bool","megagroup":"Bool","id":"int","access_hash":"long","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelFull.md b/old_docs/API_docs_v66/constructors/channelFull.md index 2b3387b7..ea66e000 100644 --- a/old_docs/API_docs_v66/constructors/channelFull.md +++ b/old_docs/API_docs_v66/constructors/channelFull.md @@ -40,6 +40,13 @@ description: channelFull attributes, type and example $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, '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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelFull","can_view_participants":"Bool","can_set_username":"Bool","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":["BotInfo"],"migrated_from_chat_id":"int","migrated_from_max_id":"int","pinned_msg_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelMessagesFilter.md b/old_docs/API_docs_v66/constructors/channelMessagesFilter.md index b8b7725b..677f7356 100644 --- a/old_docs/API_docs_v66/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v66/constructors/channelMessagesFilter.md @@ -25,6 +25,13 @@ description: channelMessagesFilter attributes, type and example $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilter","exclude_new_messages":"Bool","ranges":["MessageRange"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelMessagesFilterEmpty.md b/old_docs/API_docs_v66/constructors/channelMessagesFilterEmpty.md index b6428227..3b33c9c4 100644 --- a/old_docs/API_docs_v66/constructors/channelMessagesFilterEmpty.md +++ b/old_docs/API_docs_v66/constructors/channelMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: channelMessagesFilterEmpty attributes, type and example $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelParticipant.md b/old_docs/API_docs_v66/constructors/channelParticipant.md index 3537cd1b..d412461b 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipant.md +++ b/old_docs/API_docs_v66/constructors/channelParticipant.md @@ -25,6 +25,13 @@ description: channelParticipant attributes, type and example $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipant","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelParticipantCreator.md b/old_docs/API_docs_v66/constructors/channelParticipantCreator.md index 9c8acd0c..04cb2e8e 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantCreator.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantCreator.md @@ -24,6 +24,13 @@ description: channelParticipantCreator attributes, type and example $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelParticipantEditor.md b/old_docs/API_docs_v66/constructors/channelParticipantEditor.md index 3c866534..64f84b38 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantEditor.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantEditor.md @@ -26,6 +26,13 @@ description: channelParticipantEditor attributes, type and example $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantEditor","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelParticipantKicked.md b/old_docs/API_docs_v66/constructors/channelParticipantKicked.md index 362872f9..4aedad4d 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantKicked.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantKicked.md @@ -26,6 +26,13 @@ description: channelParticipantKicked attributes, type and example $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantKicked","user_id":"int","kicked_by":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelParticipantModerator.md b/old_docs/API_docs_v66/constructors/channelParticipantModerator.md index ff9a7094..634f9de8 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantModerator.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantModerator.md @@ -26,6 +26,13 @@ description: channelParticipantModerator attributes, type and example $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantModerator","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelParticipantSelf.md b/old_docs/API_docs_v66/constructors/channelParticipantSelf.md index 91647137..a81283d0 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantSelf.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantSelf.md @@ -26,6 +26,13 @@ description: channelParticipantSelf attributes, type and example $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantSelf","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelParticipantsAdmins.md b/old_docs/API_docs_v66/constructors/channelParticipantsAdmins.md index 14b8cbe6..176597ef 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantsAdmins.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantsAdmins.md @@ -19,6 +19,13 @@ description: channelParticipantsAdmins attributes, type and example $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsAdmins"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelParticipantsBots.md b/old_docs/API_docs_v66/constructors/channelParticipantsBots.md index 24b68c95..963f155e 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantsBots.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantsBots.md @@ -19,6 +19,13 @@ description: channelParticipantsBots attributes, type and example $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsBots"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelParticipantsKicked.md b/old_docs/API_docs_v66/constructors/channelParticipantsKicked.md index d7889060..37714c3e 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantsKicked.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantsKicked.md @@ -19,6 +19,13 @@ description: channelParticipantsKicked attributes, type and example $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsKicked"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelParticipantsRecent.md b/old_docs/API_docs_v66/constructors/channelParticipantsRecent.md index 90945102..1e4dab55 100644 --- a/old_docs/API_docs_v66/constructors/channelParticipantsRecent.md +++ b/old_docs/API_docs_v66/constructors/channelParticipantsRecent.md @@ -19,6 +19,13 @@ description: channelParticipantsRecent attributes, type and example $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelParticipantsRecent"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelRoleEditor.md b/old_docs/API_docs_v66/constructors/channelRoleEditor.md index 103b7ae5..fea2e406 100644 --- a/old_docs/API_docs_v66/constructors/channelRoleEditor.md +++ b/old_docs/API_docs_v66/constructors/channelRoleEditor.md @@ -19,6 +19,13 @@ description: channelRoleEditor attributes, type and example $channelRoleEditor = ['_' => 'channelRoleEditor', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEditor"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelRoleEmpty.md b/old_docs/API_docs_v66/constructors/channelRoleEmpty.md index b5a7b52c..932c9fb4 100644 --- a/old_docs/API_docs_v66/constructors/channelRoleEmpty.md +++ b/old_docs/API_docs_v66/constructors/channelRoleEmpty.md @@ -19,6 +19,13 @@ description: channelRoleEmpty attributes, type and example $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channelRoleModerator.md b/old_docs/API_docs_v66/constructors/channelRoleModerator.md index f3aaff68..5d6a37d1 100644 --- a/old_docs/API_docs_v66/constructors/channelRoleModerator.md +++ b/old_docs/API_docs_v66/constructors/channelRoleModerator.md @@ -19,6 +19,13 @@ description: channelRoleModerator attributes, type and example $channelRoleModerator = ['_' => 'channelRoleModerator', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channelRoleModerator"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channels_channelParticipant.md b/old_docs/API_docs_v66/constructors/channels_channelParticipant.md index 5e7631e9..25c0b1e1 100644 --- a/old_docs/API_docs_v66/constructors/channels_channelParticipant.md +++ b/old_docs/API_docs_v66/constructors/channels_channelParticipant.md @@ -25,6 +25,13 @@ description: channels_channelParticipant attributes, type and example $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipant","participant":"ChannelParticipant","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/channels_channelParticipants.md b/old_docs/API_docs_v66/constructors/channels_channelParticipants.md index 7aaa507f..472eb468 100644 --- a/old_docs/API_docs_v66/constructors/channels_channelParticipants.md +++ b/old_docs/API_docs_v66/constructors/channels_channelParticipants.md @@ -26,6 +26,13 @@ description: channels_channelParticipants attributes, type and example $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"channels.channelParticipants","count":"int","participants":["ChannelParticipant"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chat.md b/old_docs/API_docs_v66/constructors/chat.md index 9bad67b3..70955e06 100644 --- a/old_docs/API_docs_v66/constructors/chat.md +++ b/old_docs/API_docs_v66/constructors/chat.md @@ -36,6 +36,13 @@ description: chat attributes, type and example $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chat","creator":"Bool","kicked":"Bool","left":"Bool","admins_enabled":"Bool","admin":"Bool","deactivated":"Bool","id":"int","title":"string","photo":"ChatPhoto","participants_count":"int","date":"int","version":"int","migrated_to":"InputChannel"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatEmpty.md b/old_docs/API_docs_v66/constructors/chatEmpty.md index 5f0f36cd..27771917 100644 --- a/old_docs/API_docs_v66/constructors/chatEmpty.md +++ b/old_docs/API_docs_v66/constructors/chatEmpty.md @@ -24,6 +24,13 @@ description: chatEmpty attributes, type and example $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatForbidden.md b/old_docs/API_docs_v66/constructors/chatForbidden.md index 7e10a954..73dd02cd 100644 --- a/old_docs/API_docs_v66/constructors/chatForbidden.md +++ b/old_docs/API_docs_v66/constructors/chatForbidden.md @@ -25,6 +25,13 @@ description: chatForbidden attributes, type and example $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatForbidden","id":"int","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatFull.md b/old_docs/API_docs_v66/constructors/chatFull.md index ffb74d98..98316087 100644 --- a/old_docs/API_docs_v66/constructors/chatFull.md +++ b/old_docs/API_docs_v66/constructors/chatFull.md @@ -29,6 +29,13 @@ description: chatFull attributes, type and example $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatFull","id":"int","participants":"ChatParticipants","chat_photo":"Photo","notify_settings":"PeerNotifySettings","exported_invite":"ExportedChatInvite","bot_info":["BotInfo"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatInvite.md b/old_docs/API_docs_v66/constructors/chatInvite.md index 7f23c6b9..b818ebc8 100644 --- a/old_docs/API_docs_v66/constructors/chatInvite.md +++ b/old_docs/API_docs_v66/constructors/chatInvite.md @@ -31,6 +31,13 @@ description: chatInvite attributes, type and example $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInvite","channel":"Bool","broadcast":"Bool","public":"Bool","megagroup":"Bool","title":"string","photo":"ChatPhoto","participants_count":"int","participants":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatInviteAlready.md b/old_docs/API_docs_v66/constructors/chatInviteAlready.md index 74a314d4..3b09335e 100644 --- a/old_docs/API_docs_v66/constructors/chatInviteAlready.md +++ b/old_docs/API_docs_v66/constructors/chatInviteAlready.md @@ -24,6 +24,13 @@ description: chatInviteAlready attributes, type and example $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteAlready","chat":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatInviteEmpty.md b/old_docs/API_docs_v66/constructors/chatInviteEmpty.md index fa1f707e..91fdcae4 100644 --- a/old_docs/API_docs_v66/constructors/chatInviteEmpty.md +++ b/old_docs/API_docs_v66/constructors/chatInviteEmpty.md @@ -19,6 +19,13 @@ description: chatInviteEmpty attributes, type and example $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatInviteExported.md b/old_docs/API_docs_v66/constructors/chatInviteExported.md index bcfcdf20..98bba1b0 100644 --- a/old_docs/API_docs_v66/constructors/chatInviteExported.md +++ b/old_docs/API_docs_v66/constructors/chatInviteExported.md @@ -24,6 +24,13 @@ description: chatInviteExported attributes, type and example $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatInviteExported","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatParticipant.md b/old_docs/API_docs_v66/constructors/chatParticipant.md index 8ef222fa..d2968dc8 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipant.md +++ b/old_docs/API_docs_v66/constructors/chatParticipant.md @@ -26,6 +26,13 @@ description: chatParticipant attributes, type and example $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipant","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatParticipantAdmin.md b/old_docs/API_docs_v66/constructors/chatParticipantAdmin.md index 6740c4a3..775f29c7 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipantAdmin.md +++ b/old_docs/API_docs_v66/constructors/chatParticipantAdmin.md @@ -26,6 +26,13 @@ description: chatParticipantAdmin attributes, type and example $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantAdmin","user_id":"int","inviter_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatParticipantCreator.md b/old_docs/API_docs_v66/constructors/chatParticipantCreator.md index b80542a7..687dd93f 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipantCreator.md +++ b/old_docs/API_docs_v66/constructors/chatParticipantCreator.md @@ -24,6 +24,13 @@ description: chatParticipantCreator attributes, type and example $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantCreator","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatParticipants.md b/old_docs/API_docs_v66/constructors/chatParticipants.md index 2420f15e..c1602888 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipants.md +++ b/old_docs/API_docs_v66/constructors/chatParticipants.md @@ -26,6 +26,13 @@ description: chatParticipants attributes, type and example $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipants","chat_id":"int","participants":["ChatParticipant"],"version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatParticipantsForbidden.md b/old_docs/API_docs_v66/constructors/chatParticipantsForbidden.md index ab070665..4f3142a7 100644 --- a/old_docs/API_docs_v66/constructors/chatParticipantsForbidden.md +++ b/old_docs/API_docs_v66/constructors/chatParticipantsForbidden.md @@ -25,6 +25,13 @@ description: chatParticipantsForbidden attributes, type and example $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatParticipantsForbidden","chat_id":"int","self_participant":"ChatParticipant"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatPhoto.md b/old_docs/API_docs_v66/constructors/chatPhoto.md index 2bacf5b2..eaa9b1ed 100644 --- a/old_docs/API_docs_v66/constructors/chatPhoto.md +++ b/old_docs/API_docs_v66/constructors/chatPhoto.md @@ -25,6 +25,13 @@ description: chatPhoto attributes, type and example $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhoto","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/chatPhotoEmpty.md b/old_docs/API_docs_v66/constructors/chatPhotoEmpty.md index 9dc2ac04..6c5a2a3b 100644 --- a/old_docs/API_docs_v66/constructors/chatPhotoEmpty.md +++ b/old_docs/API_docs_v66/constructors/chatPhotoEmpty.md @@ -19,6 +19,13 @@ description: chatPhotoEmpty attributes, type and example $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"chatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/client_DH_inner_data.md b/old_docs/API_docs_v66/constructors/client_DH_inner_data.md index 3455f5cb..1505e457 100644 --- a/old_docs/API_docs_v66/constructors/client_DH_inner_data.md +++ b/old_docs/API_docs_v66/constructors/client_DH_inner_data.md @@ -27,6 +27,13 @@ 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' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"client_DH_inner_data","nonce":"int128","server_nonce":"int128","retry_id":"long","g_b":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/config.md b/old_docs/API_docs_v66/constructors/config.md index e85ad294..efe9467d 100644 --- a/old_docs/API_docs_v66/constructors/config.md +++ b/old_docs/API_docs_v66/constructors/config.md @@ -53,6 +53,13 @@ description: config attributes, type and example $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => string, 'disabled_features' => [DisabledFeature], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"config","phonecalls_enabled":"Bool","date":"int","expires":"int","test_mode":"Bool","this_dc":"int","dc_options":["DcOption"],"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","pinned_dialogs_count_max":"int","call_receive_timeout_ms":"int","call_ring_timeout_ms":"int","call_connect_timeout_ms":"int","call_packet_timeout_ms":"int","me_url_prefix":"string","disabled_features":["DisabledFeature"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contact.md b/old_docs/API_docs_v66/constructors/contact.md index ebb48096..bb3124e4 100644 --- a/old_docs/API_docs_v66/constructors/contact.md +++ b/old_docs/API_docs_v66/constructors/contact.md @@ -25,6 +25,13 @@ description: contact attributes, type and example $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contact","user_id":"int","mutual":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contactBlocked.md b/old_docs/API_docs_v66/constructors/contactBlocked.md index 24dc3a54..97cdc29f 100644 --- a/old_docs/API_docs_v66/constructors/contactBlocked.md +++ b/old_docs/API_docs_v66/constructors/contactBlocked.md @@ -25,6 +25,13 @@ description: contactBlocked attributes, type and example $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactBlocked","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contactLinkContact.md b/old_docs/API_docs_v66/constructors/contactLinkContact.md index d48661f1..f3d96629 100644 --- a/old_docs/API_docs_v66/constructors/contactLinkContact.md +++ b/old_docs/API_docs_v66/constructors/contactLinkContact.md @@ -19,6 +19,13 @@ description: contactLinkContact attributes, type and example $contactLinkContact = ['_' => 'contactLinkContact', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkContact"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contactLinkHasPhone.md b/old_docs/API_docs_v66/constructors/contactLinkHasPhone.md index 96403c29..f298fae8 100644 --- a/old_docs/API_docs_v66/constructors/contactLinkHasPhone.md +++ b/old_docs/API_docs_v66/constructors/contactLinkHasPhone.md @@ -19,6 +19,13 @@ description: contactLinkHasPhone attributes, type and example $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkHasPhone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contactLinkNone.md b/old_docs/API_docs_v66/constructors/contactLinkNone.md index 68bb4d3c..528857a0 100644 --- a/old_docs/API_docs_v66/constructors/contactLinkNone.md +++ b/old_docs/API_docs_v66/constructors/contactLinkNone.md @@ -19,6 +19,13 @@ description: contactLinkNone attributes, type and example $contactLinkNone = ['_' => 'contactLinkNone', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkNone"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contactLinkUnknown.md b/old_docs/API_docs_v66/constructors/contactLinkUnknown.md index b2f068a7..12095501 100644 --- a/old_docs/API_docs_v66/constructors/contactLinkUnknown.md +++ b/old_docs/API_docs_v66/constructors/contactLinkUnknown.md @@ -19,6 +19,13 @@ description: contactLinkUnknown attributes, type and example $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactLinkUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contactStatus.md b/old_docs/API_docs_v66/constructors/contactStatus.md index 6e376bcf..8ffaa80f 100644 --- a/old_docs/API_docs_v66/constructors/contactStatus.md +++ b/old_docs/API_docs_v66/constructors/contactStatus.md @@ -25,6 +25,13 @@ description: contactStatus attributes, type and example $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contactStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contacts_blocked.md b/old_docs/API_docs_v66/constructors/contacts_blocked.md index 0acedd4f..5e4f9011 100644 --- a/old_docs/API_docs_v66/constructors/contacts_blocked.md +++ b/old_docs/API_docs_v66/constructors/contacts_blocked.md @@ -25,6 +25,13 @@ description: contacts_blocked attributes, type and example $contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blocked","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contacts_blockedSlice.md b/old_docs/API_docs_v66/constructors/contacts_blockedSlice.md index ecfa36a7..f72d3201 100644 --- a/old_docs/API_docs_v66/constructors/contacts_blockedSlice.md +++ b/old_docs/API_docs_v66/constructors/contacts_blockedSlice.md @@ -26,6 +26,13 @@ description: contacts_blockedSlice attributes, type and example $contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.blockedSlice","count":"int","blocked":["ContactBlocked"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contacts_contacts.md b/old_docs/API_docs_v66/constructors/contacts_contacts.md index 71e164a5..bb8baee8 100644 --- a/old_docs/API_docs_v66/constructors/contacts_contacts.md +++ b/old_docs/API_docs_v66/constructors/contacts_contacts.md @@ -25,6 +25,13 @@ description: contacts_contacts attributes, type and example $contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contacts","contacts":["Contact"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md b/old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md index f7a6bfe9..51d8111e 100644 --- a/old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md +++ b/old_docs/API_docs_v66/constructors/contacts_contactsNotModified.md @@ -19,6 +19,13 @@ description: contacts_contactsNotModified attributes, type and example $contacts_contactsNotModified = ['_' => 'contacts.contactsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.contactsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contacts_found.md b/old_docs/API_docs_v66/constructors/contacts_found.md index dd6cf5c3..b6e6de1d 100644 --- a/old_docs/API_docs_v66/constructors/contacts_found.md +++ b/old_docs/API_docs_v66/constructors/contacts_found.md @@ -26,6 +26,13 @@ description: contacts_found attributes, type and example $contacts_found = ['_' => 'contacts.found', 'results' => [Peer], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.found","results":["Peer"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contacts_importedContacts.md b/old_docs/API_docs_v66/constructors/contacts_importedContacts.md index dd5f25b0..8a60bc35 100644 --- a/old_docs/API_docs_v66/constructors/contacts_importedContacts.md +++ b/old_docs/API_docs_v66/constructors/contacts_importedContacts.md @@ -26,6 +26,13 @@ description: contacts_importedContacts attributes, type and example $contacts_importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact], 'retry_contacts' => [long], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.importedContacts","imported":["ImportedContact"],"retry_contacts":["long"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contacts_link.md b/old_docs/API_docs_v66/constructors/contacts_link.md index 9fe8b630..54dee7da 100644 --- a/old_docs/API_docs_v66/constructors/contacts_link.md +++ b/old_docs/API_docs_v66/constructors/contacts_link.md @@ -26,6 +26,13 @@ description: contacts_link attributes, type and example $contacts_link = ['_' => 'contacts.link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.link","my_link":"ContactLink","foreign_link":"ContactLink","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md b/old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md index 9b44a68c..059853b4 100644 --- a/old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md +++ b/old_docs/API_docs_v66/constructors/contacts_resolvedPeer.md @@ -26,6 +26,13 @@ description: contacts_resolvedPeer attributes, type and example $contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contacts_topPeers.md b/old_docs/API_docs_v66/constructors/contacts_topPeers.md index 0ef10578..d059cb80 100644 --- a/old_docs/API_docs_v66/constructors/contacts_topPeers.md +++ b/old_docs/API_docs_v66/constructors/contacts_topPeers.md @@ -26,6 +26,13 @@ description: contacts_topPeers attributes, type and example $contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeers","categories":["TopPeerCategoryPeers"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md b/old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md index 9ab95116..ce380f72 100644 --- a/old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md +++ b/old_docs/API_docs_v66/constructors/contacts_topPeersNotModified.md @@ -19,6 +19,13 @@ description: contacts_topPeersNotModified attributes, type and example $contacts_topPeersNotModified = ['_' => 'contacts.topPeersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"contacts.topPeersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/dataJSON.md b/old_docs/API_docs_v66/constructors/dataJSON.md index c2368727..5ad2bebc 100644 --- a/old_docs/API_docs_v66/constructors/dataJSON.md +++ b/old_docs/API_docs_v66/constructors/dataJSON.md @@ -24,6 +24,13 @@ description: dataJSON attributes, type and example $dataJSON = ['_' => 'dataJSON', 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dataJSON","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/dcOption.md b/old_docs/API_docs_v66/constructors/dcOption.md index e3fe29da..4fefb10e 100644 --- a/old_docs/API_docs_v66/constructors/dcOption.md +++ b/old_docs/API_docs_v66/constructors/dcOption.md @@ -30,6 +30,13 @@ description: dcOption attributes, type and example $dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dcOption","ipv6":"Bool","media_only":"Bool","tcpo_only":"Bool","cdn":"Bool","id":"int","ip_address":"string","port":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/destroy_auth_key_fail.md b/old_docs/API_docs_v66/constructors/destroy_auth_key_fail.md index b34c9ed3..00dececb 100644 --- a/old_docs/API_docs_v66/constructors/destroy_auth_key_fail.md +++ b/old_docs/API_docs_v66/constructors/destroy_auth_key_fail.md @@ -19,6 +19,13 @@ description: destroy_auth_key_fail attributes, type and example $destroy_auth_key_fail = ['_' => 'destroy_auth_key_fail', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_auth_key_fail"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/destroy_auth_key_none.md b/old_docs/API_docs_v66/constructors/destroy_auth_key_none.md index bbaf778a..2d5ed5f3 100644 --- a/old_docs/API_docs_v66/constructors/destroy_auth_key_none.md +++ b/old_docs/API_docs_v66/constructors/destroy_auth_key_none.md @@ -19,6 +19,13 @@ description: destroy_auth_key_none attributes, type and example $destroy_auth_key_none = ['_' => 'destroy_auth_key_none', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_auth_key_none"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/destroy_auth_key_ok.md b/old_docs/API_docs_v66/constructors/destroy_auth_key_ok.md index e9038ea9..642a29c3 100644 --- a/old_docs/API_docs_v66/constructors/destroy_auth_key_ok.md +++ b/old_docs/API_docs_v66/constructors/destroy_auth_key_ok.md @@ -19,6 +19,13 @@ description: destroy_auth_key_ok attributes, type and example $destroy_auth_key_ok = ['_' => 'destroy_auth_key_ok', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_auth_key_ok"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/destroy_session_none.md b/old_docs/API_docs_v66/constructors/destroy_session_none.md index 89bb5678..9e5278b4 100644 --- a/old_docs/API_docs_v66/constructors/destroy_session_none.md +++ b/old_docs/API_docs_v66/constructors/destroy_session_none.md @@ -24,6 +24,13 @@ description: destroy_session_none attributes, type and example $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_session_none","session_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/destroy_session_ok.md b/old_docs/API_docs_v66/constructors/destroy_session_ok.md index 5675c75f..17b39b93 100644 --- a/old_docs/API_docs_v66/constructors/destroy_session_ok.md +++ b/old_docs/API_docs_v66/constructors/destroy_session_ok.md @@ -24,6 +24,13 @@ description: destroy_session_ok attributes, type and example $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"destroy_session_ok","session_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/dh_gen_fail.md b/old_docs/API_docs_v66/constructors/dh_gen_fail.md index 16073250..320b9306 100644 --- a/old_docs/API_docs_v66/constructors/dh_gen_fail.md +++ b/old_docs/API_docs_v66/constructors/dh_gen_fail.md @@ -26,6 +26,13 @@ description: dh_gen_fail attributes, type and example $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dh_gen_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash3":"int128"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/dh_gen_ok.md b/old_docs/API_docs_v66/constructors/dh_gen_ok.md index a8675829..2b43d907 100644 --- a/old_docs/API_docs_v66/constructors/dh_gen_ok.md +++ b/old_docs/API_docs_v66/constructors/dh_gen_ok.md @@ -26,6 +26,13 @@ description: dh_gen_ok attributes, type and example $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dh_gen_ok","nonce":"int128","server_nonce":"int128","new_nonce_hash1":"int128"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/dh_gen_retry.md b/old_docs/API_docs_v66/constructors/dh_gen_retry.md index b3ec92f5..db5c1928 100644 --- a/old_docs/API_docs_v66/constructors/dh_gen_retry.md +++ b/old_docs/API_docs_v66/constructors/dh_gen_retry.md @@ -26,6 +26,13 @@ description: dh_gen_retry attributes, type and example $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dh_gen_retry","nonce":"int128","server_nonce":"int128","new_nonce_hash2":"int128"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/dialog.md b/old_docs/API_docs_v66/constructors/dialog.md index 5309a2be..5c5c2008 100644 --- a/old_docs/API_docs_v66/constructors/dialog.md +++ b/old_docs/API_docs_v66/constructors/dialog.md @@ -32,6 +32,13 @@ description: dialog attributes, type and example $dialog = ['_' => 'dialog', 'pinned' => Bool, '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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"dialog","pinned":"Bool","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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/disabledFeature.md b/old_docs/API_docs_v66/constructors/disabledFeature.md index 0bfa4ec5..26697c44 100644 --- a/old_docs/API_docs_v66/constructors/disabledFeature.md +++ b/old_docs/API_docs_v66/constructors/disabledFeature.md @@ -25,6 +25,13 @@ description: disabledFeature attributes, type and example $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"disabledFeature","feature":"string","description":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/document.md b/old_docs/API_docs_v66/constructors/document.md index 5921896e..fdadf27d 100644 --- a/old_docs/API_docs_v66/constructors/document.md +++ b/old_docs/API_docs_v66/constructors/document.md @@ -32,6 +32,13 @@ 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' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"document","id":"long","access_hash":"long","date":"int","mime_type":"string","size":"int","thumb":"PhotoSize","dc_id":"int","version":"int","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/documentAttributeAnimated.md b/old_docs/API_docs_v66/constructors/documentAttributeAnimated.md index 3376520b..fdb6007a 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeAnimated.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeAnimated.md @@ -19,6 +19,13 @@ description: documentAttributeAnimated attributes, type and example $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAnimated"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/documentAttributeAudio.md b/old_docs/API_docs_v66/constructors/documentAttributeAudio.md index 83ba2eb9..74aa516d 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeAudio.md @@ -28,6 +28,13 @@ description: documentAttributeAudio attributes, type and example $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeAudio","voice":"Bool","duration":"int","title":"string","performer":"string","waveform":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/documentAttributeFilename.md b/old_docs/API_docs_v66/constructors/documentAttributeFilename.md index aaa29bb2..5bd3ed3f 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeFilename.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeFilename.md @@ -24,6 +24,13 @@ description: documentAttributeFilename attributes, type and example $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeFilename","file_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/documentAttributeHasStickers.md b/old_docs/API_docs_v66/constructors/documentAttributeHasStickers.md index 5345d27d..b09f783d 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeHasStickers.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeHasStickers.md @@ -19,6 +19,13 @@ description: documentAttributeHasStickers attributes, type and example $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeHasStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/documentAttributeImageSize.md b/old_docs/API_docs_v66/constructors/documentAttributeImageSize.md index 51e7f257..f89e7bc3 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeImageSize.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeImageSize.md @@ -25,6 +25,13 @@ description: documentAttributeImageSize attributes, type and example $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeImageSize","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/documentAttributeSticker.md b/old_docs/API_docs_v66/constructors/documentAttributeSticker.md index 746b6fd0..77b8f437 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeSticker.md @@ -27,6 +27,13 @@ description: documentAttributeSticker attributes, type and example $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeSticker","mask":"Bool","alt":"string","stickerset":"InputStickerSet","mask_coords":"MaskCoords"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/documentAttributeVideo.md b/old_docs/API_docs_v66/constructors/documentAttributeVideo.md index 4c23e731..26a3dd47 100644 --- a/old_docs/API_docs_v66/constructors/documentAttributeVideo.md +++ b/old_docs/API_docs_v66/constructors/documentAttributeVideo.md @@ -27,6 +27,13 @@ description: documentAttributeVideo attributes, type and example $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentAttributeVideo","round_message":"Bool","duration":"int","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/documentEmpty.md b/old_docs/API_docs_v66/constructors/documentEmpty.md index 055686a6..e9aa30bf 100644 --- a/old_docs/API_docs_v66/constructors/documentEmpty.md +++ b/old_docs/API_docs_v66/constructors/documentEmpty.md @@ -24,6 +24,13 @@ description: documentEmpty attributes, type and example $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"documentEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/draftMessage.md b/old_docs/API_docs_v66/constructors/draftMessage.md index 9cbeec53..57d7d5c9 100644 --- a/old_docs/API_docs_v66/constructors/draftMessage.md +++ b/old_docs/API_docs_v66/constructors/draftMessage.md @@ -28,6 +28,13 @@ description: draftMessage attributes, type and example $draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessage","no_webpage":"Bool","reply_to_msg_id":"int","message":"string","entities":["MessageEntity"],"date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/draftMessageEmpty.md b/old_docs/API_docs_v66/constructors/draftMessageEmpty.md index 0ddfc989..4a9098b7 100644 --- a/old_docs/API_docs_v66/constructors/draftMessageEmpty.md +++ b/old_docs/API_docs_v66/constructors/draftMessageEmpty.md @@ -19,6 +19,13 @@ description: draftMessageEmpty attributes, type and example $draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"draftMessageEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/encryptedChat.md b/old_docs/API_docs_v66/constructors/encryptedChat.md index e9becf4c..e111cf85 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChat.md +++ b/old_docs/API_docs_v66/constructors/encryptedChat.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChat","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/encryptedChatDiscarded.md b/old_docs/API_docs_v66/constructors/encryptedChatDiscarded.md index 96b61875..620b388d 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChatDiscarded.md +++ b/old_docs/API_docs_v66/constructors/encryptedChatDiscarded.md @@ -24,6 +24,13 @@ description: encryptedChatDiscarded attributes, type and example $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatDiscarded","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/encryptedChatEmpty.md b/old_docs/API_docs_v66/constructors/encryptedChatEmpty.md index 5f8af52c..9a117956 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChatEmpty.md +++ b/old_docs/API_docs_v66/constructors/encryptedChatEmpty.md @@ -24,6 +24,13 @@ description: encryptedChatEmpty attributes, type and example $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/encryptedChatRequested.md b/old_docs/API_docs_v66/constructors/encryptedChatRequested.md index 1266153a..6dca288c 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChatRequested.md +++ b/old_docs/API_docs_v66/constructors/encryptedChatRequested.md @@ -29,6 +29,13 @@ description: encryptedChatRequested attributes, type and example $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatRequested","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/encryptedChatWaiting.md b/old_docs/API_docs_v66/constructors/encryptedChatWaiting.md index ea1f138a..8b420c58 100644 --- a/old_docs/API_docs_v66/constructors/encryptedChatWaiting.md +++ b/old_docs/API_docs_v66/constructors/encryptedChatWaiting.md @@ -28,6 +28,13 @@ description: encryptedChatWaiting attributes, type and example $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedChatWaiting","id":"int","access_hash":"long","date":"int","admin_id":"int","participant_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/encryptedFile.md b/old_docs/API_docs_v66/constructors/encryptedFile.md index e42efea7..e51c9c21 100644 --- a/old_docs/API_docs_v66/constructors/encryptedFile.md +++ b/old_docs/API_docs_v66/constructors/encryptedFile.md @@ -28,6 +28,13 @@ description: encryptedFile attributes, type and example $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFile","id":"long","access_hash":"long","size":"int","dc_id":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/encryptedFileEmpty.md b/old_docs/API_docs_v66/constructors/encryptedFileEmpty.md index 7fe1cb13..0843efb8 100644 --- a/old_docs/API_docs_v66/constructors/encryptedFileEmpty.md +++ b/old_docs/API_docs_v66/constructors/encryptedFileEmpty.md @@ -19,6 +19,13 @@ description: encryptedFileEmpty attributes, type and example $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/encryptedMessage.md b/old_docs/API_docs_v66/constructors/encryptedMessage.md index 0fc34326..0282c81c 100644 --- a/old_docs/API_docs_v66/constructors/encryptedMessage.md +++ b/old_docs/API_docs_v66/constructors/encryptedMessage.md @@ -27,6 +27,13 @@ description: encryptedMessage attributes, type and example $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessage","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/encryptedMessageService.md b/old_docs/API_docs_v66/constructors/encryptedMessageService.md index 9691aa65..0a793536 100644 --- a/old_docs/API_docs_v66/constructors/encryptedMessageService.md +++ b/old_docs/API_docs_v66/constructors/encryptedMessageService.md @@ -26,6 +26,13 @@ description: encryptedMessageService attributes, type and example $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'decrypted_message' => DecryptedMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"encryptedMessageService","chat_id":"int","date":"int","decrypted_message":"DecryptedMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/error.md b/old_docs/API_docs_v66/constructors/error.md index 2031cf25..f4258241 100644 --- a/old_docs/API_docs_v66/constructors/error.md +++ b/old_docs/API_docs_v66/constructors/error.md @@ -25,6 +25,13 @@ description: error attributes, type and example $error = ['_' => 'error', 'code' => int, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"error","code":"int","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/exportedMessageLink.md b/old_docs/API_docs_v66/constructors/exportedMessageLink.md index d151e98e..b6f0c21f 100644 --- a/old_docs/API_docs_v66/constructors/exportedMessageLink.md +++ b/old_docs/API_docs_v66/constructors/exportedMessageLink.md @@ -24,6 +24,13 @@ description: exportedMessageLink attributes, type and example $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"exportedMessageLink","link":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/fileLocation.md b/old_docs/API_docs_v66/constructors/fileLocation.md index f3e82649..698cedf4 100644 --- a/old_docs/API_docs_v66/constructors/fileLocation.md +++ b/old_docs/API_docs_v66/constructors/fileLocation.md @@ -27,6 +27,13 @@ description: fileLocation attributes, type and example $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocation","dc_id":"int","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/fileLocationUnavailable.md b/old_docs/API_docs_v66/constructors/fileLocationUnavailable.md index 52c5b231..5428abdf 100644 --- a/old_docs/API_docs_v66/constructors/fileLocationUnavailable.md +++ b/old_docs/API_docs_v66/constructors/fileLocationUnavailable.md @@ -26,6 +26,13 @@ description: fileLocationUnavailable attributes, type and example $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"fileLocationUnavailable","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/foundGif.md b/old_docs/API_docs_v66/constructors/foundGif.md index e241eabe..99a0faa0 100644 --- a/old_docs/API_docs_v66/constructors/foundGif.md +++ b/old_docs/API_docs_v66/constructors/foundGif.md @@ -29,6 +29,13 @@ description: foundGif attributes, type and example $foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGif","url":"string","thumb_url":"string","content_url":"string","content_type":"string","w":"int","h":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/foundGifCached.md b/old_docs/API_docs_v66/constructors/foundGifCached.md index f73c07df..a73fb47c 100644 --- a/old_docs/API_docs_v66/constructors/foundGifCached.md +++ b/old_docs/API_docs_v66/constructors/foundGifCached.md @@ -26,6 +26,13 @@ description: foundGifCached attributes, type and example $foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"foundGifCached","url":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/future_salt.md b/old_docs/API_docs_v66/constructors/future_salt.md index fd084341..c70f48ec 100644 --- a/old_docs/API_docs_v66/constructors/future_salt.md +++ b/old_docs/API_docs_v66/constructors/future_salt.md @@ -26,6 +26,13 @@ description: future_salt attributes, type and example $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"future_salt","valid_since":"int","valid_until":"int","salt":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/future_salts.md b/old_docs/API_docs_v66/constructors/future_salts.md index 2b694a80..a6bba188 100644 --- a/old_docs/API_docs_v66/constructors/future_salts.md +++ b/old_docs/API_docs_v66/constructors/future_salts.md @@ -26,6 +26,13 @@ description: future_salts attributes, type and example $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [future_salt], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"future_salts","req_msg_id":"long","now":"int","salts":["future_salt"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/game.md b/old_docs/API_docs_v66/constructors/game.md index c3aa155d..3bb1dfe1 100644 --- a/old_docs/API_docs_v66/constructors/game.md +++ b/old_docs/API_docs_v66/constructors/game.md @@ -30,6 +30,13 @@ description: game attributes, type and example $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"game","id":"long","access_hash":"long","short_name":"string","title":"string","description":"string","photo":"Photo","document":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/geoPoint.md b/old_docs/API_docs_v66/constructors/geoPoint.md index 744d6de7..c55a852b 100644 --- a/old_docs/API_docs_v66/constructors/geoPoint.md +++ b/old_docs/API_docs_v66/constructors/geoPoint.md @@ -25,6 +25,13 @@ description: geoPoint attributes, type and example $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPoint","long":"double","lat":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/geoPointEmpty.md b/old_docs/API_docs_v66/constructors/geoPointEmpty.md index 572b9c8e..48452906 100644 --- a/old_docs/API_docs_v66/constructors/geoPointEmpty.md +++ b/old_docs/API_docs_v66/constructors/geoPointEmpty.md @@ -19,6 +19,13 @@ description: geoPointEmpty attributes, type and example $geoPointEmpty = ['_' => 'geoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"geoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/help_appUpdate.md b/old_docs/API_docs_v66/constructors/help_appUpdate.md index 3e3e1205..5a14873c 100644 --- a/old_docs/API_docs_v66/constructors/help_appUpdate.md +++ b/old_docs/API_docs_v66/constructors/help_appUpdate.md @@ -27,6 +27,13 @@ description: help_appUpdate attributes, type and example $help_appUpdate = ['_' => 'help.appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.appUpdate","id":"int","critical":"Bool","url":"string","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/help_inviteText.md b/old_docs/API_docs_v66/constructors/help_inviteText.md index d91d4db8..6477ee63 100644 --- a/old_docs/API_docs_v66/constructors/help_inviteText.md +++ b/old_docs/API_docs_v66/constructors/help_inviteText.md @@ -24,6 +24,13 @@ description: help_inviteText attributes, type and example $help_inviteText = ['_' => 'help.inviteText', 'message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.inviteText","message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/help_noAppUpdate.md b/old_docs/API_docs_v66/constructors/help_noAppUpdate.md index d310dbf4..f67c8aed 100644 --- a/old_docs/API_docs_v66/constructors/help_noAppUpdate.md +++ b/old_docs/API_docs_v66/constructors/help_noAppUpdate.md @@ -19,6 +19,13 @@ description: help_noAppUpdate attributes, type and example $help_noAppUpdate = ['_' => 'help.noAppUpdate', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.noAppUpdate"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/help_support.md b/old_docs/API_docs_v66/constructors/help_support.md index 09fe7a48..9d7bee39 100644 --- a/old_docs/API_docs_v66/constructors/help_support.md +++ b/old_docs/API_docs_v66/constructors/help_support.md @@ -25,6 +25,13 @@ description: help_support attributes, type and example $help_support = ['_' => 'help.support', 'phone_number' => string, 'user' => User, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.support","phone_number":"string","user":"User"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/help_termsOfService.md b/old_docs/API_docs_v66/constructors/help_termsOfService.md index a945b971..6af3d9e5 100644 --- a/old_docs/API_docs_v66/constructors/help_termsOfService.md +++ b/old_docs/API_docs_v66/constructors/help_termsOfService.md @@ -24,6 +24,13 @@ description: help_termsOfService attributes, type and example $help_termsOfService = ['_' => 'help.termsOfService', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"help.termsOfService","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/highScore.md b/old_docs/API_docs_v66/constructors/highScore.md index 27b8ec02..8fe62af9 100644 --- a/old_docs/API_docs_v66/constructors/highScore.md +++ b/old_docs/API_docs_v66/constructors/highScore.md @@ -26,6 +26,13 @@ description: highScore attributes, type and example $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"highScore","pos":"int","user_id":"int","score":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/http_wait.md b/old_docs/API_docs_v66/constructors/http_wait.md index 50cb9cf6..be4aa968 100644 --- a/old_docs/API_docs_v66/constructors/http_wait.md +++ b/old_docs/API_docs_v66/constructors/http_wait.md @@ -26,6 +26,13 @@ description: http_wait attributes, type and example $http_wait = ['_' => 'http_wait', 'max_delay' => int, 'wait_after' => int, 'max_wait' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"http_wait","max_delay":"int","wait_after":"int","max_wait":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/importedContact.md b/old_docs/API_docs_v66/constructors/importedContact.md index 3a69c9a2..7b3a4eb9 100644 --- a/old_docs/API_docs_v66/constructors/importedContact.md +++ b/old_docs/API_docs_v66/constructors/importedContact.md @@ -25,6 +25,13 @@ description: importedContact attributes, type and example $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"importedContact","user_id":"int","client_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inlineBotSwitchPM.md b/old_docs/API_docs_v66/constructors/inlineBotSwitchPM.md index 41ca65ac..86c0d9d4 100644 --- a/old_docs/API_docs_v66/constructors/inlineBotSwitchPM.md +++ b/old_docs/API_docs_v66/constructors/inlineBotSwitchPM.md @@ -25,6 +25,13 @@ description: inlineBotSwitchPM attributes, type and example $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inlineBotSwitchPM","text":"string","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputAppEvent.md b/old_docs/API_docs_v66/constructors/inputAppEvent.md index a038c19d..501bdbba 100644 --- a/old_docs/API_docs_v66/constructors/inputAppEvent.md +++ b/old_docs/API_docs_v66/constructors/inputAppEvent.md @@ -27,6 +27,13 @@ description: inputAppEvent attributes, type and example $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputAppEvent","time":"double","type":"string","peer":"long","data":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageGame.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageGame.md index 5369ed7a..1a8bc54d 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageGame.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageGame.md @@ -24,6 +24,13 @@ description: inputBotInlineMessageGame attributes, type and example $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageGame","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageID.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageID.md index 0d8d3f9e..757f7146 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageID.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageID.md @@ -26,6 +26,13 @@ description: inputBotInlineMessageID attributes, type and example $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageID","dc_id":"int","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaAuto.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaAuto.md index 75bb48f3..aa6b51df 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaAuto.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaAuto.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaAuto attributes, type and example $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaAuto","caption":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaContact.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaContact.md index 754ce5ac..1bd6518f 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaContact.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaContact.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageMediaContact attributes, type and example $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaContact","phone_number":"string","first_name":"string","last_name":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaGeo.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaGeo.md index 6eac346e..8c4f7ecc 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaGeo.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaGeo.md @@ -25,6 +25,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaGeo","geo_point":"InputGeoPoint","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaVenue.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaVenue.md index ddb3c3fe..01e38309 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaVenue.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageMediaVenue.md @@ -29,6 +29,13 @@ description: inputBotInlineMessageMediaVenue attributes, type and example $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string","reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v66/constructors/inputBotInlineMessageText.md index 77de3cf6..c785cbed 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineMessageText.md @@ -27,6 +27,13 @@ description: inputBotInlineMessageText attributes, type and example $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineMessageText","no_webpage":"Bool","message":"string","entities":["MessageEntity"],"reply_markup":"ReplyMarkup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineResult.md b/old_docs/API_docs_v66/constructors/inputBotInlineResult.md index 9ff31ee5..ed68ad5c 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineResult.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineResult.md @@ -35,6 +35,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"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"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineResultDocument.md b/old_docs/API_docs_v66/constructors/inputBotInlineResultDocument.md index a5d9c466..15080274 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineResultDocument.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineResultDocument.md @@ -29,6 +29,13 @@ description: inputBotInlineResultDocument attributes, type and example $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultDocument","id":"string","type":"string","title":"string","description":"string","document":"InputDocument","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineResultGame.md b/old_docs/API_docs_v66/constructors/inputBotInlineResultGame.md index 0d5f96a7..be8f6f21 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineResultGame.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineResultGame.md @@ -26,6 +26,13 @@ description: inputBotInlineResultGame attributes, type and example $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => string, 'short_name' => string, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultGame","id":"string","short_name":"string","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputBotInlineResultPhoto.md b/old_docs/API_docs_v66/constructors/inputBotInlineResultPhoto.md index ca2c6b7a..bbc38a5a 100644 --- a/old_docs/API_docs_v66/constructors/inputBotInlineResultPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputBotInlineResultPhoto.md @@ -27,6 +27,13 @@ description: inputBotInlineResultPhoto attributes, type and example $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputBotInlineResultPhoto","id":"string","type":"string","photo":"InputPhoto","send_message":"InputBotInlineMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputChannel.md b/old_docs/API_docs_v66/constructors/inputChannel.md index a3f9af67..525e33c5 100644 --- a/old_docs/API_docs_v66/constructors/inputChannel.md +++ b/old_docs/API_docs_v66/constructors/inputChannel.md @@ -25,6 +25,13 @@ description: inputChannel attributes, type and example $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputChannelEmpty.md b/old_docs/API_docs_v66/constructors/inputChannelEmpty.md index 6b5c6f43..e2464425 100644 --- a/old_docs/API_docs_v66/constructors/inputChannelEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputChannelEmpty.md @@ -19,6 +19,13 @@ description: inputChannelEmpty attributes, type and example $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChannelEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputChatPhoto.md b/old_docs/API_docs_v66/constructors/inputChatPhoto.md index 8d46e6c3..aa98b610 100644 --- a/old_docs/API_docs_v66/constructors/inputChatPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputChatPhoto.md @@ -24,6 +24,13 @@ description: inputChatPhoto attributes, type and example $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputChatPhotoEmpty.md b/old_docs/API_docs_v66/constructors/inputChatPhotoEmpty.md index 9b95ad79..dd8c3a9e 100644 --- a/old_docs/API_docs_v66/constructors/inputChatPhotoEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputChatPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputChatPhotoEmpty attributes, type and example $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputChatUploadedPhoto.md b/old_docs/API_docs_v66/constructors/inputChatUploadedPhoto.md index eec015d4..ce3b4224 100644 --- a/old_docs/API_docs_v66/constructors/inputChatUploadedPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputChatUploadedPhoto.md @@ -24,6 +24,13 @@ description: inputChatUploadedPhoto attributes, type and example $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputChatUploadedPhoto","file":"InputFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputDocument.md b/old_docs/API_docs_v66/constructors/inputDocument.md index 7ccf55b0..b1949ca6 100644 --- a/old_docs/API_docs_v66/constructors/inputDocument.md +++ b/old_docs/API_docs_v66/constructors/inputDocument.md @@ -25,6 +25,13 @@ description: inputDocument attributes, type and example $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocument","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputDocumentEmpty.md b/old_docs/API_docs_v66/constructors/inputDocumentEmpty.md index db5f4d84..4ac3ea8b 100644 --- a/old_docs/API_docs_v66/constructors/inputDocumentEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputDocumentEmpty.md @@ -19,6 +19,13 @@ description: inputDocumentEmpty attributes, type and example $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputDocumentFileLocation.md b/old_docs/API_docs_v66/constructors/inputDocumentFileLocation.md index 41e520bb..b13feb4a 100644 --- a/old_docs/API_docs_v66/constructors/inputDocumentFileLocation.md +++ b/old_docs/API_docs_v66/constructors/inputDocumentFileLocation.md @@ -26,6 +26,13 @@ description: inputDocumentFileLocation attributes, type and example $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputDocumentFileLocation","id":"long","access_hash":"long","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputEncryptedChat.md b/old_docs/API_docs_v66/constructors/inputEncryptedChat.md index f04168ed..a0d829f4 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedChat.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedChat.md @@ -25,6 +25,13 @@ description: inputEncryptedChat attributes, type and example $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedChat","chat_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputEncryptedFile.md b/old_docs/API_docs_v66/constructors/inputEncryptedFile.md index 15da7f17..80e50729 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFile.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFile.md @@ -25,6 +25,13 @@ description: inputEncryptedFile attributes, type and example $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFile","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputEncryptedFileBigUploaded.md b/old_docs/API_docs_v66/constructors/inputEncryptedFileBigUploaded.md index bb813e34..65e9dfe6 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFileBigUploaded.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFileBigUploaded.md @@ -26,6 +26,13 @@ description: inputEncryptedFileBigUploaded attributes, type and example $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileBigUploaded","id":"long","parts":"int","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputEncryptedFileEmpty.md b/old_docs/API_docs_v66/constructors/inputEncryptedFileEmpty.md index dffa37b3..a6f3b1b9 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFileEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFileEmpty.md @@ -19,6 +19,13 @@ description: inputEncryptedFileEmpty attributes, type and example $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputEncryptedFileLocation.md b/old_docs/API_docs_v66/constructors/inputEncryptedFileLocation.md index e47645f5..28d31c0b 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFileLocation.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFileLocation.md @@ -25,6 +25,13 @@ description: inputEncryptedFileLocation attributes, type and example $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileLocation","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputEncryptedFileUploaded.md b/old_docs/API_docs_v66/constructors/inputEncryptedFileUploaded.md index 70b61949..3c744bbc 100644 --- a/old_docs/API_docs_v66/constructors/inputEncryptedFileUploaded.md +++ b/old_docs/API_docs_v66/constructors/inputEncryptedFileUploaded.md @@ -27,6 +27,13 @@ description: inputEncryptedFileUploaded attributes, type and example $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputEncryptedFileUploaded","id":"long","parts":"int","md5_checksum":"string","key_fingerprint":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputFile.md b/old_docs/API_docs_v66/constructors/inputFile.md index 281c829d..fbe52c7d 100644 --- a/old_docs/API_docs_v66/constructors/inputFile.md +++ b/old_docs/API_docs_v66/constructors/inputFile.md @@ -27,6 +27,13 @@ description: inputFile attributes, type and example $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFile","id":"long","parts":"int","name":"string","md5_checksum":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputFileBig.md b/old_docs/API_docs_v66/constructors/inputFileBig.md index 9d74e451..7cc07768 100644 --- a/old_docs/API_docs_v66/constructors/inputFileBig.md +++ b/old_docs/API_docs_v66/constructors/inputFileBig.md @@ -26,6 +26,13 @@ description: inputFileBig attributes, type and example $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileBig","id":"long","parts":"int","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputFileLocation.md b/old_docs/API_docs_v66/constructors/inputFileLocation.md index baa0b7dc..b74e5803 100644 --- a/old_docs/API_docs_v66/constructors/inputFileLocation.md +++ b/old_docs/API_docs_v66/constructors/inputFileLocation.md @@ -26,6 +26,13 @@ description: inputFileLocation attributes, type and example $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputFileLocation","volume_id":"long","local_id":"int","secret":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputGameID.md b/old_docs/API_docs_v66/constructors/inputGameID.md index 287e2543..c8ce7efc 100644 --- a/old_docs/API_docs_v66/constructors/inputGameID.md +++ b/old_docs/API_docs_v66/constructors/inputGameID.md @@ -25,6 +25,13 @@ description: inputGameID attributes, type and example $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGameID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputGameShortName.md b/old_docs/API_docs_v66/constructors/inputGameShortName.md index eaad7dd7..82671253 100644 --- a/old_docs/API_docs_v66/constructors/inputGameShortName.md +++ b/old_docs/API_docs_v66/constructors/inputGameShortName.md @@ -25,6 +25,13 @@ description: inputGameShortName attributes, type and example $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGameShortName","bot_id":"InputUser","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputGeoPoint.md b/old_docs/API_docs_v66/constructors/inputGeoPoint.md index e28d6b1a..fe3c7ba7 100644 --- a/old_docs/API_docs_v66/constructors/inputGeoPoint.md +++ b/old_docs/API_docs_v66/constructors/inputGeoPoint.md @@ -25,6 +25,13 @@ description: inputGeoPoint attributes, type and example $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPoint","lat":"double","long":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputGeoPointEmpty.md b/old_docs/API_docs_v66/constructors/inputGeoPointEmpty.md index 76a458dd..dabd759c 100644 --- a/old_docs/API_docs_v66/constructors/inputGeoPointEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputGeoPointEmpty.md @@ -19,6 +19,13 @@ description: inputGeoPointEmpty attributes, type and example $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputGeoPointEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaContact.md b/old_docs/API_docs_v66/constructors/inputMediaContact.md index 2c028355..9ef083f4 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaContact.md +++ b/old_docs/API_docs_v66/constructors/inputMediaContact.md @@ -26,6 +26,13 @@ description: inputMediaContact attributes, type and example $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaContact","phone_number":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaDocument.md b/old_docs/API_docs_v66/constructors/inputMediaDocument.md index 1959cc4e..89ef5bdc 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaDocument.md +++ b/old_docs/API_docs_v66/constructors/inputMediaDocument.md @@ -25,6 +25,13 @@ description: inputMediaDocument attributes, type and example $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocument","id":"InputDocument","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaDocumentExternal.md b/old_docs/API_docs_v66/constructors/inputMediaDocumentExternal.md index a56856ec..df91c315 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaDocumentExternal.md +++ b/old_docs/API_docs_v66/constructors/inputMediaDocumentExternal.md @@ -25,6 +25,13 @@ description: inputMediaDocumentExternal attributes, type and example $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaDocumentExternal","url":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaEmpty.md b/old_docs/API_docs_v66/constructors/inputMediaEmpty.md index e0252d56..64682a7f 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputMediaEmpty.md @@ -19,6 +19,13 @@ description: inputMediaEmpty attributes, type and example $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaGame.md b/old_docs/API_docs_v66/constructors/inputMediaGame.md index 91b7bc9a..399f03c0 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaGame.md +++ b/old_docs/API_docs_v66/constructors/inputMediaGame.md @@ -24,6 +24,13 @@ description: inputMediaGame attributes, type and example $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGame","id":"InputGame"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaGeoPoint.md b/old_docs/API_docs_v66/constructors/inputMediaGeoPoint.md index c6b002a0..4e0d234c 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaGeoPoint.md +++ b/old_docs/API_docs_v66/constructors/inputMediaGeoPoint.md @@ -24,6 +24,13 @@ description: inputMediaGeoPoint attributes, type and example $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGeoPoint","geo_point":"InputGeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaGifExternal.md b/old_docs/API_docs_v66/constructors/inputMediaGifExternal.md index af227d69..284e3cdd 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaGifExternal.md +++ b/old_docs/API_docs_v66/constructors/inputMediaGifExternal.md @@ -25,6 +25,13 @@ description: inputMediaGifExternal attributes, type and example $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaGifExternal","url":"string","q":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaInvoice.md b/old_docs/API_docs_v66/constructors/inputMediaInvoice.md index c63e1547..6c5c6baf 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaInvoice.md +++ b/old_docs/API_docs_v66/constructors/inputMediaInvoice.md @@ -30,6 +30,13 @@ description: inputMediaInvoice attributes, type and example $inputMediaInvoice = ['_' => 'inputMediaInvoice', 'title' => string, 'description' => string, 'photo' => InputWebDocument, 'invoice' => Invoice, 'payload' => bytes, 'provider' => string, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaInvoice","title":"string","description":"string","photo":"InputWebDocument","invoice":"Invoice","payload":"bytes","provider":"string","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaPhoto.md b/old_docs/API_docs_v66/constructors/inputMediaPhoto.md index 819f929c..20258c1a 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputMediaPhoto.md @@ -25,6 +25,13 @@ description: inputMediaPhoto attributes, type and example $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhoto","id":"InputPhoto","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaPhotoExternal.md b/old_docs/API_docs_v66/constructors/inputMediaPhotoExternal.md index b8115970..b50c9771 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaPhotoExternal.md +++ b/old_docs/API_docs_v66/constructors/inputMediaPhotoExternal.md @@ -25,6 +25,13 @@ description: inputMediaPhotoExternal attributes, type and example $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => string, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaPhotoExternal","url":"string","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaUploadedDocument.md b/old_docs/API_docs_v66/constructors/inputMediaUploadedDocument.md index 7a74f1d6..f88ff5f0 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaUploadedDocument.md +++ b/old_docs/API_docs_v66/constructors/inputMediaUploadedDocument.md @@ -28,6 +28,13 @@ description: inputMediaUploadedDocument attributes, type and example $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedDocument","file":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaUploadedPhoto.md b/old_docs/API_docs_v66/constructors/inputMediaUploadedPhoto.md index 338e998b..ee07669d 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaUploadedPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputMediaUploadedPhoto.md @@ -26,6 +26,13 @@ description: inputMediaUploadedPhoto attributes, type and example $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedPhoto","file":"InputFile","caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaUploadedThumbDocument.md b/old_docs/API_docs_v66/constructors/inputMediaUploadedThumbDocument.md index 2e08e76d..fcbbab79 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaUploadedThumbDocument.md +++ b/old_docs/API_docs_v66/constructors/inputMediaUploadedThumbDocument.md @@ -29,6 +29,13 @@ description: inputMediaUploadedThumbDocument attributes, type and example $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'caption' => string, 'stickers' => [InputDocument], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaUploadedThumbDocument","file":"InputFile","thumb":"InputFile","mime_type":"string","attributes":["DocumentAttribute"],"caption":"string","stickers":["InputDocument"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMediaVenue.md b/old_docs/API_docs_v66/constructors/inputMediaVenue.md index c77325a1..34205a69 100644 --- a/old_docs/API_docs_v66/constructors/inputMediaVenue.md +++ b/old_docs/API_docs_v66/constructors/inputMediaVenue.md @@ -28,6 +28,13 @@ description: inputMediaVenue attributes, type and example $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMediaVenue","geo_point":"InputGeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessageEntityMentionName.md b/old_docs/API_docs_v66/constructors/inputMessageEntityMentionName.md index ba7132d5..9465bf2b 100644 --- a/old_docs/API_docs_v66/constructors/inputMessageEntityMentionName.md +++ b/old_docs/API_docs_v66/constructors/inputMessageEntityMentionName.md @@ -26,6 +26,13 @@ description: inputMessageEntityMentionName attributes, type and example $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessageEntityMentionName","offset":"int","length":"int","user_id":"InputUser"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterChatPhotos.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterChatPhotos.md index 06e4b6ed..7a78f5c4 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterChatPhotos.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterChatPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterChatPhotos attributes, type and example $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterChatPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterDocument.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterDocument.md index 382611ae..67c32521 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterDocument.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterDocument.md @@ -19,6 +19,13 @@ description: inputMessagesFilterDocument attributes, type and example $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterEmpty.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterEmpty.md index ce464663..80c30d8f 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterEmpty.md @@ -19,6 +19,13 @@ description: inputMessagesFilterEmpty attributes, type and example $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterGif.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterGif.md index 02da8091..31be8767 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterGif.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterGif.md @@ -19,6 +19,13 @@ description: inputMessagesFilterGif attributes, type and example $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterMusic.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterMusic.md index 2b211ca0..99111007 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterMusic.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterMusic.md @@ -19,6 +19,13 @@ description: inputMessagesFilterMusic attributes, type and example $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterMusic"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhoneCalls.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhoneCalls.md index e9193dc8..70531f22 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhoneCalls.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhoneCalls.md @@ -24,6 +24,13 @@ description: inputMessagesFilterPhoneCalls attributes, type and example $inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhoneCalls","missed":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideo.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideo.md index 6ab8dd77..6b7c16d3 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideo.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideo attributes, type and example $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideoDocuments.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideoDocuments.md index 855efce0..2c2839c0 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotoVideoDocuments"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotos.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotos.md index 7e59ad4a..c492390e 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotos.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterPhotos.md @@ -19,6 +19,13 @@ description: inputMessagesFilterPhotos attributes, type and example $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterPhotos"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVideo.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVideo.md index f1a7404c..ff055dc6 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVideo.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterRoundVideo attributes, type and example $inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterRoundVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVoice.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVoice.md index 5952ee1b..c848bedf 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVoice.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterRoundVoice.md @@ -19,6 +19,13 @@ description: inputMessagesFilterRoundVoice attributes, type and example $inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterRoundVoice"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterUrl.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterUrl.md index 9437a92e..480e8696 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterUrl.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterUrl.md @@ -19,6 +19,13 @@ description: inputMessagesFilterUrl attributes, type and example $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterUrl"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterVideo.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterVideo.md index 2b363ab9..64757673 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterVideo.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterVideo.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVideo attributes, type and example $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVideo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputMessagesFilterVoice.md b/old_docs/API_docs_v66/constructors/inputMessagesFilterVoice.md index 1318e465..f111a3df 100644 --- a/old_docs/API_docs_v66/constructors/inputMessagesFilterVoice.md +++ b/old_docs/API_docs_v66/constructors/inputMessagesFilterVoice.md @@ -19,6 +19,13 @@ description: inputMessagesFilterVoice attributes, type and example $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputMessagesFilterVoice"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputNotifyAll.md b/old_docs/API_docs_v66/constructors/inputNotifyAll.md index 7f633eda..966dec50 100644 --- a/old_docs/API_docs_v66/constructors/inputNotifyAll.md +++ b/old_docs/API_docs_v66/constructors/inputNotifyAll.md @@ -19,6 +19,13 @@ description: inputNotifyAll attributes, type and example $inputNotifyAll = ['_' => 'inputNotifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputNotifyChats.md b/old_docs/API_docs_v66/constructors/inputNotifyChats.md index f3f3de28..ee1406c9 100644 --- a/old_docs/API_docs_v66/constructors/inputNotifyChats.md +++ b/old_docs/API_docs_v66/constructors/inputNotifyChats.md @@ -19,6 +19,13 @@ description: inputNotifyChats attributes, type and example $inputNotifyChats = ['_' => 'inputNotifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputNotifyPeer.md b/old_docs/API_docs_v66/constructors/inputNotifyPeer.md index 5db2d649..bb64b785 100644 --- a/old_docs/API_docs_v66/constructors/inputNotifyPeer.md +++ b/old_docs/API_docs_v66/constructors/inputNotifyPeer.md @@ -24,6 +24,13 @@ description: inputNotifyPeer attributes, type and example $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyPeer","peer":"InputPeer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputNotifyUsers.md b/old_docs/API_docs_v66/constructors/inputNotifyUsers.md index ca9f23bf..fdfd2081 100644 --- a/old_docs/API_docs_v66/constructors/inputNotifyUsers.md +++ b/old_docs/API_docs_v66/constructors/inputNotifyUsers.md @@ -19,6 +19,13 @@ description: inputNotifyUsers attributes, type and example $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputNotifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPaymentCredentials.md b/old_docs/API_docs_v66/constructors/inputPaymentCredentials.md index af621e44..03d99d63 100644 --- a/old_docs/API_docs_v66/constructors/inputPaymentCredentials.md +++ b/old_docs/API_docs_v66/constructors/inputPaymentCredentials.md @@ -25,6 +25,13 @@ description: inputPaymentCredentials attributes, type and example $inputPaymentCredentials = ['_' => 'inputPaymentCredentials', 'save' => Bool, 'data' => DataJSON, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPaymentCredentials","save":"Bool","data":"DataJSON"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPaymentCredentialsSaved.md b/old_docs/API_docs_v66/constructors/inputPaymentCredentialsSaved.md index 74c6ea9b..d3117a9d 100644 --- a/old_docs/API_docs_v66/constructors/inputPaymentCredentialsSaved.md +++ b/old_docs/API_docs_v66/constructors/inputPaymentCredentialsSaved.md @@ -25,6 +25,13 @@ description: inputPaymentCredentialsSaved attributes, type and example $inputPaymentCredentialsSaved = ['_' => 'inputPaymentCredentialsSaved', 'id' => string, 'tmp_password' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPaymentCredentialsSaved","id":"string","tmp_password":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPeerChannel.md b/old_docs/API_docs_v66/constructors/inputPeerChannel.md index 5d17d6d5..f2ff3499 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerChannel.md +++ b/old_docs/API_docs_v66/constructors/inputPeerChannel.md @@ -25,6 +25,13 @@ description: inputPeerChannel attributes, type and example $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChannel","channel_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPeerChat.md b/old_docs/API_docs_v66/constructors/inputPeerChat.md index b5820605..e7dda1bf 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerChat.md +++ b/old_docs/API_docs_v66/constructors/inputPeerChat.md @@ -24,6 +24,13 @@ description: inputPeerChat attributes, type and example $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPeerEmpty.md b/old_docs/API_docs_v66/constructors/inputPeerEmpty.md index 49716134..7102f0dd 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputPeerEmpty.md @@ -19,6 +19,13 @@ description: inputPeerEmpty attributes, type and example $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsAll.md b/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsAll.md index 80f1bdc7..bbc115c8 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsAll.md +++ b/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsAll attributes, type and example $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsEmpty.md b/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsEmpty.md index 5493e87e..7f45290c 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputPeerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: inputPeerNotifyEventsEmpty attributes, type and example $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v66/constructors/inputPeerNotifySettings.md index d8db7388..6676a2f6 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v66/constructors/inputPeerNotifySettings.md @@ -27,6 +27,13 @@ description: inputPeerNotifySettings attributes, type and example $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPeerSelf.md b/old_docs/API_docs_v66/constructors/inputPeerSelf.md index 906f09f1..e143a4fb 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerSelf.md +++ b/old_docs/API_docs_v66/constructors/inputPeerSelf.md @@ -19,6 +19,13 @@ description: inputPeerSelf attributes, type and example $inputPeerSelf = ['_' => 'inputPeerSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPeerUser.md b/old_docs/API_docs_v66/constructors/inputPeerUser.md index 75f0adfa..e4b59d5b 100644 --- a/old_docs/API_docs_v66/constructors/inputPeerUser.md +++ b/old_docs/API_docs_v66/constructors/inputPeerUser.md @@ -25,6 +25,13 @@ description: inputPeerUser attributes, type and example $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPeerUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPhoneCall.md b/old_docs/API_docs_v66/constructors/inputPhoneCall.md index 6f2c73f5..f9099021 100644 --- a/old_docs/API_docs_v66/constructors/inputPhoneCall.md +++ b/old_docs/API_docs_v66/constructors/inputPhoneCall.md @@ -25,6 +25,13 @@ description: inputPhoneCall attributes, type and example $inputPhoneCall = ['_' => 'inputPhoneCall', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneCall","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPhoneContact.md b/old_docs/API_docs_v66/constructors/inputPhoneContact.md index 9431033f..7efc68e0 100644 --- a/old_docs/API_docs_v66/constructors/inputPhoneContact.md +++ b/old_docs/API_docs_v66/constructors/inputPhoneContact.md @@ -27,6 +27,13 @@ description: inputPhoneContact attributes, type and example $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoneContact","client_id":"long","phone":"string","first_name":"string","last_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPhoto.md b/old_docs/API_docs_v66/constructors/inputPhoto.md index f04d733d..b3b4d194 100644 --- a/old_docs/API_docs_v66/constructors/inputPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputPhoto.md @@ -25,6 +25,13 @@ description: inputPhoto attributes, type and example $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhoto","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPhotoEmpty.md b/old_docs/API_docs_v66/constructors/inputPhotoEmpty.md index 3b4d6ae3..d07f1a65 100644 --- a/old_docs/API_docs_v66/constructors/inputPhotoEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputPhotoEmpty.md @@ -19,6 +19,13 @@ description: inputPhotoEmpty attributes, type and example $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyKeyChatInvite.md b/old_docs/API_docs_v66/constructors/inputPrivacyKeyChatInvite.md index 43210930..293e876d 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyKeyChatInvite.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyChatInvite attributes, type and example $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyKeyPhoneCall.md b/old_docs/API_docs_v66/constructors/inputPrivacyKeyPhoneCall.md index fdfe3360..ba97f5df 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyKeyPhoneCall.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyKeyPhoneCall.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyPhoneCall attributes, type and example $inputPrivacyKeyPhoneCall = ['_' => 'inputPrivacyKeyPhoneCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyPhoneCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyKeyStatusTimestamp.md b/old_docs/API_docs_v66/constructors/inputPrivacyKeyStatusTimestamp.md index e6c033be..799f1c4c 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowAll.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowAll.md index 31b018f5..6cd823cd 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowAll.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowAll attributes, type and example $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowContacts.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowContacts.md index 507888a3..bdd6cfc5 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowContacts.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueAllowContacts attributes, type and example $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowUsers.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowUsers.md index 34eabc0c..4b5d133b 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowUsers.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueAllowUsers attributes, type and example $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueAllowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowAll.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowAll.md index 2a8b965d..1b372052 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowAll.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowAll attributes, type and example $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowContacts.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowContacts.md index ed089416..03f48f3c 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowContacts.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: inputPrivacyValueDisallowContacts attributes, type and example $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowUsers.md b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowUsers.md index 51e8fe37..86e7c216 100644 --- a/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowUsers.md +++ b/old_docs/API_docs_v66/constructors/inputPrivacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: inputPrivacyValueDisallowUsers attributes, type and example $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [InputUser], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputPrivacyValueDisallowUsers","users":["InputUser"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputReportReasonOther.md b/old_docs/API_docs_v66/constructors/inputReportReasonOther.md index 547711c4..ffd351a0 100644 --- a/old_docs/API_docs_v66/constructors/inputReportReasonOther.md +++ b/old_docs/API_docs_v66/constructors/inputReportReasonOther.md @@ -24,6 +24,13 @@ description: inputReportReasonOther attributes, type and example $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonOther","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputReportReasonPornography.md b/old_docs/API_docs_v66/constructors/inputReportReasonPornography.md index f73c6f4d..866d691c 100644 --- a/old_docs/API_docs_v66/constructors/inputReportReasonPornography.md +++ b/old_docs/API_docs_v66/constructors/inputReportReasonPornography.md @@ -19,6 +19,13 @@ description: inputReportReasonPornography attributes, type and example $inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonPornography"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputReportReasonSpam.md b/old_docs/API_docs_v66/constructors/inputReportReasonSpam.md index ea2a9257..4cf6f414 100644 --- a/old_docs/API_docs_v66/constructors/inputReportReasonSpam.md +++ b/old_docs/API_docs_v66/constructors/inputReportReasonSpam.md @@ -19,6 +19,13 @@ description: inputReportReasonSpam attributes, type and example $inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonSpam"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputReportReasonViolence.md b/old_docs/API_docs_v66/constructors/inputReportReasonViolence.md index 18a2ba4c..f2046d6e 100644 --- a/old_docs/API_docs_v66/constructors/inputReportReasonViolence.md +++ b/old_docs/API_docs_v66/constructors/inputReportReasonViolence.md @@ -19,6 +19,13 @@ description: inputReportReasonViolence attributes, type and example $inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputReportReasonViolence"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputStickerSetEmpty.md b/old_docs/API_docs_v66/constructors/inputStickerSetEmpty.md index e99e3da0..da14d6d0 100644 --- a/old_docs/API_docs_v66/constructors/inputStickerSetEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputStickerSetEmpty.md @@ -19,6 +19,13 @@ description: inputStickerSetEmpty attributes, type and example $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputStickerSetID.md b/old_docs/API_docs_v66/constructors/inputStickerSetID.md index 088bd7fe..bf8beae6 100644 --- a/old_docs/API_docs_v66/constructors/inputStickerSetID.md +++ b/old_docs/API_docs_v66/constructors/inputStickerSetID.md @@ -25,6 +25,13 @@ description: inputStickerSetID attributes, type and example $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetID","id":"long","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputStickerSetShortName.md b/old_docs/API_docs_v66/constructors/inputStickerSetShortName.md index f3c5434e..b34bcbb7 100644 --- a/old_docs/API_docs_v66/constructors/inputStickerSetShortName.md +++ b/old_docs/API_docs_v66/constructors/inputStickerSetShortName.md @@ -24,6 +24,13 @@ description: inputStickerSetShortName attributes, type and example $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickerSetShortName","short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputStickeredMediaDocument.md b/old_docs/API_docs_v66/constructors/inputStickeredMediaDocument.md index 59ce4e3e..e7a64e8c 100644 --- a/old_docs/API_docs_v66/constructors/inputStickeredMediaDocument.md +++ b/old_docs/API_docs_v66/constructors/inputStickeredMediaDocument.md @@ -24,6 +24,13 @@ description: inputStickeredMediaDocument attributes, type and example $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickeredMediaDocument","id":"InputDocument"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputStickeredMediaPhoto.md b/old_docs/API_docs_v66/constructors/inputStickeredMediaPhoto.md index e48fb0e3..d909033a 100644 --- a/old_docs/API_docs_v66/constructors/inputStickeredMediaPhoto.md +++ b/old_docs/API_docs_v66/constructors/inputStickeredMediaPhoto.md @@ -24,6 +24,13 @@ description: inputStickeredMediaPhoto attributes, type and example $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputStickeredMediaPhoto","id":"InputPhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputUser.md b/old_docs/API_docs_v66/constructors/inputUser.md index 75444b15..b1fc7046 100644 --- a/old_docs/API_docs_v66/constructors/inputUser.md +++ b/old_docs/API_docs_v66/constructors/inputUser.md @@ -25,6 +25,13 @@ description: inputUser attributes, type and example $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUser","user_id":"int","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputUserEmpty.md b/old_docs/API_docs_v66/constructors/inputUserEmpty.md index 2ccdc606..6135dc45 100644 --- a/old_docs/API_docs_v66/constructors/inputUserEmpty.md +++ b/old_docs/API_docs_v66/constructors/inputUserEmpty.md @@ -19,6 +19,13 @@ description: inputUserEmpty attributes, type and example $inputUserEmpty = ['_' => 'inputUserEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputUserSelf.md b/old_docs/API_docs_v66/constructors/inputUserSelf.md index ec5e805e..b57fe677 100644 --- a/old_docs/API_docs_v66/constructors/inputUserSelf.md +++ b/old_docs/API_docs_v66/constructors/inputUserSelf.md @@ -19,6 +19,13 @@ description: inputUserSelf attributes, type and example $inputUserSelf = ['_' => 'inputUserSelf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputUserSelf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputWebDocument.md b/old_docs/API_docs_v66/constructors/inputWebDocument.md index cd28894d..c6d30018 100644 --- a/old_docs/API_docs_v66/constructors/inputWebDocument.md +++ b/old_docs/API_docs_v66/constructors/inputWebDocument.md @@ -27,6 +27,13 @@ description: inputWebDocument attributes, type and example $inputWebDocument = ['_' => 'inputWebDocument', 'url' => string, 'size' => int, 'mime_type' => string, 'attributes' => [DocumentAttribute], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputWebDocument","url":"string","size":"int","mime_type":"string","attributes":["DocumentAttribute"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/inputWebFileLocation.md b/old_docs/API_docs_v66/constructors/inputWebFileLocation.md index e39ab6ac..dd65c97c 100644 --- a/old_docs/API_docs_v66/constructors/inputWebFileLocation.md +++ b/old_docs/API_docs_v66/constructors/inputWebFileLocation.md @@ -25,6 +25,13 @@ description: inputWebFileLocation attributes, type and example $inputWebFileLocation = ['_' => 'inputWebFileLocation', 'url' => string, 'access_hash' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"inputWebFileLocation","url":"string","access_hash":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/invoice.md b/old_docs/API_docs_v66/constructors/invoice.md index ce219681..594738d0 100644 --- a/old_docs/API_docs_v66/constructors/invoice.md +++ b/old_docs/API_docs_v66/constructors/invoice.md @@ -31,6 +31,13 @@ description: invoice attributes, type and example $invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'currency' => string, 'prices' => [LabeledPrice], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"invoice","test":"Bool","name_requested":"Bool","phone_requested":"Bool","email_requested":"Bool","shipping_address_requested":"Bool","flexible":"Bool","currency":"string","prices":["LabeledPrice"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/keyboardButton.md b/old_docs/API_docs_v66/constructors/keyboardButton.md index ffa31c66..d6057da4 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButton.md +++ b/old_docs/API_docs_v66/constructors/keyboardButton.md @@ -24,6 +24,13 @@ description: keyboardButton attributes, type and example $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButton","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonBuy.md b/old_docs/API_docs_v66/constructors/keyboardButtonBuy.md index 6076d602..a01c257c 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonBuy.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonBuy.md @@ -24,6 +24,13 @@ description: keyboardButtonBuy attributes, type and example $keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonBuy","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonCallback.md b/old_docs/API_docs_v66/constructors/keyboardButtonCallback.md index 1fe8571c..27bc68b8 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonCallback.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonCallback.md @@ -25,6 +25,13 @@ description: keyboardButtonCallback attributes, type and example $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonCallback","text":"string","data":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonGame.md b/old_docs/API_docs_v66/constructors/keyboardButtonGame.md index 170831e1..a8569aed 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonGame.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonGame.md @@ -24,6 +24,13 @@ description: keyboardButtonGame attributes, type and example $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonGame","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonRequestGeoLocation.md b/old_docs/API_docs_v66/constructors/keyboardButtonRequestGeoLocation.md index 05cfd3cb..38cdc756 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonRequestGeoLocation.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonRequestGeoLocation.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestGeoLocation attributes, type and example $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestGeoLocation","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonRequestPhone.md b/old_docs/API_docs_v66/constructors/keyboardButtonRequestPhone.md index cbff4adb..9c76c330 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonRequestPhone.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonRequestPhone.md @@ -24,6 +24,13 @@ description: keyboardButtonRequestPhone attributes, type and example $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRequestPhone","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonRow.md b/old_docs/API_docs_v66/constructors/keyboardButtonRow.md index febe977c..cc887b1b 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonRow.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonRow.md @@ -24,6 +24,13 @@ description: keyboardButtonRow attributes, type and example $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonRow","buttons":["KeyboardButton"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v66/constructors/keyboardButtonSwitchInline.md index d93e0087..76688727 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonSwitchInline.md @@ -26,6 +26,13 @@ description: keyboardButtonSwitchInline attributes, type and example $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => string, 'query' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonSwitchInline","same_peer":"Bool","text":"string","query":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/keyboardButtonUrl.md b/old_docs/API_docs_v66/constructors/keyboardButtonUrl.md index a6411824..bf60dc2a 100644 --- a/old_docs/API_docs_v66/constructors/keyboardButtonUrl.md +++ b/old_docs/API_docs_v66/constructors/keyboardButtonUrl.md @@ -25,6 +25,13 @@ description: keyboardButtonUrl attributes, type and example $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"keyboardButtonUrl","text":"string","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/labeledPrice.md b/old_docs/API_docs_v66/constructors/labeledPrice.md index 7b4a1da4..0849bba2 100644 --- a/old_docs/API_docs_v66/constructors/labeledPrice.md +++ b/old_docs/API_docs_v66/constructors/labeledPrice.md @@ -25,6 +25,13 @@ description: labeledPrice attributes, type and example $labeledPrice = ['_' => 'labeledPrice', 'label' => string, 'amount' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"labeledPrice","label":"string","amount":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/maskCoords.md b/old_docs/API_docs_v66/constructors/maskCoords.md index a0779629..72c25c0e 100644 --- a/old_docs/API_docs_v66/constructors/maskCoords.md +++ b/old_docs/API_docs_v66/constructors/maskCoords.md @@ -27,6 +27,13 @@ description: maskCoords attributes, type and example $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"maskCoords","n":"int","x":"double","y":"double","zoom":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/message.md b/old_docs/API_docs_v66/constructors/message.md index 135401c5..cce1fc65 100644 --- a/old_docs/API_docs_v66/constructors/message.md +++ b/old_docs/API_docs_v66/constructors/message.md @@ -41,6 +41,13 @@ description: message attributes, type and example $message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, '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' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"message","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","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":["MessageEntity"],"views":"int","edit_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionChannelCreate.md b/old_docs/API_docs_v66/constructors/messageActionChannelCreate.md index 42a87538..444be550 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChannelCreate.md +++ b/old_docs/API_docs_v66/constructors/messageActionChannelCreate.md @@ -24,6 +24,13 @@ description: messageActionChannelCreate attributes, type and example $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelCreate","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionChannelMigrateFrom.md b/old_docs/API_docs_v66/constructors/messageActionChannelMigrateFrom.md index d15c0bf3..b63de131 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChannelMigrateFrom.md +++ b/old_docs/API_docs_v66/constructors/messageActionChannelMigrateFrom.md @@ -25,6 +25,13 @@ description: messageActionChannelMigrateFrom attributes, type and example $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChannelMigrateFrom","title":"string","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionChatAddUser.md b/old_docs/API_docs_v66/constructors/messageActionChatAddUser.md index 135e16de..5edc7d3b 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatAddUser.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatAddUser.md @@ -24,6 +24,13 @@ description: messageActionChatAddUser attributes, type and example $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatAddUser","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionChatCreate.md b/old_docs/API_docs_v66/constructors/messageActionChatCreate.md index cd3cb420..ff161bb5 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatCreate.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatCreate.md @@ -25,6 +25,13 @@ description: messageActionChatCreate attributes, type and example $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatCreate","title":"string","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionChatDeletePhoto.md b/old_docs/API_docs_v66/constructors/messageActionChatDeletePhoto.md index f9511de3..f02942ea 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatDeletePhoto.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatDeletePhoto.md @@ -19,6 +19,13 @@ description: messageActionChatDeletePhoto attributes, type and example $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeletePhoto"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionChatDeleteUser.md b/old_docs/API_docs_v66/constructors/messageActionChatDeleteUser.md index 790024f3..752f9a1d 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatDeleteUser.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatDeleteUser.md @@ -24,6 +24,13 @@ description: messageActionChatDeleteUser attributes, type and example $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatDeleteUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionChatEditPhoto.md b/old_docs/API_docs_v66/constructors/messageActionChatEditPhoto.md index 4e77eb37..f69ef02a 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatEditPhoto.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatEditPhoto.md @@ -24,6 +24,13 @@ description: messageActionChatEditPhoto attributes, type and example $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditPhoto","photo":"Photo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionChatEditTitle.md b/old_docs/API_docs_v66/constructors/messageActionChatEditTitle.md index bba73a29..3b955363 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatEditTitle.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatEditTitle.md @@ -24,6 +24,13 @@ description: messageActionChatEditTitle attributes, type and example $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatEditTitle","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionChatJoinedByLink.md b/old_docs/API_docs_v66/constructors/messageActionChatJoinedByLink.md index f536f643..92ac7146 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatJoinedByLink.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatJoinedByLink.md @@ -24,6 +24,13 @@ description: messageActionChatJoinedByLink attributes, type and example $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatJoinedByLink","inviter_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionChatMigrateTo.md b/old_docs/API_docs_v66/constructors/messageActionChatMigrateTo.md index fda20a24..7214d295 100644 --- a/old_docs/API_docs_v66/constructors/messageActionChatMigrateTo.md +++ b/old_docs/API_docs_v66/constructors/messageActionChatMigrateTo.md @@ -24,6 +24,13 @@ description: messageActionChatMigrateTo attributes, type and example $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionChatMigrateTo","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionEmpty.md b/old_docs/API_docs_v66/constructors/messageActionEmpty.md index fb3254c8..63d377cf 100644 --- a/old_docs/API_docs_v66/constructors/messageActionEmpty.md +++ b/old_docs/API_docs_v66/constructors/messageActionEmpty.md @@ -19,6 +19,13 @@ description: messageActionEmpty attributes, type and example $messageActionEmpty = ['_' => 'messageActionEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionGameScore.md b/old_docs/API_docs_v66/constructors/messageActionGameScore.md index b94e0cf5..0f498dab 100644 --- a/old_docs/API_docs_v66/constructors/messageActionGameScore.md +++ b/old_docs/API_docs_v66/constructors/messageActionGameScore.md @@ -25,6 +25,13 @@ description: messageActionGameScore attributes, type and example $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionGameScore","game_id":"long","score":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionHistoryClear.md b/old_docs/API_docs_v66/constructors/messageActionHistoryClear.md index 02160753..d576d087 100644 --- a/old_docs/API_docs_v66/constructors/messageActionHistoryClear.md +++ b/old_docs/API_docs_v66/constructors/messageActionHistoryClear.md @@ -19,6 +19,13 @@ description: messageActionHistoryClear attributes, type and example $messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionHistoryClear"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionPaymentSent.md b/old_docs/API_docs_v66/constructors/messageActionPaymentSent.md index 1b864185..d926846a 100644 --- a/old_docs/API_docs_v66/constructors/messageActionPaymentSent.md +++ b/old_docs/API_docs_v66/constructors/messageActionPaymentSent.md @@ -25,6 +25,13 @@ description: messageActionPaymentSent attributes, type and example $messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => string, 'total_amount' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPaymentSent","currency":"string","total_amount":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionPaymentSentMe.md b/old_docs/API_docs_v66/constructors/messageActionPaymentSentMe.md index b13bdf41..32e5b4ae 100644 --- a/old_docs/API_docs_v66/constructors/messageActionPaymentSentMe.md +++ b/old_docs/API_docs_v66/constructors/messageActionPaymentSentMe.md @@ -29,6 +29,13 @@ description: messageActionPaymentSentMe attributes, type and example $messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => string, 'total_amount' => long, 'payload' => bytes, 'info' => PaymentRequestedInfo, 'shipping_option_id' => string, 'charge' => PaymentCharge, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPaymentSentMe","currency":"string","total_amount":"long","payload":"bytes","info":"PaymentRequestedInfo","shipping_option_id":"string","charge":"PaymentCharge"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionPhoneCall.md b/old_docs/API_docs_v66/constructors/messageActionPhoneCall.md index ca360e23..6eed4cd3 100644 --- a/old_docs/API_docs_v66/constructors/messageActionPhoneCall.md +++ b/old_docs/API_docs_v66/constructors/messageActionPhoneCall.md @@ -26,6 +26,13 @@ description: messageActionPhoneCall attributes, type and example $messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPhoneCall","call_id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageActionPinMessage.md b/old_docs/API_docs_v66/constructors/messageActionPinMessage.md index 05443bcc..c8595522 100644 --- a/old_docs/API_docs_v66/constructors/messageActionPinMessage.md +++ b/old_docs/API_docs_v66/constructors/messageActionPinMessage.md @@ -19,6 +19,13 @@ description: messageActionPinMessage attributes, type and example $messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageActionPinMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageEmpty.md b/old_docs/API_docs_v66/constructors/messageEmpty.md index 2a350fb7..d6510f3f 100644 --- a/old_docs/API_docs_v66/constructors/messageEmpty.md +++ b/old_docs/API_docs_v66/constructors/messageEmpty.md @@ -24,6 +24,13 @@ description: messageEmpty attributes, type and example $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageEntityBold.md b/old_docs/API_docs_v66/constructors/messageEntityBold.md index 97a5c661..589b142e 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityBold.md +++ b/old_docs/API_docs_v66/constructors/messageEntityBold.md @@ -25,6 +25,13 @@ description: messageEntityBold attributes, type and example $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBold","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageEntityBotCommand.md b/old_docs/API_docs_v66/constructors/messageEntityBotCommand.md index 46af8f67..0cfb8264 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityBotCommand.md +++ b/old_docs/API_docs_v66/constructors/messageEntityBotCommand.md @@ -25,6 +25,13 @@ description: messageEntityBotCommand attributes, type and example $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityBotCommand","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageEntityCode.md b/old_docs/API_docs_v66/constructors/messageEntityCode.md index 603a18f2..511b5e17 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityCode.md +++ b/old_docs/API_docs_v66/constructors/messageEntityCode.md @@ -25,6 +25,13 @@ description: messageEntityCode attributes, type and example $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityCode","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageEntityEmail.md b/old_docs/API_docs_v66/constructors/messageEntityEmail.md index b7c1800a..31a63b9c 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityEmail.md +++ b/old_docs/API_docs_v66/constructors/messageEntityEmail.md @@ -25,6 +25,13 @@ description: messageEntityEmail attributes, type and example $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityEmail","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageEntityHashtag.md b/old_docs/API_docs_v66/constructors/messageEntityHashtag.md index 8d871e2c..fad76a9e 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityHashtag.md +++ b/old_docs/API_docs_v66/constructors/messageEntityHashtag.md @@ -25,6 +25,13 @@ description: messageEntityHashtag attributes, type and example $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityHashtag","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageEntityItalic.md b/old_docs/API_docs_v66/constructors/messageEntityItalic.md index a0351996..e0d6ef45 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityItalic.md +++ b/old_docs/API_docs_v66/constructors/messageEntityItalic.md @@ -25,6 +25,13 @@ description: messageEntityItalic attributes, type and example $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityItalic","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageEntityMention.md b/old_docs/API_docs_v66/constructors/messageEntityMention.md index 4ca567a1..16482de1 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityMention.md +++ b/old_docs/API_docs_v66/constructors/messageEntityMention.md @@ -25,6 +25,13 @@ description: messageEntityMention attributes, type and example $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMention","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageEntityMentionName.md b/old_docs/API_docs_v66/constructors/messageEntityMentionName.md index 7d3947db..2eb6439b 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityMentionName.md +++ b/old_docs/API_docs_v66/constructors/messageEntityMentionName.md @@ -26,6 +26,13 @@ description: messageEntityMentionName attributes, type and example $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityMentionName","offset":"int","length":"int","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageEntityPre.md b/old_docs/API_docs_v66/constructors/messageEntityPre.md index 77d8863c..18181198 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityPre.md +++ b/old_docs/API_docs_v66/constructors/messageEntityPre.md @@ -26,6 +26,13 @@ description: messageEntityPre attributes, type and example $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityPre","offset":"int","length":"int","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageEntityTextUrl.md b/old_docs/API_docs_v66/constructors/messageEntityTextUrl.md index d7d7bbad..9b27cc54 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityTextUrl.md +++ b/old_docs/API_docs_v66/constructors/messageEntityTextUrl.md @@ -26,6 +26,13 @@ description: messageEntityTextUrl attributes, type and example $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityTextUrl","offset":"int","length":"int","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageEntityUnknown.md b/old_docs/API_docs_v66/constructors/messageEntityUnknown.md index b9b2242f..b922c567 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityUnknown.md +++ b/old_docs/API_docs_v66/constructors/messageEntityUnknown.md @@ -25,6 +25,13 @@ description: messageEntityUnknown attributes, type and example $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUnknown","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageEntityUrl.md b/old_docs/API_docs_v66/constructors/messageEntityUrl.md index de4e36e1..93adb08c 100644 --- a/old_docs/API_docs_v66/constructors/messageEntityUrl.md +++ b/old_docs/API_docs_v66/constructors/messageEntityUrl.md @@ -25,6 +25,13 @@ description: messageEntityUrl attributes, type and example $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageEntityUrl","offset":"int","length":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageFwdHeader.md b/old_docs/API_docs_v66/constructors/messageFwdHeader.md index 80baa30c..15b5b5f3 100644 --- a/old_docs/API_docs_v66/constructors/messageFwdHeader.md +++ b/old_docs/API_docs_v66/constructors/messageFwdHeader.md @@ -27,6 +27,13 @@ description: messageFwdHeader attributes, type and example $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageFwdHeader","from_id":"int","date":"int","channel_id":"int","channel_post":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageMediaContact.md b/old_docs/API_docs_v66/constructors/messageMediaContact.md index 3df06195..6b13355a 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaContact.md +++ b/old_docs/API_docs_v66/constructors/messageMediaContact.md @@ -27,6 +27,13 @@ description: messageMediaContact attributes, type and example $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaContact","phone_number":"string","first_name":"string","last_name":"string","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageMediaDocument.md b/old_docs/API_docs_v66/constructors/messageMediaDocument.md index 66a67150..0fc6558b 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaDocument.md +++ b/old_docs/API_docs_v66/constructors/messageMediaDocument.md @@ -25,6 +25,13 @@ description: messageMediaDocument attributes, type and example $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaDocument","document":"Document","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageMediaEmpty.md b/old_docs/API_docs_v66/constructors/messageMediaEmpty.md index df98ab77..d07e9680 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaEmpty.md +++ b/old_docs/API_docs_v66/constructors/messageMediaEmpty.md @@ -19,6 +19,13 @@ description: messageMediaEmpty attributes, type and example $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageMediaGame.md b/old_docs/API_docs_v66/constructors/messageMediaGame.md index 7a5e9dbc..349b9023 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaGame.md +++ b/old_docs/API_docs_v66/constructors/messageMediaGame.md @@ -24,6 +24,13 @@ description: messageMediaGame attributes, type and example $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGame","game":"Game"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageMediaGeo.md b/old_docs/API_docs_v66/constructors/messageMediaGeo.md index ec44cfbd..7be5e382 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaGeo.md +++ b/old_docs/API_docs_v66/constructors/messageMediaGeo.md @@ -24,6 +24,13 @@ description: messageMediaGeo attributes, type and example $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaGeo","geo":"GeoPoint"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageMediaInvoice.md b/old_docs/API_docs_v66/constructors/messageMediaInvoice.md index 2c7cdb20..cfbcd280 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaInvoice.md +++ b/old_docs/API_docs_v66/constructors/messageMediaInvoice.md @@ -32,6 +32,13 @@ description: messageMediaInvoice attributes, type and example $messageMediaInvoice = ['_' => 'messageMediaInvoice', 'shipping_address_requested' => Bool, 'test' => Bool, 'title' => string, 'description' => string, 'photo' => WebDocument, 'receipt_msg_id' => int, 'currency' => string, 'total_amount' => long, 'start_param' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaInvoice","shipping_address_requested":"Bool","test":"Bool","title":"string","description":"string","photo":"WebDocument","receipt_msg_id":"int","currency":"string","total_amount":"long","start_param":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageMediaPhoto.md b/old_docs/API_docs_v66/constructors/messageMediaPhoto.md index db9beda5..3a915cff 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaPhoto.md +++ b/old_docs/API_docs_v66/constructors/messageMediaPhoto.md @@ -25,6 +25,13 @@ description: messageMediaPhoto attributes, type and example $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaPhoto","photo":"Photo","caption":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageMediaUnsupported.md b/old_docs/API_docs_v66/constructors/messageMediaUnsupported.md index ee5e2118..3c37bacf 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaUnsupported.md +++ b/old_docs/API_docs_v66/constructors/messageMediaUnsupported.md @@ -19,6 +19,13 @@ description: messageMediaUnsupported attributes, type and example $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageMediaVenue.md b/old_docs/API_docs_v66/constructors/messageMediaVenue.md index 19c512ff..40d106ed 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaVenue.md +++ b/old_docs/API_docs_v66/constructors/messageMediaVenue.md @@ -28,6 +28,13 @@ description: messageMediaVenue attributes, type and example $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaVenue","geo":"GeoPoint","title":"string","address":"string","provider":"string","venue_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageMediaWebPage.md b/old_docs/API_docs_v66/constructors/messageMediaWebPage.md index d021a2f3..34c05a2c 100644 --- a/old_docs/API_docs_v66/constructors/messageMediaWebPage.md +++ b/old_docs/API_docs_v66/constructors/messageMediaWebPage.md @@ -24,6 +24,13 @@ description: messageMediaWebPage attributes, type and example $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageMediaWebPage","webpage":"WebPage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageRange.md b/old_docs/API_docs_v66/constructors/messageRange.md index e1afc793..dcf07b0c 100644 --- a/old_docs/API_docs_v66/constructors/messageRange.md +++ b/old_docs/API_docs_v66/constructors/messageRange.md @@ -25,6 +25,13 @@ description: messageRange attributes, type and example $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageRange","min_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messageService.md b/old_docs/API_docs_v66/constructors/messageService.md index 2b2990c5..558cc6c9 100644 --- a/old_docs/API_docs_v66/constructors/messageService.md +++ b/old_docs/API_docs_v66/constructors/messageService.md @@ -34,6 +34,13 @@ description: messageService attributes, type and example $messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messageService","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","post":"Bool","id":"int","from_id":"int","to_id":"Peer","reply_to_msg_id":"int","date":"int","action":"MessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_affectedHistory.md b/old_docs/API_docs_v66/constructors/messages_affectedHistory.md index 7f52fd88..0b645e7b 100644 --- a/old_docs/API_docs_v66/constructors/messages_affectedHistory.md +++ b/old_docs/API_docs_v66/constructors/messages_affectedHistory.md @@ -26,6 +26,13 @@ description: messages_affectedHistory attributes, type and example $messages_affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedHistory","pts":"int","pts_count":"int","offset":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_affectedMessages.md b/old_docs/API_docs_v66/constructors/messages_affectedMessages.md index 3fa14928..91544463 100644 --- a/old_docs/API_docs_v66/constructors/messages_affectedMessages.md +++ b/old_docs/API_docs_v66/constructors/messages_affectedMessages.md @@ -25,6 +25,13 @@ description: messages_affectedMessages attributes, type and example $messages_affectedMessages = ['_' => 'messages.affectedMessages', 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.affectedMessages","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_allStickers.md b/old_docs/API_docs_v66/constructors/messages_allStickers.md index 7a5fe6af..a16f30e8 100644 --- a/old_docs/API_docs_v66/constructors/messages_allStickers.md +++ b/old_docs/API_docs_v66/constructors/messages_allStickers.md @@ -25,6 +25,13 @@ description: messages_allStickers attributes, type and example $messages_allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickers","hash":"int","sets":["StickerSet"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md b/old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md index ca09d862..f4db1c99 100644 --- a/old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_allStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_allStickersNotModified attributes, type and example $messages_allStickersNotModified = ['_' => 'messages.allStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.allStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_archivedStickers.md b/old_docs/API_docs_v66/constructors/messages_archivedStickers.md index c04ebb81..7cc54d64 100644 --- a/old_docs/API_docs_v66/constructors/messages_archivedStickers.md +++ b/old_docs/API_docs_v66/constructors/messages_archivedStickers.md @@ -25,6 +25,13 @@ description: messages_archivedStickers attributes, type and example $messages_archivedStickers = ['_' => 'messages.archivedStickers', 'count' => int, 'sets' => [StickerSetCovered], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.archivedStickers","count":"int","sets":["StickerSetCovered"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md index 122fed81..d60a5957 100644 --- a/old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v66/constructors/messages_botCallbackAnswer.md @@ -28,6 +28,13 @@ description: messages_botCallbackAnswer attributes, type and example $messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, 'cache_time' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botCallbackAnswer","alert":"Bool","has_url":"Bool","message":"string","url":"string","cache_time":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_botResults.md b/old_docs/API_docs_v66/constructors/messages_botResults.md index 4b893535..8b1a8efc 100644 --- a/old_docs/API_docs_v66/constructors/messages_botResults.md +++ b/old_docs/API_docs_v66/constructors/messages_botResults.md @@ -29,6 +29,13 @@ description: messages_botResults attributes, type and example $messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.botResults","gallery":"Bool","query_id":"long","next_offset":"string","switch_pm":"InlineBotSwitchPM","results":["BotInlineResult"],"cache_time":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_channelMessages.md b/old_docs/API_docs_v66/constructors/messages_channelMessages.md index e1e8ab16..4c5e4839 100644 --- a/old_docs/API_docs_v66/constructors/messages_channelMessages.md +++ b/old_docs/API_docs_v66/constructors/messages_channelMessages.md @@ -28,6 +28,13 @@ description: messages_channelMessages attributes, type and example $messages_channelMessages = ['_' => 'messages.channelMessages', 'pts' => int, 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.channelMessages","pts":"int","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_chatFull.md b/old_docs/API_docs_v66/constructors/messages_chatFull.md index 86a0c549..7260dbf9 100644 --- a/old_docs/API_docs_v66/constructors/messages_chatFull.md +++ b/old_docs/API_docs_v66/constructors/messages_chatFull.md @@ -26,6 +26,13 @@ description: messages_chatFull attributes, type and example $messages_chatFull = ['_' => 'messages.chatFull', 'full_chat' => ChatFull, 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatFull","full_chat":"ChatFull","chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_chats.md b/old_docs/API_docs_v66/constructors/messages_chats.md index 604c630d..98844af9 100644 --- a/old_docs/API_docs_v66/constructors/messages_chats.md +++ b/old_docs/API_docs_v66/constructors/messages_chats.md @@ -24,6 +24,13 @@ description: messages_chats attributes, type and example $messages_chats = ['_' => 'messages.chats', 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chats","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_chatsSlice.md b/old_docs/API_docs_v66/constructors/messages_chatsSlice.md index a9ad638d..ddd00630 100644 --- a/old_docs/API_docs_v66/constructors/messages_chatsSlice.md +++ b/old_docs/API_docs_v66/constructors/messages_chatsSlice.md @@ -25,6 +25,13 @@ description: messages_chatsSlice attributes, type and example $messages_chatsSlice = ['_' => 'messages.chatsSlice', 'count' => int, 'chats' => [Chat], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.chatsSlice","count":"int","chats":["Chat"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_dhConfig.md b/old_docs/API_docs_v66/constructors/messages_dhConfig.md index 331b7ce0..1aa7c8df 100644 --- a/old_docs/API_docs_v66/constructors/messages_dhConfig.md +++ b/old_docs/API_docs_v66/constructors/messages_dhConfig.md @@ -27,6 +27,13 @@ description: messages_dhConfig attributes, type and example $messages_dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfig","g":"int","p":"bytes","version":"int","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md b/old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md index 6b59c98f..6efc19fd 100644 --- a/old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_dhConfigNotModified.md @@ -24,6 +24,13 @@ description: messages_dhConfigNotModified attributes, type and example $messages_dhConfigNotModified = ['_' => 'messages.dhConfigNotModified', 'random' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dhConfigNotModified","random":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_dialogs.md b/old_docs/API_docs_v66/constructors/messages_dialogs.md index a90d56d1..27228755 100644 --- a/old_docs/API_docs_v66/constructors/messages_dialogs.md +++ b/old_docs/API_docs_v66/constructors/messages_dialogs.md @@ -27,6 +27,13 @@ description: messages_dialogs attributes, type and example $messages_dialogs = ['_' => 'messages.dialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_dialogsSlice.md b/old_docs/API_docs_v66/constructors/messages_dialogsSlice.md index 4e9899be..2e43f07e 100644 --- a/old_docs/API_docs_v66/constructors/messages_dialogsSlice.md +++ b/old_docs/API_docs_v66/constructors/messages_dialogsSlice.md @@ -28,6 +28,13 @@ description: messages_dialogsSlice attributes, type and example $messages_dialogsSlice = ['_' => 'messages.dialogsSlice', 'count' => int, 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.dialogsSlice","count":"int","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_featuredStickers.md b/old_docs/API_docs_v66/constructors/messages_featuredStickers.md index c4884d2e..beae5c36 100644 --- a/old_docs/API_docs_v66/constructors/messages_featuredStickers.md +++ b/old_docs/API_docs_v66/constructors/messages_featuredStickers.md @@ -26,6 +26,13 @@ description: messages_featuredStickers attributes, type and example $messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered], 'unread' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.featuredStickers","hash":"int","sets":["StickerSetCovered"],"unread":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md b/old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md index 45036248..033dd647 100644 --- a/old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_featuredStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_featuredStickersNotModified attributes, type and example $messages_featuredStickersNotModified = ['_' => 'messages.featuredStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.featuredStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_foundGifs.md b/old_docs/API_docs_v66/constructors/messages_foundGifs.md index 5db1a1db..7cf2eaac 100644 --- a/old_docs/API_docs_v66/constructors/messages_foundGifs.md +++ b/old_docs/API_docs_v66/constructors/messages_foundGifs.md @@ -25,6 +25,13 @@ description: messages_foundGifs attributes, type and example $messages_foundGifs = ['_' => 'messages.foundGifs', 'next_offset' => int, 'results' => [FoundGif], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.foundGifs","next_offset":"int","results":["FoundGif"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_highScores.md b/old_docs/API_docs_v66/constructors/messages_highScores.md index 989bb2a3..6fdb3222 100644 --- a/old_docs/API_docs_v66/constructors/messages_highScores.md +++ b/old_docs/API_docs_v66/constructors/messages_highScores.md @@ -25,6 +25,13 @@ description: messages_highScores attributes, type and example $messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.highScores","scores":["HighScore"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_messageEditData.md b/old_docs/API_docs_v66/constructors/messages_messageEditData.md index 84fede7d..f04529f4 100644 --- a/old_docs/API_docs_v66/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v66/constructors/messages_messageEditData.md @@ -24,6 +24,13 @@ description: messages_messageEditData attributes, type and example $messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messageEditData","caption":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_messages.md b/old_docs/API_docs_v66/constructors/messages_messages.md index 8957af56..212c9564 100644 --- a/old_docs/API_docs_v66/constructors/messages_messages.md +++ b/old_docs/API_docs_v66/constructors/messages_messages.md @@ -26,6 +26,13 @@ description: messages_messages attributes, type and example $messages_messages = ['_' => 'messages.messages', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messages","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_messagesSlice.md b/old_docs/API_docs_v66/constructors/messages_messagesSlice.md index 32bf05dd..cc15c4cc 100644 --- a/old_docs/API_docs_v66/constructors/messages_messagesSlice.md +++ b/old_docs/API_docs_v66/constructors/messages_messagesSlice.md @@ -27,6 +27,13 @@ description: messages_messagesSlice attributes, type and example $messages_messagesSlice = ['_' => 'messages.messagesSlice', 'count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.messagesSlice","count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_peerDialogs.md b/old_docs/API_docs_v66/constructors/messages_peerDialogs.md index 3f6ba7b2..ba596c19 100644 --- a/old_docs/API_docs_v66/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v66/constructors/messages_peerDialogs.md @@ -28,6 +28,13 @@ description: messages_peerDialogs attributes, type and example $messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.peerDialogs","dialogs":["Dialog"],"messages":["Message"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_recentStickers.md b/old_docs/API_docs_v66/constructors/messages_recentStickers.md index ec13359e..89cc7c7b 100644 --- a/old_docs/API_docs_v66/constructors/messages_recentStickers.md +++ b/old_docs/API_docs_v66/constructors/messages_recentStickers.md @@ -25,6 +25,13 @@ description: messages_recentStickers attributes, type and example $messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.recentStickers","hash":"int","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md b/old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md index fd4553c8..d4c2f39a 100644 --- a/old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_recentStickersNotModified.md @@ -19,6 +19,13 @@ description: messages_recentStickersNotModified attributes, type and example $messages_recentStickersNotModified = ['_' => 'messages.recentStickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.recentStickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_savedGifs.md b/old_docs/API_docs_v66/constructors/messages_savedGifs.md index dfcab426..6077da46 100644 --- a/old_docs/API_docs_v66/constructors/messages_savedGifs.md +++ b/old_docs/API_docs_v66/constructors/messages_savedGifs.md @@ -25,6 +25,13 @@ description: messages_savedGifs attributes, type and example $messages_savedGifs = ['_' => 'messages.savedGifs', 'hash' => int, 'gifs' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifs","hash":"int","gifs":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md b/old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md index 78292bdb..6f35f43d 100644 --- a/old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_savedGifsNotModified.md @@ -19,6 +19,13 @@ description: messages_savedGifsNotModified attributes, type and example $messages_savedGifsNotModified = ['_' => 'messages.savedGifsNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.savedGifsNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md b/old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md index d554d0e5..c6bfb8eb 100644 --- a/old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md +++ b/old_docs/API_docs_v66/constructors/messages_sentEncryptedFile.md @@ -25,6 +25,13 @@ description: messages_sentEncryptedFile attributes, type and example $messages_sentEncryptedFile = ['_' => 'messages.sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedFile","date":"int","file":"EncryptedFile"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md b/old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md index 4e5755f9..969b8eb2 100644 --- a/old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md +++ b/old_docs/API_docs_v66/constructors/messages_sentEncryptedMessage.md @@ -24,6 +24,13 @@ description: messages_sentEncryptedMessage attributes, type and example $messages_sentEncryptedMessage = ['_' => 'messages.sentEncryptedMessage', 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.sentEncryptedMessage","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_stickerSet.md b/old_docs/API_docs_v66/constructors/messages_stickerSet.md index 7df69d4f..d94b2969 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickerSet.md +++ b/old_docs/API_docs_v66/constructors/messages_stickerSet.md @@ -26,6 +26,13 @@ description: messages_stickerSet attributes, type and example $messages_stickerSet = ['_' => 'messages.stickerSet', 'set' => StickerSet, 'packs' => [StickerPack], 'documents' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSet","set":"StickerSet","packs":["StickerPack"],"documents":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md b/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md index 92b2c31e..a56dbf2b 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md +++ b/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultArchive.md @@ -24,6 +24,13 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl $messages_stickerSetInstallResultArchive = ['_' => 'messages.stickerSetInstallResultArchive', 'sets' => [StickerSetCovered], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSetInstallResultArchive","sets":["StickerSetCovered"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md b/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md index c3d79b4f..269af099 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md +++ b/old_docs/API_docs_v66/constructors/messages_stickerSetInstallResultSuccess.md @@ -19,6 +19,13 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl $messages_stickerSetInstallResultSuccess = ['_' => 'messages.stickerSetInstallResultSuccess', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickerSetInstallResultSuccess"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_stickers.md b/old_docs/API_docs_v66/constructors/messages_stickers.md index cda5dad8..de93a6ad 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickers.md +++ b/old_docs/API_docs_v66/constructors/messages_stickers.md @@ -25,6 +25,13 @@ description: messages_stickers attributes, type and example $messages_stickers = ['_' => 'messages.stickers', 'hash' => string, 'stickers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickers","hash":"string","stickers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/messages_stickersNotModified.md b/old_docs/API_docs_v66/constructors/messages_stickersNotModified.md index f2fd1740..854e2d6c 100644 --- a/old_docs/API_docs_v66/constructors/messages_stickersNotModified.md +++ b/old_docs/API_docs_v66/constructors/messages_stickersNotModified.md @@ -19,6 +19,13 @@ description: messages_stickersNotModified attributes, type and example $messages_stickersNotModified = ['_' => 'messages.stickersNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"messages.stickersNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/msg_detailed_info.md b/old_docs/API_docs_v66/constructors/msg_detailed_info.md index 61e40732..f92347b0 100644 --- a/old_docs/API_docs_v66/constructors/msg_detailed_info.md +++ b/old_docs/API_docs_v66/constructors/msg_detailed_info.md @@ -27,6 +27,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_detailed_info","msg_id":"long","answer_msg_id":"long","bytes":"int","status":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/msg_new_detailed_info.md b/old_docs/API_docs_v66/constructors/msg_new_detailed_info.md index 2f57220b..b2a3db96 100644 --- a/old_docs/API_docs_v66/constructors/msg_new_detailed_info.md +++ b/old_docs/API_docs_v66/constructors/msg_new_detailed_info.md @@ -26,6 +26,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_new_detailed_info","answer_msg_id":"long","bytes":"int","status":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/msg_resend_req.md b/old_docs/API_docs_v66/constructors/msg_resend_req.md index 58f6daec..2abb95c1 100644 --- a/old_docs/API_docs_v66/constructors/msg_resend_req.md +++ b/old_docs/API_docs_v66/constructors/msg_resend_req.md @@ -24,6 +24,13 @@ description: msg_resend_req attributes, type and example $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msg_resend_req","msg_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/msgs_ack.md b/old_docs/API_docs_v66/constructors/msgs_ack.md index 05f60aff..8b1b2f9f 100644 --- a/old_docs/API_docs_v66/constructors/msgs_ack.md +++ b/old_docs/API_docs_v66/constructors/msgs_ack.md @@ -24,6 +24,13 @@ description: msgs_ack attributes, type and example $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_ack","msg_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/msgs_all_info.md b/old_docs/API_docs_v66/constructors/msgs_all_info.md index f9adeb83..50a539bc 100644 --- a/old_docs/API_docs_v66/constructors/msgs_all_info.md +++ b/old_docs/API_docs_v66/constructors/msgs_all_info.md @@ -25,6 +25,13 @@ description: msgs_all_info attributes, type and example $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [long], 'info' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_all_info","msg_ids":["long"],"info":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/msgs_state_info.md b/old_docs/API_docs_v66/constructors/msgs_state_info.md index 0066d567..d5819d23 100644 --- a/old_docs/API_docs_v66/constructors/msgs_state_info.md +++ b/old_docs/API_docs_v66/constructors/msgs_state_info.md @@ -25,6 +25,13 @@ description: msgs_state_info attributes, type and example $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_state_info","req_msg_id":"long","info":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/msgs_state_req.md b/old_docs/API_docs_v66/constructors/msgs_state_req.md index 53d846c7..8247b8c1 100644 --- a/old_docs/API_docs_v66/constructors/msgs_state_req.md +++ b/old_docs/API_docs_v66/constructors/msgs_state_req.md @@ -24,6 +24,13 @@ description: msgs_state_req attributes, type and example $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"msgs_state_req","msg_ids":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/nearestDc.md b/old_docs/API_docs_v66/constructors/nearestDc.md index 7f56bf89..ef49a6bd 100644 --- a/old_docs/API_docs_v66/constructors/nearestDc.md +++ b/old_docs/API_docs_v66/constructors/nearestDc.md @@ -26,6 +26,13 @@ description: nearestDc attributes, type and example $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"nearestDc","country":"string","this_dc":"int","nearest_dc":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/new_session_created.md b/old_docs/API_docs_v66/constructors/new_session_created.md index 7cccc77c..5eac0fac 100644 --- a/old_docs/API_docs_v66/constructors/new_session_created.md +++ b/old_docs/API_docs_v66/constructors/new_session_created.md @@ -26,6 +26,13 @@ description: new_session_created attributes, type and example $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"new_session_created","first_msg_id":"long","unique_id":"long","server_salt":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/notifyAll.md b/old_docs/API_docs_v66/constructors/notifyAll.md index 5c470510..4762cd63 100644 --- a/old_docs/API_docs_v66/constructors/notifyAll.md +++ b/old_docs/API_docs_v66/constructors/notifyAll.md @@ -19,6 +19,13 @@ description: notifyAll attributes, type and example $notifyAll = ['_' => 'notifyAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/notifyChats.md b/old_docs/API_docs_v66/constructors/notifyChats.md index 0883b12a..142ea4fd 100644 --- a/old_docs/API_docs_v66/constructors/notifyChats.md +++ b/old_docs/API_docs_v66/constructors/notifyChats.md @@ -19,6 +19,13 @@ description: notifyChats attributes, type and example $notifyChats = ['_' => 'notifyChats', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyChats"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/notifyPeer.md b/old_docs/API_docs_v66/constructors/notifyPeer.md index 33d7628f..df51c56b 100644 --- a/old_docs/API_docs_v66/constructors/notifyPeer.md +++ b/old_docs/API_docs_v66/constructors/notifyPeer.md @@ -24,6 +24,13 @@ description: notifyPeer attributes, type and example $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyPeer","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/notifyUsers.md b/old_docs/API_docs_v66/constructors/notifyUsers.md index 06b21b7d..d849e785 100644 --- a/old_docs/API_docs_v66/constructors/notifyUsers.md +++ b/old_docs/API_docs_v66/constructors/notifyUsers.md @@ -19,6 +19,13 @@ description: notifyUsers attributes, type and example $notifyUsers = ['_' => 'notifyUsers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"notifyUsers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/p_q_inner_data.md b/old_docs/API_docs_v66/constructors/p_q_inner_data.md index e8719b89..b956ca92 100644 --- a/old_docs/API_docs_v66/constructors/p_q_inner_data.md +++ b/old_docs/API_docs_v66/constructors/p_q_inner_data.md @@ -29,6 +29,13 @@ description: p_q_inner_data attributes, type and example $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => string, 'p' => string, 'q' => string, 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"p_q_inner_data","pq":"string","p":"string","q":"string","nonce":"int128","server_nonce":"int128","new_nonce":"int256"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockAnchor.md b/old_docs/API_docs_v66/constructors/pageBlockAnchor.md index b5f2dda9..7e7e3582 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockAnchor.md +++ b/old_docs/API_docs_v66/constructors/pageBlockAnchor.md @@ -24,6 +24,13 @@ description: pageBlockAnchor attributes, type and example $pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockAnchor","name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockAuthorDate.md b/old_docs/API_docs_v66/constructors/pageBlockAuthorDate.md index 3fe84037..b30337e1 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockAuthorDate.md +++ b/old_docs/API_docs_v66/constructors/pageBlockAuthorDate.md @@ -25,6 +25,13 @@ description: pageBlockAuthorDate attributes, type and example $pageBlockAuthorDate = ['_' => 'pageBlockAuthorDate', 'author' => RichText, 'published_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockAuthorDate","author":"RichText","published_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockBlockquote.md b/old_docs/API_docs_v66/constructors/pageBlockBlockquote.md index d020e7d4..03b93ab7 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockBlockquote.md +++ b/old_docs/API_docs_v66/constructors/pageBlockBlockquote.md @@ -25,6 +25,13 @@ description: pageBlockBlockquote attributes, type and example $pageBlockBlockquote = ['_' => 'pageBlockBlockquote', 'text' => RichText, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockBlockquote","text":"RichText","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockChannel.md b/old_docs/API_docs_v66/constructors/pageBlockChannel.md index 9543fb38..bc43c4f8 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockChannel.md +++ b/old_docs/API_docs_v66/constructors/pageBlockChannel.md @@ -24,6 +24,13 @@ description: pageBlockChannel attributes, type and example $pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockChannel","channel":"Chat"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockCollage.md b/old_docs/API_docs_v66/constructors/pageBlockCollage.md index 74c40f44..7ae744f5 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockCollage.md +++ b/old_docs/API_docs_v66/constructors/pageBlockCollage.md @@ -25,6 +25,13 @@ description: pageBlockCollage attributes, type and example $pageBlockCollage = ['_' => 'pageBlockCollage', 'items' => [PageBlock], 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockCollage","items":["PageBlock"],"caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockCover.md b/old_docs/API_docs_v66/constructors/pageBlockCover.md index 9ae62342..5c91d850 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockCover.md +++ b/old_docs/API_docs_v66/constructors/pageBlockCover.md @@ -24,6 +24,13 @@ description: pageBlockCover attributes, type and example $pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockCover","cover":"PageBlock"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockDivider.md b/old_docs/API_docs_v66/constructors/pageBlockDivider.md index 81b90d28..03b6b756 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockDivider.md +++ b/old_docs/API_docs_v66/constructors/pageBlockDivider.md @@ -19,6 +19,13 @@ description: pageBlockDivider attributes, type and example $pageBlockDivider = ['_' => 'pageBlockDivider', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockDivider"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockEmbed.md b/old_docs/API_docs_v66/constructors/pageBlockEmbed.md index 1b0887b7..acc257b8 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockEmbed.md +++ b/old_docs/API_docs_v66/constructors/pageBlockEmbed.md @@ -31,6 +31,13 @@ description: pageBlockEmbed attributes, type and example $pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => string, 'html' => string, 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockEmbed","full_width":"Bool","allow_scrolling":"Bool","url":"string","html":"string","poster_photo_id":"long","w":"int","h":"int","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockEmbedPost.md b/old_docs/API_docs_v66/constructors/pageBlockEmbedPost.md index 8edfb4a1..7bd9a9cf 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockEmbedPost.md +++ b/old_docs/API_docs_v66/constructors/pageBlockEmbedPost.md @@ -30,6 +30,13 @@ description: pageBlockEmbedPost attributes, type and example $pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => string, 'webpage_id' => long, 'author_photo_id' => long, 'author' => string, 'date' => int, 'blocks' => [PageBlock], 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockEmbedPost","url":"string","webpage_id":"long","author_photo_id":"long","author":"string","date":"int","blocks":["PageBlock"],"caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockFooter.md b/old_docs/API_docs_v66/constructors/pageBlockFooter.md index 94bc6666..b35e731e 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockFooter.md +++ b/old_docs/API_docs_v66/constructors/pageBlockFooter.md @@ -24,6 +24,13 @@ description: pageBlockFooter attributes, type and example $pageBlockFooter = ['_' => 'pageBlockFooter', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockFooter","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockHeader.md b/old_docs/API_docs_v66/constructors/pageBlockHeader.md index ed536e6e..69fb595d 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockHeader.md +++ b/old_docs/API_docs_v66/constructors/pageBlockHeader.md @@ -24,6 +24,13 @@ description: pageBlockHeader attributes, type and example $pageBlockHeader = ['_' => 'pageBlockHeader', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockHeader","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockList.md b/old_docs/API_docs_v66/constructors/pageBlockList.md index 4797dbcb..e3608efe 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockList.md +++ b/old_docs/API_docs_v66/constructors/pageBlockList.md @@ -25,6 +25,13 @@ description: pageBlockList attributes, type and example $pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockList","ordered":"Bool","items":["RichText"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockParagraph.md b/old_docs/API_docs_v66/constructors/pageBlockParagraph.md index 4a8b62fd..c3cae789 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockParagraph.md +++ b/old_docs/API_docs_v66/constructors/pageBlockParagraph.md @@ -24,6 +24,13 @@ description: pageBlockParagraph attributes, type and example $pageBlockParagraph = ['_' => 'pageBlockParagraph', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockParagraph","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockPhoto.md b/old_docs/API_docs_v66/constructors/pageBlockPhoto.md index 3deea303..cd89acb3 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockPhoto.md +++ b/old_docs/API_docs_v66/constructors/pageBlockPhoto.md @@ -25,6 +25,13 @@ description: pageBlockPhoto attributes, type and example $pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockPhoto","photo_id":"long","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockPreformatted.md b/old_docs/API_docs_v66/constructors/pageBlockPreformatted.md index 38747e45..7fb3de67 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockPreformatted.md +++ b/old_docs/API_docs_v66/constructors/pageBlockPreformatted.md @@ -25,6 +25,13 @@ description: pageBlockPreformatted attributes, type and example $pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockPreformatted","text":"RichText","language":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockPullquote.md b/old_docs/API_docs_v66/constructors/pageBlockPullquote.md index 85a8ceed..12c9fc4c 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockPullquote.md +++ b/old_docs/API_docs_v66/constructors/pageBlockPullquote.md @@ -25,6 +25,13 @@ description: pageBlockPullquote attributes, type and example $pageBlockPullquote = ['_' => 'pageBlockPullquote', 'text' => RichText, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockPullquote","text":"RichText","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockSlideshow.md b/old_docs/API_docs_v66/constructors/pageBlockSlideshow.md index c71f0e90..de0d384c 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockSlideshow.md +++ b/old_docs/API_docs_v66/constructors/pageBlockSlideshow.md @@ -25,6 +25,13 @@ description: pageBlockSlideshow attributes, type and example $pageBlockSlideshow = ['_' => 'pageBlockSlideshow', 'items' => [PageBlock], 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockSlideshow","items":["PageBlock"],"caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockSubheader.md b/old_docs/API_docs_v66/constructors/pageBlockSubheader.md index 495b6196..7efc0a7c 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockSubheader.md +++ b/old_docs/API_docs_v66/constructors/pageBlockSubheader.md @@ -24,6 +24,13 @@ description: pageBlockSubheader attributes, type and example $pageBlockSubheader = ['_' => 'pageBlockSubheader', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockSubheader","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockSubtitle.md b/old_docs/API_docs_v66/constructors/pageBlockSubtitle.md index cc359365..6551b737 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockSubtitle.md +++ b/old_docs/API_docs_v66/constructors/pageBlockSubtitle.md @@ -24,6 +24,13 @@ description: pageBlockSubtitle attributes, type and example $pageBlockSubtitle = ['_' => 'pageBlockSubtitle', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockSubtitle","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockTitle.md b/old_docs/API_docs_v66/constructors/pageBlockTitle.md index cd3cc8e3..75f47508 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockTitle.md +++ b/old_docs/API_docs_v66/constructors/pageBlockTitle.md @@ -24,6 +24,13 @@ description: pageBlockTitle attributes, type and example $pageBlockTitle = ['_' => 'pageBlockTitle', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockTitle","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockUnsupported.md b/old_docs/API_docs_v66/constructors/pageBlockUnsupported.md index 59275dda..5b7d881f 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockUnsupported.md +++ b/old_docs/API_docs_v66/constructors/pageBlockUnsupported.md @@ -19,6 +19,13 @@ description: pageBlockUnsupported attributes, type and example $pageBlockUnsupported = ['_' => 'pageBlockUnsupported', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockUnsupported"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageBlockVideo.md b/old_docs/API_docs_v66/constructors/pageBlockVideo.md index 73379377..59a824c1 100644 --- a/old_docs/API_docs_v66/constructors/pageBlockVideo.md +++ b/old_docs/API_docs_v66/constructors/pageBlockVideo.md @@ -27,6 +27,13 @@ description: pageBlockVideo attributes, type and example $pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageBlockVideo","autoplay":"Bool","loop":"Bool","video_id":"long","caption":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pageFull.md b/old_docs/API_docs_v66/constructors/pageFull.md index a7fe0800..3cbba529 100644 --- a/old_docs/API_docs_v66/constructors/pageFull.md +++ b/old_docs/API_docs_v66/constructors/pageFull.md @@ -26,6 +26,13 @@ description: pageFull attributes, type and example $pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pageFull","blocks":["PageBlock"],"photos":["Photo"],"videos":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pagePart.md b/old_docs/API_docs_v66/constructors/pagePart.md index 9558bcd4..638dc934 100644 --- a/old_docs/API_docs_v66/constructors/pagePart.md +++ b/old_docs/API_docs_v66/constructors/pagePart.md @@ -26,6 +26,13 @@ description: pagePart attributes, type and example $pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pagePart","blocks":["PageBlock"],"photos":["Photo"],"videos":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/paymentCharge.md b/old_docs/API_docs_v66/constructors/paymentCharge.md index 4c08bbb7..2f9c6127 100644 --- a/old_docs/API_docs_v66/constructors/paymentCharge.md +++ b/old_docs/API_docs_v66/constructors/paymentCharge.md @@ -25,6 +25,13 @@ description: paymentCharge attributes, type and example $paymentCharge = ['_' => 'paymentCharge', 'id' => string, 'provider_charge_id' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"paymentCharge","id":"string","provider_charge_id":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/paymentRequestedInfo.md b/old_docs/API_docs_v66/constructors/paymentRequestedInfo.md index ad7a2907..a4e8612d 100644 --- a/old_docs/API_docs_v66/constructors/paymentRequestedInfo.md +++ b/old_docs/API_docs_v66/constructors/paymentRequestedInfo.md @@ -27,6 +27,13 @@ description: paymentRequestedInfo attributes, type and example $paymentRequestedInfo = ['_' => 'paymentRequestedInfo', 'name' => string, 'phone' => string, 'email' => string, 'shipping_address' => PostAddress, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"paymentRequestedInfo","name":"string","phone":"string","email":"string","shipping_address":"PostAddress"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/paymentSavedCredentialsCard.md b/old_docs/API_docs_v66/constructors/paymentSavedCredentialsCard.md index 16edbaf8..fd97903a 100644 --- a/old_docs/API_docs_v66/constructors/paymentSavedCredentialsCard.md +++ b/old_docs/API_docs_v66/constructors/paymentSavedCredentialsCard.md @@ -25,6 +25,13 @@ description: paymentSavedCredentialsCard attributes, type and example $paymentSavedCredentialsCard = ['_' => 'paymentSavedCredentialsCard', 'id' => string, 'title' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"paymentSavedCredentialsCard","id":"string","title":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/payments_paymentForm.md b/old_docs/API_docs_v66/constructors/payments_paymentForm.md index 4f22bcbd..dff13e64 100644 --- a/old_docs/API_docs_v66/constructors/payments_paymentForm.md +++ b/old_docs/API_docs_v66/constructors/payments_paymentForm.md @@ -34,6 +34,13 @@ description: payments_paymentForm attributes, type and example $payments_paymentForm = ['_' => 'payments.paymentForm', 'can_save_credentials' => Bool, 'password_missing' => Bool, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'url' => string, 'native_provider' => string, 'native_params' => DataJSON, 'saved_info' => PaymentRequestedInfo, 'saved_credentials' => PaymentSavedCredentials, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.paymentForm","can_save_credentials":"Bool","password_missing":"Bool","bot_id":"int","invoice":"Invoice","provider_id":"int","url":"string","native_provider":"string","native_params":"DataJSON","saved_info":"PaymentRequestedInfo","saved_credentials":"PaymentSavedCredentials","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/payments_paymentReceipt.md b/old_docs/API_docs_v66/constructors/payments_paymentReceipt.md index f3c14832..90000f42 100644 --- a/old_docs/API_docs_v66/constructors/payments_paymentReceipt.md +++ b/old_docs/API_docs_v66/constructors/payments_paymentReceipt.md @@ -33,6 +33,13 @@ description: payments_paymentReceipt attributes, type and example $payments_paymentReceipt = ['_' => 'payments.paymentReceipt', 'date' => int, 'bot_id' => int, 'invoice' => Invoice, 'provider_id' => int, 'info' => PaymentRequestedInfo, 'shipping' => ShippingOption, 'currency' => string, 'total_amount' => long, 'credentials_title' => string, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.paymentReceipt","date":"int","bot_id":"int","invoice":"Invoice","provider_id":"int","info":"PaymentRequestedInfo","shipping":"ShippingOption","currency":"string","total_amount":"long","credentials_title":"string","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/payments_paymentResult.md b/old_docs/API_docs_v66/constructors/payments_paymentResult.md index 18d75fad..aad37320 100644 --- a/old_docs/API_docs_v66/constructors/payments_paymentResult.md +++ b/old_docs/API_docs_v66/constructors/payments_paymentResult.md @@ -24,6 +24,13 @@ description: payments_paymentResult attributes, type and example $payments_paymentResult = ['_' => 'payments.paymentResult', 'updates' => Updates, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.paymentResult","updates":"Updates"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md b/old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md index f3af9acf..0b2f4224 100644 --- a/old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md +++ b/old_docs/API_docs_v66/constructors/payments_paymentVerficationNeeded.md @@ -24,6 +24,13 @@ description: payments_paymentVerficationNeeded attributes, type and example $payments_paymentVerficationNeeded = ['_' => 'payments.paymentVerficationNeeded', 'url' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.paymentVerficationNeeded","url":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/payments_savedInfo.md b/old_docs/API_docs_v66/constructors/payments_savedInfo.md index 42c5b738..57e9b3ad 100644 --- a/old_docs/API_docs_v66/constructors/payments_savedInfo.md +++ b/old_docs/API_docs_v66/constructors/payments_savedInfo.md @@ -25,6 +25,13 @@ description: payments_savedInfo attributes, type and example $payments_savedInfo = ['_' => 'payments.savedInfo', 'has_saved_credentials' => Bool, 'saved_info' => PaymentRequestedInfo, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.savedInfo","has_saved_credentials":"Bool","saved_info":"PaymentRequestedInfo"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md b/old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md index abf335ca..7140482a 100644 --- a/old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md +++ b/old_docs/API_docs_v66/constructors/payments_validatedRequestedInfo.md @@ -25,6 +25,13 @@ description: payments_validatedRequestedInfo attributes, type and example $payments_validatedRequestedInfo = ['_' => 'payments.validatedRequestedInfo', 'id' => string, 'shipping_options' => [ShippingOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"payments.validatedRequestedInfo","id":"string","shipping_options":["ShippingOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/peerChannel.md b/old_docs/API_docs_v66/constructors/peerChannel.md index c6cf229f..56e15b2e 100644 --- a/old_docs/API_docs_v66/constructors/peerChannel.md +++ b/old_docs/API_docs_v66/constructors/peerChannel.md @@ -24,6 +24,13 @@ description: peerChannel attributes, type and example $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/peerChat.md b/old_docs/API_docs_v66/constructors/peerChat.md index 91e2ab47..a601094b 100644 --- a/old_docs/API_docs_v66/constructors/peerChat.md +++ b/old_docs/API_docs_v66/constructors/peerChat.md @@ -24,6 +24,13 @@ description: peerChat attributes, type and example $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerChat","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/peerNotifyEventsAll.md b/old_docs/API_docs_v66/constructors/peerNotifyEventsAll.md index a0e6f187..815cc7dd 100644 --- a/old_docs/API_docs_v66/constructors/peerNotifyEventsAll.md +++ b/old_docs/API_docs_v66/constructors/peerNotifyEventsAll.md @@ -19,6 +19,13 @@ description: peerNotifyEventsAll attributes, type and example $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/peerNotifyEventsEmpty.md b/old_docs/API_docs_v66/constructors/peerNotifyEventsEmpty.md index eb3b830a..cdda0ae6 100644 --- a/old_docs/API_docs_v66/constructors/peerNotifyEventsEmpty.md +++ b/old_docs/API_docs_v66/constructors/peerNotifyEventsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifyEventsEmpty attributes, type and example $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifyEventsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/peerNotifySettings.md b/old_docs/API_docs_v66/constructors/peerNotifySettings.md index 6c2d984e..fb5f90ac 100644 --- a/old_docs/API_docs_v66/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v66/constructors/peerNotifySettings.md @@ -27,6 +27,13 @@ description: peerNotifySettings attributes, type and example $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettings","show_previews":"Bool","silent":"Bool","mute_until":"int","sound":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/peerNotifySettingsEmpty.md b/old_docs/API_docs_v66/constructors/peerNotifySettingsEmpty.md index a5511547..7aada33c 100644 --- a/old_docs/API_docs_v66/constructors/peerNotifySettingsEmpty.md +++ b/old_docs/API_docs_v66/constructors/peerNotifySettingsEmpty.md @@ -19,6 +19,13 @@ description: peerNotifySettingsEmpty attributes, type and example $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerNotifySettingsEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/peerSettings.md b/old_docs/API_docs_v66/constructors/peerSettings.md index 0169488e..1c888af9 100644 --- a/old_docs/API_docs_v66/constructors/peerSettings.md +++ b/old_docs/API_docs_v66/constructors/peerSettings.md @@ -24,6 +24,13 @@ description: peerSettings attributes, type and example $peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerSettings","report_spam":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/peerUser.md b/old_docs/API_docs_v66/constructors/peerUser.md index 9e5ed214..88efd682 100644 --- a/old_docs/API_docs_v66/constructors/peerUser.md +++ b/old_docs/API_docs_v66/constructors/peerUser.md @@ -24,6 +24,13 @@ description: peerUser attributes, type and example $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"peerUser","user_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/phoneCall.md b/old_docs/API_docs_v66/constructors/phoneCall.md index 50513213..6414af6f 100644 --- a/old_docs/API_docs_v66/constructors/phoneCall.md +++ b/old_docs/API_docs_v66/constructors/phoneCall.md @@ -34,6 +34,13 @@ description: phoneCall attributes, type and example $phoneCall = ['_' => 'phoneCall', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection], 'start_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCall","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_or_b":"bytes","key_fingerprint":"long","protocol":"PhoneCallProtocol","connection":"PhoneConnection","alternative_connections":["PhoneConnection"],"start_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/phoneCallAccepted.md b/old_docs/API_docs_v66/constructors/phoneCallAccepted.md index 9849a825..2065f97c 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallAccepted.md +++ b/old_docs/API_docs_v66/constructors/phoneCallAccepted.md @@ -30,6 +30,13 @@ description: phoneCallAccepted attributes, type and example $phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => bytes, 'protocol' => PhoneCallProtocol, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallAccepted","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_b":"bytes","protocol":"PhoneCallProtocol"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonBusy.md b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonBusy.md index d0cb60c4..a8041928 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonBusy.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonBusy.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonBusy attributes, type and example $phoneCallDiscardReasonBusy = ['_' => 'phoneCallDiscardReasonBusy', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonBusy"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonDisconnect.md b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonDisconnect.md index ce63efbe..c0567700 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonDisconnect.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonDisconnect.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonDisconnect attributes, type and example $phoneCallDiscardReasonDisconnect = ['_' => 'phoneCallDiscardReasonDisconnect', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonDisconnect"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonHangup.md b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonHangup.md index 40841d73..7c108ec3 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonHangup.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonHangup.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonHangup attributes, type and example $phoneCallDiscardReasonHangup = ['_' => 'phoneCallDiscardReasonHangup', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonHangup"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonMissed.md b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonMissed.md index 04ea3fa0..f6aa306c 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonMissed.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscardReasonMissed.md @@ -19,6 +19,13 @@ description: phoneCallDiscardReasonMissed attributes, type and example $phoneCallDiscardReasonMissed = ['_' => 'phoneCallDiscardReasonMissed', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscardReasonMissed"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/phoneCallDiscarded.md b/old_docs/API_docs_v66/constructors/phoneCallDiscarded.md index cc53c2c1..50f8bbaa 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallDiscarded.md +++ b/old_docs/API_docs_v66/constructors/phoneCallDiscarded.md @@ -28,6 +28,13 @@ description: phoneCallDiscarded attributes, type and example $phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallDiscarded","need_rating":"Bool","need_debug":"Bool","id":"long","reason":"PhoneCallDiscardReason","duration":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/phoneCallEmpty.md b/old_docs/API_docs_v66/constructors/phoneCallEmpty.md index a3cade57..ad8dec73 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallEmpty.md +++ b/old_docs/API_docs_v66/constructors/phoneCallEmpty.md @@ -24,6 +24,13 @@ description: phoneCallEmpty attributes, type and example $phoneCallEmpty = ['_' => 'phoneCallEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/phoneCallProtocol.md b/old_docs/API_docs_v66/constructors/phoneCallProtocol.md index f69b1a5f..b4f6dffb 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallProtocol.md +++ b/old_docs/API_docs_v66/constructors/phoneCallProtocol.md @@ -27,6 +27,13 @@ description: phoneCallProtocol attributes, type and example $phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallProtocol","udp_p2p":"Bool","udp_reflector":"Bool","min_layer":"int","max_layer":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/phoneCallRequested.md b/old_docs/API_docs_v66/constructors/phoneCallRequested.md index b68645e1..64d3a65c 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallRequested.md +++ b/old_docs/API_docs_v66/constructors/phoneCallRequested.md @@ -30,6 +30,13 @@ description: phoneCallRequested attributes, type and example $phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => bytes, 'protocol' => PhoneCallProtocol, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallRequested","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","g_a_hash":"bytes","protocol":"PhoneCallProtocol"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/phoneCallWaiting.md b/old_docs/API_docs_v66/constructors/phoneCallWaiting.md index 577dcd51..702a868f 100644 --- a/old_docs/API_docs_v66/constructors/phoneCallWaiting.md +++ b/old_docs/API_docs_v66/constructors/phoneCallWaiting.md @@ -30,6 +30,13 @@ description: phoneCallWaiting attributes, type and example $phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneCallWaiting","id":"long","access_hash":"long","date":"int","admin_id":"int","participant_id":"int","protocol":"PhoneCallProtocol","receive_date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/phoneConnection.md b/old_docs/API_docs_v66/constructors/phoneConnection.md index 730d3019..9c2c6a58 100644 --- a/old_docs/API_docs_v66/constructors/phoneConnection.md +++ b/old_docs/API_docs_v66/constructors/phoneConnection.md @@ -28,6 +28,13 @@ description: phoneConnection attributes, type and example $phoneConnection = ['_' => 'phoneConnection', 'id' => long, 'ip' => string, 'ipv6' => string, 'port' => int, 'peer_tag' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phoneConnection","id":"long","ip":"string","ipv6":"string","port":"int","peer_tag":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/phone_phoneCall.md b/old_docs/API_docs_v66/constructors/phone_phoneCall.md index bb789601..af0106eb 100644 --- a/old_docs/API_docs_v66/constructors/phone_phoneCall.md +++ b/old_docs/API_docs_v66/constructors/phone_phoneCall.md @@ -25,6 +25,13 @@ description: phone_phoneCall attributes, type and example $phone_phoneCall = ['_' => 'phone.phoneCall', 'phone_call' => PhoneCall, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"phone.phoneCall","phone_call":"PhoneCall","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/photo.md b/old_docs/API_docs_v66/constructors/photo.md index 3ce8cc62..eeb39d1f 100644 --- a/old_docs/API_docs_v66/constructors/photo.md +++ b/old_docs/API_docs_v66/constructors/photo.md @@ -28,6 +28,13 @@ description: photo attributes, type and example $photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photo","has_stickers":"Bool","id":"long","access_hash":"long","date":"int","sizes":["PhotoSize"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/photoCachedSize.md b/old_docs/API_docs_v66/constructors/photoCachedSize.md index 21580b27..8e85b420 100644 --- a/old_docs/API_docs_v66/constructors/photoCachedSize.md +++ b/old_docs/API_docs_v66/constructors/photoCachedSize.md @@ -28,6 +28,13 @@ description: photoCachedSize attributes, type and example $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoCachedSize","type":"string","location":"FileLocation","w":"int","h":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/photoEmpty.md b/old_docs/API_docs_v66/constructors/photoEmpty.md index 668a64f4..32fda27e 100644 --- a/old_docs/API_docs_v66/constructors/photoEmpty.md +++ b/old_docs/API_docs_v66/constructors/photoEmpty.md @@ -24,6 +24,13 @@ description: photoEmpty attributes, type and example $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/photoSize.md b/old_docs/API_docs_v66/constructors/photoSize.md index 8e328967..596b577c 100644 --- a/old_docs/API_docs_v66/constructors/photoSize.md +++ b/old_docs/API_docs_v66/constructors/photoSize.md @@ -28,6 +28,13 @@ description: photoSize attributes, type and example $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSize","type":"string","location":"FileLocation","w":"int","h":"int","size":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/photoSizeEmpty.md b/old_docs/API_docs_v66/constructors/photoSizeEmpty.md index f6923fca..1f8a5af2 100644 --- a/old_docs/API_docs_v66/constructors/photoSizeEmpty.md +++ b/old_docs/API_docs_v66/constructors/photoSizeEmpty.md @@ -24,6 +24,13 @@ description: photoSizeEmpty attributes, type and example $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photoSizeEmpty","type":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/photos_photo.md b/old_docs/API_docs_v66/constructors/photos_photo.md index f4d5c195..39b48b0b 100644 --- a/old_docs/API_docs_v66/constructors/photos_photo.md +++ b/old_docs/API_docs_v66/constructors/photos_photo.md @@ -25,6 +25,13 @@ description: photos_photo attributes, type and example $photos_photo = ['_' => 'photos.photo', 'photo' => Photo, 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photo","photo":"Photo","users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/photos_photos.md b/old_docs/API_docs_v66/constructors/photos_photos.md index 4afe247e..e4958e29 100644 --- a/old_docs/API_docs_v66/constructors/photos_photos.md +++ b/old_docs/API_docs_v66/constructors/photos_photos.md @@ -25,6 +25,13 @@ description: photos_photos attributes, type and example $photos_photos = ['_' => 'photos.photos', 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photos","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/photos_photosSlice.md b/old_docs/API_docs_v66/constructors/photos_photosSlice.md index 800db2d9..d36d0c1e 100644 --- a/old_docs/API_docs_v66/constructors/photos_photosSlice.md +++ b/old_docs/API_docs_v66/constructors/photos_photosSlice.md @@ -26,6 +26,13 @@ description: photos_photosSlice attributes, type and example $photos_photosSlice = ['_' => 'photos.photosSlice', 'count' => int, 'photos' => [Photo], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"photos.photosSlice","count":"int","photos":["Photo"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/pong.md b/old_docs/API_docs_v66/constructors/pong.md index 72b67d07..5c03bb9b 100644 --- a/old_docs/API_docs_v66/constructors/pong.md +++ b/old_docs/API_docs_v66/constructors/pong.md @@ -25,6 +25,13 @@ description: pong attributes, type and example $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"pong","msg_id":"long","ping_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/postAddress.md b/old_docs/API_docs_v66/constructors/postAddress.md index fdd8c49a..5b656fd9 100644 --- a/old_docs/API_docs_v66/constructors/postAddress.md +++ b/old_docs/API_docs_v66/constructors/postAddress.md @@ -29,6 +29,13 @@ description: postAddress attributes, type and example $postAddress = ['_' => 'postAddress', 'street_line1' => string, 'street_line2' => string, 'city' => string, 'state' => string, 'country_iso2' => string, 'post_code' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"postAddress","street_line1":"string","street_line2":"string","city":"string","state":"string","country_iso2":"string","post_code":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/privacyKeyChatInvite.md b/old_docs/API_docs_v66/constructors/privacyKeyChatInvite.md index ad4a35e7..88fbe9a6 100644 --- a/old_docs/API_docs_v66/constructors/privacyKeyChatInvite.md +++ b/old_docs/API_docs_v66/constructors/privacyKeyChatInvite.md @@ -19,6 +19,13 @@ description: privacyKeyChatInvite attributes, type and example $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyChatInvite"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/privacyKeyPhoneCall.md b/old_docs/API_docs_v66/constructors/privacyKeyPhoneCall.md index fc78bf34..894dccb5 100644 --- a/old_docs/API_docs_v66/constructors/privacyKeyPhoneCall.md +++ b/old_docs/API_docs_v66/constructors/privacyKeyPhoneCall.md @@ -19,6 +19,13 @@ description: privacyKeyPhoneCall attributes, type and example $privacyKeyPhoneCall = ['_' => 'privacyKeyPhoneCall', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyPhoneCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/privacyKeyStatusTimestamp.md b/old_docs/API_docs_v66/constructors/privacyKeyStatusTimestamp.md index 912abe67..5f46dbbe 100644 --- a/old_docs/API_docs_v66/constructors/privacyKeyStatusTimestamp.md +++ b/old_docs/API_docs_v66/constructors/privacyKeyStatusTimestamp.md @@ -19,6 +19,13 @@ description: privacyKeyStatusTimestamp attributes, type and example $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyKeyStatusTimestamp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/privacyValueAllowAll.md b/old_docs/API_docs_v66/constructors/privacyValueAllowAll.md index 7c199ef1..1556175d 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueAllowAll.md +++ b/old_docs/API_docs_v66/constructors/privacyValueAllowAll.md @@ -19,6 +19,13 @@ description: privacyValueAllowAll attributes, type and example $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/privacyValueAllowContacts.md b/old_docs/API_docs_v66/constructors/privacyValueAllowContacts.md index 9e2b4997..f99837e8 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueAllowContacts.md +++ b/old_docs/API_docs_v66/constructors/privacyValueAllowContacts.md @@ -19,6 +19,13 @@ description: privacyValueAllowContacts attributes, type and example $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/privacyValueAllowUsers.md b/old_docs/API_docs_v66/constructors/privacyValueAllowUsers.md index d060cf3a..81b696f4 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueAllowUsers.md +++ b/old_docs/API_docs_v66/constructors/privacyValueAllowUsers.md @@ -24,6 +24,13 @@ description: privacyValueAllowUsers attributes, type and example $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueAllowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/privacyValueDisallowAll.md b/old_docs/API_docs_v66/constructors/privacyValueDisallowAll.md index 1a2c53c6..b1b39244 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueDisallowAll.md +++ b/old_docs/API_docs_v66/constructors/privacyValueDisallowAll.md @@ -19,6 +19,13 @@ description: privacyValueDisallowAll attributes, type and example $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowAll"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/privacyValueDisallowContacts.md b/old_docs/API_docs_v66/constructors/privacyValueDisallowContacts.md index c752907a..dcbdb8fc 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueDisallowContacts.md +++ b/old_docs/API_docs_v66/constructors/privacyValueDisallowContacts.md @@ -19,6 +19,13 @@ description: privacyValueDisallowContacts attributes, type and example $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowContacts"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/privacyValueDisallowUsers.md b/old_docs/API_docs_v66/constructors/privacyValueDisallowUsers.md index fa091a75..08f0537a 100644 --- a/old_docs/API_docs_v66/constructors/privacyValueDisallowUsers.md +++ b/old_docs/API_docs_v66/constructors/privacyValueDisallowUsers.md @@ -24,6 +24,13 @@ description: privacyValueDisallowUsers attributes, type and example $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [int], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"privacyValueDisallowUsers","users":["int"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/receivedNotifyMessage.md b/old_docs/API_docs_v66/constructors/receivedNotifyMessage.md index 3a03f349..e78cfdd1 100644 --- a/old_docs/API_docs_v66/constructors/receivedNotifyMessage.md +++ b/old_docs/API_docs_v66/constructors/receivedNotifyMessage.md @@ -24,6 +24,13 @@ description: receivedNotifyMessage attributes, type and example $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"receivedNotifyMessage","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/replyInlineMarkup.md b/old_docs/API_docs_v66/constructors/replyInlineMarkup.md index 4bc5d372..76e87dc2 100644 --- a/old_docs/API_docs_v66/constructors/replyInlineMarkup.md +++ b/old_docs/API_docs_v66/constructors/replyInlineMarkup.md @@ -24,6 +24,13 @@ description: replyInlineMarkup attributes, type and example $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyInlineMarkup","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v66/constructors/replyKeyboardForceReply.md index 4f319506..02a0779a 100644 --- a/old_docs/API_docs_v66/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v66/constructors/replyKeyboardForceReply.md @@ -25,6 +25,13 @@ description: replyKeyboardForceReply attributes, type and example $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardForceReply","single_use":"Bool","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/replyKeyboardHide.md b/old_docs/API_docs_v66/constructors/replyKeyboardHide.md index 56faa8dd..8b210933 100644 --- a/old_docs/API_docs_v66/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v66/constructors/replyKeyboardHide.md @@ -24,6 +24,13 @@ description: replyKeyboardHide attributes, type and example $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardHide","selective":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v66/constructors/replyKeyboardMarkup.md index 3cebc41f..4269aeb9 100644 --- a/old_docs/API_docs_v66/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v66/constructors/replyKeyboardMarkup.md @@ -27,6 +27,13 @@ description: replyKeyboardMarkup attributes, type and example $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"replyKeyboardMarkup","resize":"Bool","single_use":"Bool","selective":"Bool","rows":["KeyboardButtonRow"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/resPQ.md b/old_docs/API_docs_v66/constructors/resPQ.md index 8eb06349..67f30009 100644 --- a/old_docs/API_docs_v66/constructors/resPQ.md +++ b/old_docs/API_docs_v66/constructors/resPQ.md @@ -27,6 +27,13 @@ description: resPQ attributes, type and example $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => string, 'server_public_key_fingerprints' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"resPQ","nonce":"int128","server_nonce":"int128","pq":"string","server_public_key_fingerprints":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/rpc_answer_dropped.md b/old_docs/API_docs_v66/constructors/rpc_answer_dropped.md index acf2ee62..9ea5479b 100644 --- a/old_docs/API_docs_v66/constructors/rpc_answer_dropped.md +++ b/old_docs/API_docs_v66/constructors/rpc_answer_dropped.md @@ -26,6 +26,13 @@ description: rpc_answer_dropped attributes, type and example $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_answer_dropped","msg_id":"long","seq_no":"int","bytes":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/rpc_answer_dropped_running.md b/old_docs/API_docs_v66/constructors/rpc_answer_dropped_running.md index 0634b3d8..c3723abd 100644 --- a/old_docs/API_docs_v66/constructors/rpc_answer_dropped_running.md +++ b/old_docs/API_docs_v66/constructors/rpc_answer_dropped_running.md @@ -19,6 +19,13 @@ description: rpc_answer_dropped_running attributes, type and example $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_answer_dropped_running"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/rpc_answer_unknown.md b/old_docs/API_docs_v66/constructors/rpc_answer_unknown.md index 6e7b0a87..58132b7a 100644 --- a/old_docs/API_docs_v66/constructors/rpc_answer_unknown.md +++ b/old_docs/API_docs_v66/constructors/rpc_answer_unknown.md @@ -19,6 +19,13 @@ description: rpc_answer_unknown attributes, type and example $rpc_answer_unknown = ['_' => 'rpc_answer_unknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_answer_unknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/rpc_error.md b/old_docs/API_docs_v66/constructors/rpc_error.md index ec318a68..fe821e55 100644 --- a/old_docs/API_docs_v66/constructors/rpc_error.md +++ b/old_docs/API_docs_v66/constructors/rpc_error.md @@ -25,6 +25,13 @@ description: rpc_error attributes, type and example $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"rpc_error","error_code":"int","error_message":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/sendMessageCancelAction.md b/old_docs/API_docs_v66/constructors/sendMessageCancelAction.md index 7305433b..ff9df714 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageCancelAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageCancelAction.md @@ -19,6 +19,13 @@ description: sendMessageCancelAction attributes, type and example $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageCancelAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/sendMessageChooseContactAction.md b/old_docs/API_docs_v66/constructors/sendMessageChooseContactAction.md index 2505a555..f8533cb4 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageChooseContactAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageChooseContactAction.md @@ -19,6 +19,13 @@ description: sendMessageChooseContactAction attributes, type and example $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageChooseContactAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/sendMessageGamePlayAction.md b/old_docs/API_docs_v66/constructors/sendMessageGamePlayAction.md index 9d1c7e57..3fa832ac 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageGamePlayAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageGamePlayAction.md @@ -19,6 +19,13 @@ description: sendMessageGamePlayAction attributes, type and example $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGamePlayAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/sendMessageGeoLocationAction.md b/old_docs/API_docs_v66/constructors/sendMessageGeoLocationAction.md index adca3e35..de18844a 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageGeoLocationAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageGeoLocationAction.md @@ -19,6 +19,13 @@ description: sendMessageGeoLocationAction attributes, type and example $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageGeoLocationAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/sendMessageRecordAudioAction.md b/old_docs/API_docs_v66/constructors/sendMessageRecordAudioAction.md index fd177dee..fd8d5ec7 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageRecordAudioAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageRecordAudioAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordAudioAction attributes, type and example $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordAudioAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/sendMessageRecordRoundAction.md b/old_docs/API_docs_v66/constructors/sendMessageRecordRoundAction.md index f9414a04..254558be 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageRecordRoundAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageRecordRoundAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordRoundAction attributes, type and example $sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordRoundAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/sendMessageRecordVideoAction.md b/old_docs/API_docs_v66/constructors/sendMessageRecordVideoAction.md index 8baca1e0..2d2cc0ad 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageRecordVideoAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageRecordVideoAction.md @@ -19,6 +19,13 @@ description: sendMessageRecordVideoAction attributes, type and example $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageRecordVideoAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/sendMessageTypingAction.md b/old_docs/API_docs_v66/constructors/sendMessageTypingAction.md index a8794cad..e7db54b2 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageTypingAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageTypingAction.md @@ -19,6 +19,13 @@ description: sendMessageTypingAction attributes, type and example $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageTypingAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/sendMessageUploadAudioAction.md b/old_docs/API_docs_v66/constructors/sendMessageUploadAudioAction.md index da90a13e..4d9be79b 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadAudioAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadAudioAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadAudioAction attributes, type and example $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadAudioAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/sendMessageUploadDocumentAction.md b/old_docs/API_docs_v66/constructors/sendMessageUploadDocumentAction.md index 92379577..882c232c 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadDocumentAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadDocumentAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadDocumentAction attributes, type and example $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadDocumentAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/sendMessageUploadPhotoAction.md b/old_docs/API_docs_v66/constructors/sendMessageUploadPhotoAction.md index 8c4e8ccb..e4dd0024 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadPhotoAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadPhotoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadPhotoAction attributes, type and example $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadPhotoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/sendMessageUploadRoundAction.md b/old_docs/API_docs_v66/constructors/sendMessageUploadRoundAction.md index 50ad0c37..2cfcfc17 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadRoundAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadRoundAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadRoundAction attributes, type and example $sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadRoundAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/sendMessageUploadVideoAction.md b/old_docs/API_docs_v66/constructors/sendMessageUploadVideoAction.md index 1b7c138c..1762b2be 100644 --- a/old_docs/API_docs_v66/constructors/sendMessageUploadVideoAction.md +++ b/old_docs/API_docs_v66/constructors/sendMessageUploadVideoAction.md @@ -24,6 +24,13 @@ description: sendMessageUploadVideoAction attributes, type and example $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"sendMessageUploadVideoAction","progress":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/server_DH_inner_data.md b/old_docs/API_docs_v66/constructors/server_DH_inner_data.md index 45715e9e..48ee3b47 100644 --- a/old_docs/API_docs_v66/constructors/server_DH_inner_data.md +++ b/old_docs/API_docs_v66/constructors/server_DH_inner_data.md @@ -29,6 +29,13 @@ 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' => string, 'g_a' => string, 'server_time' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"server_DH_inner_data","nonce":"int128","server_nonce":"int128","g":"int","dh_prime":"string","g_a":"string","server_time":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/server_DH_params_fail.md b/old_docs/API_docs_v66/constructors/server_DH_params_fail.md index 5540efcd..69df7594 100644 --- a/old_docs/API_docs_v66/constructors/server_DH_params_fail.md +++ b/old_docs/API_docs_v66/constructors/server_DH_params_fail.md @@ -26,6 +26,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"server_DH_params_fail","nonce":"int128","server_nonce":"int128","new_nonce_hash":"int128"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/server_DH_params_ok.md b/old_docs/API_docs_v66/constructors/server_DH_params_ok.md index cc60418b..724e78f0 100644 --- a/old_docs/API_docs_v66/constructors/server_DH_params_ok.md +++ b/old_docs/API_docs_v66/constructors/server_DH_params_ok.md @@ -26,6 +26,13 @@ description: server_DH_params_ok attributes, type and example $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"server_DH_params_ok","nonce":"int128","server_nonce":"int128","encrypted_answer":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/shippingOption.md b/old_docs/API_docs_v66/constructors/shippingOption.md index be609c8f..cc20da56 100644 --- a/old_docs/API_docs_v66/constructors/shippingOption.md +++ b/old_docs/API_docs_v66/constructors/shippingOption.md @@ -26,6 +26,13 @@ description: shippingOption attributes, type and example $shippingOption = ['_' => 'shippingOption', 'id' => string, 'title' => string, 'prices' => [LabeledPrice], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"shippingOption","id":"string","title":"string","prices":["LabeledPrice"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/stickerPack.md b/old_docs/API_docs_v66/constructors/stickerPack.md index 426bb248..454c26ac 100644 --- a/old_docs/API_docs_v66/constructors/stickerPack.md +++ b/old_docs/API_docs_v66/constructors/stickerPack.md @@ -25,6 +25,13 @@ description: stickerPack attributes, type and example $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerPack","emoticon":"string","documents":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/stickerSet.md b/old_docs/API_docs_v66/constructors/stickerSet.md index 183cd048..20964d59 100644 --- a/old_docs/API_docs_v66/constructors/stickerSet.md +++ b/old_docs/API_docs_v66/constructors/stickerSet.md @@ -33,6 +33,13 @@ description: stickerSet attributes, type and example $stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSet","installed":"Bool","archived":"Bool","official":"Bool","masks":"Bool","id":"long","access_hash":"long","title":"string","short_name":"string","count":"int","hash":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/stickerSetCovered.md b/old_docs/API_docs_v66/constructors/stickerSetCovered.md index db800fff..3421f170 100644 --- a/old_docs/API_docs_v66/constructors/stickerSetCovered.md +++ b/old_docs/API_docs_v66/constructors/stickerSetCovered.md @@ -25,6 +25,13 @@ description: stickerSetCovered attributes, type and example $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSetCovered","set":"StickerSet","cover":"Document"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/stickerSetMultiCovered.md b/old_docs/API_docs_v66/constructors/stickerSetMultiCovered.md index 78ed7ea0..c71c0503 100644 --- a/old_docs/API_docs_v66/constructors/stickerSetMultiCovered.md +++ b/old_docs/API_docs_v66/constructors/stickerSetMultiCovered.md @@ -25,6 +25,13 @@ description: stickerSetMultiCovered attributes, type and example $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Document], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"stickerSetMultiCovered","set":"StickerSet","covers":["Document"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/storage_fileGif.md b/old_docs/API_docs_v66/constructors/storage_fileGif.md index 5e8258f5..3ed39100 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileGif.md +++ b/old_docs/API_docs_v66/constructors/storage_fileGif.md @@ -19,6 +19,13 @@ description: storage_fileGif attributes, type and example $storage_fileGif = ['_' => 'storage.fileGif', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileGif"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/storage_fileJpeg.md b/old_docs/API_docs_v66/constructors/storage_fileJpeg.md index 4b47bd46..201d5827 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileJpeg.md +++ b/old_docs/API_docs_v66/constructors/storage_fileJpeg.md @@ -19,6 +19,13 @@ description: storage_fileJpeg attributes, type and example $storage_fileJpeg = ['_' => 'storage.fileJpeg', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileJpeg"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/storage_fileMov.md b/old_docs/API_docs_v66/constructors/storage_fileMov.md index 97538ded..875499c9 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileMov.md +++ b/old_docs/API_docs_v66/constructors/storage_fileMov.md @@ -19,6 +19,13 @@ description: storage_fileMov attributes, type and example $storage_fileMov = ['_' => 'storage.fileMov', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMov"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/storage_fileMp3.md b/old_docs/API_docs_v66/constructors/storage_fileMp3.md index d786437f..6aa9ff3a 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileMp3.md +++ b/old_docs/API_docs_v66/constructors/storage_fileMp3.md @@ -19,6 +19,13 @@ description: storage_fileMp3 attributes, type and example $storage_fileMp3 = ['_' => 'storage.fileMp3', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp3"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/storage_fileMp4.md b/old_docs/API_docs_v66/constructors/storage_fileMp4.md index 4c1ba1a6..3b1a46ee 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileMp4.md +++ b/old_docs/API_docs_v66/constructors/storage_fileMp4.md @@ -19,6 +19,13 @@ description: storage_fileMp4 attributes, type and example $storage_fileMp4 = ['_' => 'storage.fileMp4', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileMp4"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/storage_filePartial.md b/old_docs/API_docs_v66/constructors/storage_filePartial.md index 8211f130..b21ebe5a 100644 --- a/old_docs/API_docs_v66/constructors/storage_filePartial.md +++ b/old_docs/API_docs_v66/constructors/storage_filePartial.md @@ -19,6 +19,13 @@ description: storage_filePartial attributes, type and example $storage_filePartial = ['_' => 'storage.filePartial', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePartial"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/storage_filePdf.md b/old_docs/API_docs_v66/constructors/storage_filePdf.md index 35de04e9..81ec6747 100644 --- a/old_docs/API_docs_v66/constructors/storage_filePdf.md +++ b/old_docs/API_docs_v66/constructors/storage_filePdf.md @@ -19,6 +19,13 @@ description: storage_filePdf attributes, type and example $storage_filePdf = ['_' => 'storage.filePdf', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePdf"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/storage_filePng.md b/old_docs/API_docs_v66/constructors/storage_filePng.md index 72c71ab4..456bfc2c 100644 --- a/old_docs/API_docs_v66/constructors/storage_filePng.md +++ b/old_docs/API_docs_v66/constructors/storage_filePng.md @@ -19,6 +19,13 @@ description: storage_filePng attributes, type and example $storage_filePng = ['_' => 'storage.filePng', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.filePng"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/storage_fileUnknown.md b/old_docs/API_docs_v66/constructors/storage_fileUnknown.md index e56b9d06..6ee1a0af 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileUnknown.md +++ b/old_docs/API_docs_v66/constructors/storage_fileUnknown.md @@ -19,6 +19,13 @@ description: storage_fileUnknown attributes, type and example $storage_fileUnknown = ['_' => 'storage.fileUnknown', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileUnknown"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/storage_fileWebp.md b/old_docs/API_docs_v66/constructors/storage_fileWebp.md index 637ef45a..f034d8cf 100644 --- a/old_docs/API_docs_v66/constructors/storage_fileWebp.md +++ b/old_docs/API_docs_v66/constructors/storage_fileWebp.md @@ -19,6 +19,13 @@ description: storage_fileWebp attributes, type and example $storage_fileWebp = ['_' => 'storage.fileWebp', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"storage.fileWebp"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/textBold.md b/old_docs/API_docs_v66/constructors/textBold.md index 5ecdceee..e701f64a 100644 --- a/old_docs/API_docs_v66/constructors/textBold.md +++ b/old_docs/API_docs_v66/constructors/textBold.md @@ -24,6 +24,13 @@ description: textBold attributes, type and example $textBold = ['_' => 'textBold', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textBold","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/textConcat.md b/old_docs/API_docs_v66/constructors/textConcat.md index a32a7403..4cb1d8b4 100644 --- a/old_docs/API_docs_v66/constructors/textConcat.md +++ b/old_docs/API_docs_v66/constructors/textConcat.md @@ -24,6 +24,13 @@ description: textConcat attributes, type and example $textConcat = ['_' => 'textConcat', 'texts' => [RichText], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textConcat","texts":["RichText"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/textEmail.md b/old_docs/API_docs_v66/constructors/textEmail.md index 666b9708..269829ac 100644 --- a/old_docs/API_docs_v66/constructors/textEmail.md +++ b/old_docs/API_docs_v66/constructors/textEmail.md @@ -25,6 +25,13 @@ description: textEmail attributes, type and example $textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textEmail","text":"RichText","email":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/textEmpty.md b/old_docs/API_docs_v66/constructors/textEmpty.md index f583a5ad..9e0b229a 100644 --- a/old_docs/API_docs_v66/constructors/textEmpty.md +++ b/old_docs/API_docs_v66/constructors/textEmpty.md @@ -19,6 +19,13 @@ description: textEmpty attributes, type and example $textEmpty = ['_' => 'textEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/textFixed.md b/old_docs/API_docs_v66/constructors/textFixed.md index 44c06b65..892359ad 100644 --- a/old_docs/API_docs_v66/constructors/textFixed.md +++ b/old_docs/API_docs_v66/constructors/textFixed.md @@ -24,6 +24,13 @@ description: textFixed attributes, type and example $textFixed = ['_' => 'textFixed', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textFixed","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/textItalic.md b/old_docs/API_docs_v66/constructors/textItalic.md index 738aa112..d8911436 100644 --- a/old_docs/API_docs_v66/constructors/textItalic.md +++ b/old_docs/API_docs_v66/constructors/textItalic.md @@ -24,6 +24,13 @@ description: textItalic attributes, type and example $textItalic = ['_' => 'textItalic', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textItalic","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/textPlain.md b/old_docs/API_docs_v66/constructors/textPlain.md index 30d8e9e7..9a4a04f2 100644 --- a/old_docs/API_docs_v66/constructors/textPlain.md +++ b/old_docs/API_docs_v66/constructors/textPlain.md @@ -24,6 +24,13 @@ description: textPlain attributes, type and example $textPlain = ['_' => 'textPlain', 'text' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textPlain","text":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/textStrike.md b/old_docs/API_docs_v66/constructors/textStrike.md index c8726973..5fcf7345 100644 --- a/old_docs/API_docs_v66/constructors/textStrike.md +++ b/old_docs/API_docs_v66/constructors/textStrike.md @@ -24,6 +24,13 @@ description: textStrike attributes, type and example $textStrike = ['_' => 'textStrike', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textStrike","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/textUnderline.md b/old_docs/API_docs_v66/constructors/textUnderline.md index 765c290a..6c9e19d1 100644 --- a/old_docs/API_docs_v66/constructors/textUnderline.md +++ b/old_docs/API_docs_v66/constructors/textUnderline.md @@ -24,6 +24,13 @@ description: textUnderline attributes, type and example $textUnderline = ['_' => 'textUnderline', 'text' => RichText, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textUnderline","text":"RichText"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/textUrl.md b/old_docs/API_docs_v66/constructors/textUrl.md index 3552c6fd..f8df8e96 100644 --- a/old_docs/API_docs_v66/constructors/textUrl.md +++ b/old_docs/API_docs_v66/constructors/textUrl.md @@ -26,6 +26,13 @@ description: textUrl attributes, type and example $textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => string, 'webpage_id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"textUrl","text":"RichText","url":"string","webpage_id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/topPeer.md b/old_docs/API_docs_v66/constructors/topPeer.md index 016a7857..25b4c2c3 100644 --- a/old_docs/API_docs_v66/constructors/topPeer.md +++ b/old_docs/API_docs_v66/constructors/topPeer.md @@ -25,6 +25,13 @@ description: topPeer attributes, type and example $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeer","peer":"Peer","rating":"double"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryBotsInline.md b/old_docs/API_docs_v66/constructors/topPeerCategoryBotsInline.md index 30fa513f..e6dc94bf 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryBotsInline.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryBotsInline.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsInline attributes, type and example $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsInline"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryBotsPM.md b/old_docs/API_docs_v66/constructors/topPeerCategoryBotsPM.md index f87934ed..07fc07da 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryBotsPM.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryBotsPM.md @@ -19,6 +19,13 @@ description: topPeerCategoryBotsPM attributes, type and example $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryBotsPM"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryChannels.md b/old_docs/API_docs_v66/constructors/topPeerCategoryChannels.md index 6b72af0a..61f1750a 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryChannels.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryChannels.md @@ -19,6 +19,13 @@ description: topPeerCategoryChannels attributes, type and example $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryChannels"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryCorrespondents.md b/old_docs/API_docs_v66/constructors/topPeerCategoryCorrespondents.md index c45dee85..735ff49e 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryCorrespondents.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryCorrespondents.md @@ -19,6 +19,13 @@ description: topPeerCategoryCorrespondents attributes, type and example $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryCorrespondents"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryGroups.md b/old_docs/API_docs_v66/constructors/topPeerCategoryGroups.md index 3f6c8fdf..4ae25a25 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryGroups.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryGroups.md @@ -19,6 +19,13 @@ description: topPeerCategoryGroups attributes, type and example $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryGroups"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/topPeerCategoryPeers.md b/old_docs/API_docs_v66/constructors/topPeerCategoryPeers.md index 8fd2021b..655db3fb 100644 --- a/old_docs/API_docs_v66/constructors/topPeerCategoryPeers.md +++ b/old_docs/API_docs_v66/constructors/topPeerCategoryPeers.md @@ -26,6 +26,13 @@ description: topPeerCategoryPeers attributes, type and example $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [TopPeer], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"topPeerCategoryPeers","category":"TopPeerCategory","count":"int","peers":["TopPeer"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/true.md b/old_docs/API_docs_v66/constructors/true.md index 1887f124..ceac169d 100644 --- a/old_docs/API_docs_v66/constructors/true.md +++ b/old_docs/API_docs_v66/constructors/true.md @@ -19,6 +19,13 @@ description: true attributes, type and example $true = ['_' => 'true', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"true"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateBotCallbackQuery.md b/old_docs/API_docs_v66/constructors/updateBotCallbackQuery.md index 9813adb2..8275bafc 100644 --- a/old_docs/API_docs_v66/constructors/updateBotCallbackQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotCallbackQuery.md @@ -30,6 +30,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotCallbackQuery","query_id":"long","user_id":"int","peer":"Peer","msg_id":"int","chat_instance":"long","data":"bytes","game_short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateBotInlineQuery.md b/old_docs/API_docs_v66/constructors/updateBotInlineQuery.md index 5cc6956a..9002aa9b 100644 --- a/old_docs/API_docs_v66/constructors/updateBotInlineQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotInlineQuery.md @@ -28,6 +28,13 @@ description: updateBotInlineQuery attributes, type and example $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineQuery","query_id":"long","user_id":"int","query":"string","geo":"GeoPoint","offset":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateBotInlineSend.md b/old_docs/API_docs_v66/constructors/updateBotInlineSend.md index fb062eb3..816f950f 100644 --- a/old_docs/API_docs_v66/constructors/updateBotInlineSend.md +++ b/old_docs/API_docs_v66/constructors/updateBotInlineSend.md @@ -28,6 +28,13 @@ description: updateBotInlineSend attributes, type and example $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotInlineSend","user_id":"int","query":"string","geo":"GeoPoint","id":"string","msg_id":"InputBotInlineMessageID"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateBotPrecheckoutQuery.md b/old_docs/API_docs_v66/constructors/updateBotPrecheckoutQuery.md index b9a43154..39c5ac38 100644 --- a/old_docs/API_docs_v66/constructors/updateBotPrecheckoutQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotPrecheckoutQuery.md @@ -30,6 +30,13 @@ description: updateBotPrecheckoutQuery attributes, type and example $updateBotPrecheckoutQuery = ['_' => 'updateBotPrecheckoutQuery', 'query_id' => long, 'user_id' => int, 'payload' => bytes, 'info' => PaymentRequestedInfo, 'shipping_option_id' => string, 'currency' => string, 'total_amount' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotPrecheckoutQuery","query_id":"long","user_id":"int","payload":"bytes","info":"PaymentRequestedInfo","shipping_option_id":"string","currency":"string","total_amount":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateBotShippingQuery.md b/old_docs/API_docs_v66/constructors/updateBotShippingQuery.md index 3e2af1f8..070149e1 100644 --- a/old_docs/API_docs_v66/constructors/updateBotShippingQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotShippingQuery.md @@ -27,6 +27,13 @@ description: updateBotShippingQuery attributes, type and example $updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => bytes, 'shipping_address' => PostAddress, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotShippingQuery","query_id":"long","user_id":"int","payload":"bytes","shipping_address":"PostAddress"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateBotWebhookJSON.md b/old_docs/API_docs_v66/constructors/updateBotWebhookJSON.md index 25f42036..d5785cac 100644 --- a/old_docs/API_docs_v66/constructors/updateBotWebhookJSON.md +++ b/old_docs/API_docs_v66/constructors/updateBotWebhookJSON.md @@ -24,6 +24,13 @@ description: updateBotWebhookJSON attributes, type and example $updateBotWebhookJSON = ['_' => 'updateBotWebhookJSON', 'data' => DataJSON, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotWebhookJSON","data":"DataJSON"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateBotWebhookJSONQuery.md b/old_docs/API_docs_v66/constructors/updateBotWebhookJSONQuery.md index ef58ba54..ffcaaa4b 100644 --- a/old_docs/API_docs_v66/constructors/updateBotWebhookJSONQuery.md +++ b/old_docs/API_docs_v66/constructors/updateBotWebhookJSONQuery.md @@ -26,6 +26,13 @@ description: updateBotWebhookJSONQuery attributes, type and example $updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateBotWebhookJSONQuery","query_id":"long","data":"DataJSON","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateChannel.md b/old_docs/API_docs_v66/constructors/updateChannel.md index 9c7a21fd..a10bf4c2 100644 --- a/old_docs/API_docs_v66/constructors/updateChannel.md +++ b/old_docs/API_docs_v66/constructors/updateChannel.md @@ -24,6 +24,13 @@ description: updateChannel attributes, type and example $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannel","channel_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateChannelMessageViews.md b/old_docs/API_docs_v66/constructors/updateChannelMessageViews.md index 1513c598..13ae518f 100644 --- a/old_docs/API_docs_v66/constructors/updateChannelMessageViews.md +++ b/old_docs/API_docs_v66/constructors/updateChannelMessageViews.md @@ -26,6 +26,13 @@ description: updateChannelMessageViews attributes, type and example $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelMessageViews","channel_id":"int","id":"int","views":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateChannelPinnedMessage.md b/old_docs/API_docs_v66/constructors/updateChannelPinnedMessage.md index f6179fd7..cbdc70c7 100644 --- a/old_docs/API_docs_v66/constructors/updateChannelPinnedMessage.md +++ b/old_docs/API_docs_v66/constructors/updateChannelPinnedMessage.md @@ -25,6 +25,13 @@ description: updateChannelPinnedMessage attributes, type and example $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelPinnedMessage","channel_id":"int","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateChannelTooLong.md b/old_docs/API_docs_v66/constructors/updateChannelTooLong.md index c6a74206..f0a327af 100644 --- a/old_docs/API_docs_v66/constructors/updateChannelTooLong.md +++ b/old_docs/API_docs_v66/constructors/updateChannelTooLong.md @@ -25,6 +25,13 @@ description: updateChannelTooLong attributes, type and example $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelTooLong","channel_id":"int","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateChannelWebPage.md b/old_docs/API_docs_v66/constructors/updateChannelWebPage.md index ba04b77e..e587d33e 100644 --- a/old_docs/API_docs_v66/constructors/updateChannelWebPage.md +++ b/old_docs/API_docs_v66/constructors/updateChannelWebPage.md @@ -27,6 +27,13 @@ description: updateChannelWebPage attributes, type and example $updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => int, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChannelWebPage","channel_id":"int","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateChatAdmins.md b/old_docs/API_docs_v66/constructors/updateChatAdmins.md index 36fb3614..bf391961 100644 --- a/old_docs/API_docs_v66/constructors/updateChatAdmins.md +++ b/old_docs/API_docs_v66/constructors/updateChatAdmins.md @@ -26,6 +26,13 @@ description: updateChatAdmins attributes, type and example $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatAdmins","chat_id":"int","enabled":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateChatParticipantAdd.md b/old_docs/API_docs_v66/constructors/updateChatParticipantAdd.md index 8b6e5531..6fa9338d 100644 --- a/old_docs/API_docs_v66/constructors/updateChatParticipantAdd.md +++ b/old_docs/API_docs_v66/constructors/updateChatParticipantAdd.md @@ -28,6 +28,13 @@ description: updateChatParticipantAdd attributes, type and example $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdd","chat_id":"int","user_id":"int","inviter_id":"int","date":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateChatParticipantAdmin.md b/old_docs/API_docs_v66/constructors/updateChatParticipantAdmin.md index fbb2cdae..ba5bbc95 100644 --- a/old_docs/API_docs_v66/constructors/updateChatParticipantAdmin.md +++ b/old_docs/API_docs_v66/constructors/updateChatParticipantAdmin.md @@ -27,6 +27,13 @@ description: updateChatParticipantAdmin attributes, type and example $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantAdmin","chat_id":"int","user_id":"int","is_admin":"Bool","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateChatParticipantDelete.md b/old_docs/API_docs_v66/constructors/updateChatParticipantDelete.md index 1dade6e2..5575f116 100644 --- a/old_docs/API_docs_v66/constructors/updateChatParticipantDelete.md +++ b/old_docs/API_docs_v66/constructors/updateChatParticipantDelete.md @@ -26,6 +26,13 @@ description: updateChatParticipantDelete attributes, type and example $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipantDelete","chat_id":"int","user_id":"int","version":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateChatParticipants.md b/old_docs/API_docs_v66/constructors/updateChatParticipants.md index 26ef66c5..fc0825fe 100644 --- a/old_docs/API_docs_v66/constructors/updateChatParticipants.md +++ b/old_docs/API_docs_v66/constructors/updateChatParticipants.md @@ -24,6 +24,13 @@ description: updateChatParticipants attributes, type and example $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatParticipants","participants":"ChatParticipants"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateChatUserTyping.md b/old_docs/API_docs_v66/constructors/updateChatUserTyping.md index 190baf29..777d70ac 100644 --- a/old_docs/API_docs_v66/constructors/updateChatUserTyping.md +++ b/old_docs/API_docs_v66/constructors/updateChatUserTyping.md @@ -26,6 +26,13 @@ description: updateChatUserTyping attributes, type and example $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateChatUserTyping","chat_id":"int","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateConfig.md b/old_docs/API_docs_v66/constructors/updateConfig.md index 34692274..ed455bd6 100644 --- a/old_docs/API_docs_v66/constructors/updateConfig.md +++ b/old_docs/API_docs_v66/constructors/updateConfig.md @@ -19,6 +19,13 @@ description: updateConfig attributes, type and example $updateConfig = ['_' => 'updateConfig', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateConfig"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateContactLink.md b/old_docs/API_docs_v66/constructors/updateContactLink.md index 3c25d582..31dfb463 100644 --- a/old_docs/API_docs_v66/constructors/updateContactLink.md +++ b/old_docs/API_docs_v66/constructors/updateContactLink.md @@ -26,6 +26,13 @@ description: updateContactLink attributes, type and example $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactLink","user_id":"int","my_link":"ContactLink","foreign_link":"ContactLink"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateContactRegistered.md b/old_docs/API_docs_v66/constructors/updateContactRegistered.md index 3fa15233..5f859e81 100644 --- a/old_docs/API_docs_v66/constructors/updateContactRegistered.md +++ b/old_docs/API_docs_v66/constructors/updateContactRegistered.md @@ -25,6 +25,13 @@ description: updateContactRegistered attributes, type and example $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateContactRegistered","user_id":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateDcOptions.md b/old_docs/API_docs_v66/constructors/updateDcOptions.md index 292ca377..6d7f0767 100644 --- a/old_docs/API_docs_v66/constructors/updateDcOptions.md +++ b/old_docs/API_docs_v66/constructors/updateDcOptions.md @@ -24,6 +24,13 @@ description: updateDcOptions attributes, type and example $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [DcOption], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDcOptions","dc_options":["DcOption"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateDeleteChannelMessages.md b/old_docs/API_docs_v66/constructors/updateDeleteChannelMessages.md index 6f8c20d5..a078a880 100644 --- a/old_docs/API_docs_v66/constructors/updateDeleteChannelMessages.md +++ b/old_docs/API_docs_v66/constructors/updateDeleteChannelMessages.md @@ -27,6 +27,13 @@ description: updateDeleteChannelMessages attributes, type and example $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteChannelMessages","channel_id":"int","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateDeleteMessages.md b/old_docs/API_docs_v66/constructors/updateDeleteMessages.md index 5b6bc87e..dd96c5a9 100644 --- a/old_docs/API_docs_v66/constructors/updateDeleteMessages.md +++ b/old_docs/API_docs_v66/constructors/updateDeleteMessages.md @@ -26,6 +26,13 @@ description: updateDeleteMessages attributes, type and example $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDeleteMessages","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateDialogPinned.md b/old_docs/API_docs_v66/constructors/updateDialogPinned.md index 0851cb65..38eb9c2d 100644 --- a/old_docs/API_docs_v66/constructors/updateDialogPinned.md +++ b/old_docs/API_docs_v66/constructors/updateDialogPinned.md @@ -25,6 +25,13 @@ description: updateDialogPinned attributes, type and example $updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDialogPinned","pinned":"Bool","peer":"Peer"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateDraftMessage.md b/old_docs/API_docs_v66/constructors/updateDraftMessage.md index 3eb98097..5dedfd93 100644 --- a/old_docs/API_docs_v66/constructors/updateDraftMessage.md +++ b/old_docs/API_docs_v66/constructors/updateDraftMessage.md @@ -25,6 +25,13 @@ description: updateDraftMessage attributes, type and example $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateDraftMessage","peer":"Peer","draft":"DraftMessage"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateEditChannelMessage.md b/old_docs/API_docs_v66/constructors/updateEditChannelMessage.md index 65a44b23..f2d2b288 100644 --- a/old_docs/API_docs_v66/constructors/updateEditChannelMessage.md +++ b/old_docs/API_docs_v66/constructors/updateEditChannelMessage.md @@ -26,6 +26,13 @@ description: updateEditChannelMessage attributes, type and example $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateEditMessage.md b/old_docs/API_docs_v66/constructors/updateEditMessage.md index 7b681445..3e2f86a3 100644 --- a/old_docs/API_docs_v66/constructors/updateEditMessage.md +++ b/old_docs/API_docs_v66/constructors/updateEditMessage.md @@ -26,6 +26,13 @@ description: updateEditMessage attributes, type and example $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEditMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateEncryptedChatTyping.md b/old_docs/API_docs_v66/constructors/updateEncryptedChatTyping.md index 4e90263d..73129046 100644 --- a/old_docs/API_docs_v66/constructors/updateEncryptedChatTyping.md +++ b/old_docs/API_docs_v66/constructors/updateEncryptedChatTyping.md @@ -24,6 +24,13 @@ description: updateEncryptedChatTyping attributes, type and example $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedChatTyping","chat_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateEncryptedMessagesRead.md b/old_docs/API_docs_v66/constructors/updateEncryptedMessagesRead.md index 4e72f505..c56eea40 100644 --- a/old_docs/API_docs_v66/constructors/updateEncryptedMessagesRead.md +++ b/old_docs/API_docs_v66/constructors/updateEncryptedMessagesRead.md @@ -26,6 +26,13 @@ description: updateEncryptedMessagesRead attributes, type and example $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryptedMessagesRead","chat_id":"int","max_date":"int","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateEncryption.md b/old_docs/API_docs_v66/constructors/updateEncryption.md index ac1b1496..e84a644c 100644 --- a/old_docs/API_docs_v66/constructors/updateEncryption.md +++ b/old_docs/API_docs_v66/constructors/updateEncryption.md @@ -25,6 +25,13 @@ description: updateEncryption attributes, type and example $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateEncryption","chat":"EncryptedChat","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateInlineBotCallbackQuery.md b/old_docs/API_docs_v66/constructors/updateInlineBotCallbackQuery.md index c358c306..a0fbf330 100644 --- a/old_docs/API_docs_v66/constructors/updateInlineBotCallbackQuery.md +++ b/old_docs/API_docs_v66/constructors/updateInlineBotCallbackQuery.md @@ -29,6 +29,13 @@ 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, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateInlineBotCallbackQuery","query_id":"long","user_id":"int","msg_id":"InputBotInlineMessageID","chat_instance":"long","data":"bytes","game_short_name":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateMessageID.md b/old_docs/API_docs_v66/constructors/updateMessageID.md index b78365f7..c6c04821 100644 --- a/old_docs/API_docs_v66/constructors/updateMessageID.md +++ b/old_docs/API_docs_v66/constructors/updateMessageID.md @@ -24,6 +24,13 @@ description: updateMessageID attributes, type and example $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateMessageID","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateNewChannelMessage.md b/old_docs/API_docs_v66/constructors/updateNewChannelMessage.md index 4eef5bf5..93e7d15b 100644 --- a/old_docs/API_docs_v66/constructors/updateNewChannelMessage.md +++ b/old_docs/API_docs_v66/constructors/updateNewChannelMessage.md @@ -26,6 +26,13 @@ description: updateNewChannelMessage attributes, type and example $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewChannelMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateNewEncryptedMessage.md b/old_docs/API_docs_v66/constructors/updateNewEncryptedMessage.md index d606b7b0..225b65c3 100644 --- a/old_docs/API_docs_v66/constructors/updateNewEncryptedMessage.md +++ b/old_docs/API_docs_v66/constructors/updateNewEncryptedMessage.md @@ -25,6 +25,13 @@ description: updateNewEncryptedMessage attributes, type and example $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewEncryptedMessage","message":"EncryptedMessage","qts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateNewMessage.md b/old_docs/API_docs_v66/constructors/updateNewMessage.md index 600ca7e7..2e5e1ae4 100644 --- a/old_docs/API_docs_v66/constructors/updateNewMessage.md +++ b/old_docs/API_docs_v66/constructors/updateNewMessage.md @@ -26,6 +26,13 @@ description: updateNewMessage attributes, type and example $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewMessage","message":"Message","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateNewStickerSet.md b/old_docs/API_docs_v66/constructors/updateNewStickerSet.md index ccb4f17f..919c3ad8 100644 --- a/old_docs/API_docs_v66/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v66/constructors/updateNewStickerSet.md @@ -24,6 +24,13 @@ description: updateNewStickerSet attributes, type and example $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNewStickerSet","stickerset":"messages_StickerSet"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateNotifySettings.md b/old_docs/API_docs_v66/constructors/updateNotifySettings.md index 3435275f..91374404 100644 --- a/old_docs/API_docs_v66/constructors/updateNotifySettings.md +++ b/old_docs/API_docs_v66/constructors/updateNotifySettings.md @@ -25,6 +25,13 @@ description: updateNotifySettings attributes, type and example $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateNotifySettings","peer":"NotifyPeer","notify_settings":"PeerNotifySettings"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updatePhoneCall.md b/old_docs/API_docs_v66/constructors/updatePhoneCall.md index 6bddbe82..f124d856 100644 --- a/old_docs/API_docs_v66/constructors/updatePhoneCall.md +++ b/old_docs/API_docs_v66/constructors/updatePhoneCall.md @@ -24,6 +24,13 @@ description: updatePhoneCall attributes, type and example $updatePhoneCall = ['_' => 'updatePhoneCall', 'phone_call' => PhoneCall, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePhoneCall","phone_call":"PhoneCall"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updatePinnedDialogs.md b/old_docs/API_docs_v66/constructors/updatePinnedDialogs.md index 1a62c188..cca37904 100644 --- a/old_docs/API_docs_v66/constructors/updatePinnedDialogs.md +++ b/old_docs/API_docs_v66/constructors/updatePinnedDialogs.md @@ -24,6 +24,13 @@ description: updatePinnedDialogs attributes, type and example $updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePinnedDialogs","order":["Peer"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updatePrivacy.md b/old_docs/API_docs_v66/constructors/updatePrivacy.md index 9a0afd71..c355fece 100644 --- a/old_docs/API_docs_v66/constructors/updatePrivacy.md +++ b/old_docs/API_docs_v66/constructors/updatePrivacy.md @@ -25,6 +25,13 @@ description: updatePrivacy attributes, type and example $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [PrivacyRule], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePrivacy","key":"PrivacyKey","rules":["PrivacyRule"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updatePtsChanged.md b/old_docs/API_docs_v66/constructors/updatePtsChanged.md index d8103452..bc4c62dd 100644 --- a/old_docs/API_docs_v66/constructors/updatePtsChanged.md +++ b/old_docs/API_docs_v66/constructors/updatePtsChanged.md @@ -19,6 +19,13 @@ description: updatePtsChanged attributes, type and example $updatePtsChanged = ['_' => 'updatePtsChanged', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatePtsChanged"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateReadChannelInbox.md b/old_docs/API_docs_v66/constructors/updateReadChannelInbox.md index 08928ad8..b5aea850 100644 --- a/old_docs/API_docs_v66/constructors/updateReadChannelInbox.md +++ b/old_docs/API_docs_v66/constructors/updateReadChannelInbox.md @@ -25,6 +25,13 @@ description: updateReadChannelInbox attributes, type and example $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelInbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateReadChannelOutbox.md b/old_docs/API_docs_v66/constructors/updateReadChannelOutbox.md index 162db1ec..5e1ce23d 100644 --- a/old_docs/API_docs_v66/constructors/updateReadChannelOutbox.md +++ b/old_docs/API_docs_v66/constructors/updateReadChannelOutbox.md @@ -25,6 +25,13 @@ description: updateReadChannelOutbox attributes, type and example $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadChannelOutbox","channel_id":"int","max_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateReadFeaturedStickers.md b/old_docs/API_docs_v66/constructors/updateReadFeaturedStickers.md index 2f548027..7b10baa4 100644 --- a/old_docs/API_docs_v66/constructors/updateReadFeaturedStickers.md +++ b/old_docs/API_docs_v66/constructors/updateReadFeaturedStickers.md @@ -19,6 +19,13 @@ description: updateReadFeaturedStickers attributes, type and example $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadFeaturedStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateReadHistoryInbox.md b/old_docs/API_docs_v66/constructors/updateReadHistoryInbox.md index a23eb55d..d0268bd8 100644 --- a/old_docs/API_docs_v66/constructors/updateReadHistoryInbox.md +++ b/old_docs/API_docs_v66/constructors/updateReadHistoryInbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryInbox attributes, type and example $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryInbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateReadHistoryOutbox.md b/old_docs/API_docs_v66/constructors/updateReadHistoryOutbox.md index a9450fd2..1698fa53 100644 --- a/old_docs/API_docs_v66/constructors/updateReadHistoryOutbox.md +++ b/old_docs/API_docs_v66/constructors/updateReadHistoryOutbox.md @@ -27,6 +27,13 @@ description: updateReadHistoryOutbox attributes, type and example $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadHistoryOutbox","peer":"Peer","max_id":"int","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateReadMessagesContents.md b/old_docs/API_docs_v66/constructors/updateReadMessagesContents.md index ca77b9a8..13605d11 100644 --- a/old_docs/API_docs_v66/constructors/updateReadMessagesContents.md +++ b/old_docs/API_docs_v66/constructors/updateReadMessagesContents.md @@ -26,6 +26,13 @@ description: updateReadMessagesContents attributes, type and example $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [int], 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateReadMessagesContents","messages":["int"],"pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateRecentStickers.md b/old_docs/API_docs_v66/constructors/updateRecentStickers.md index b773f5bd..4ac9a838 100644 --- a/old_docs/API_docs_v66/constructors/updateRecentStickers.md +++ b/old_docs/API_docs_v66/constructors/updateRecentStickers.md @@ -19,6 +19,13 @@ description: updateRecentStickers attributes, type and example $updateRecentStickers = ['_' => 'updateRecentStickers', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateRecentStickers"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateSavedGifs.md b/old_docs/API_docs_v66/constructors/updateSavedGifs.md index a52b7838..46dfb8a6 100644 --- a/old_docs/API_docs_v66/constructors/updateSavedGifs.md +++ b/old_docs/API_docs_v66/constructors/updateSavedGifs.md @@ -19,6 +19,13 @@ description: updateSavedGifs attributes, type and example $updateSavedGifs = ['_' => 'updateSavedGifs', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateSavedGifs"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateServiceNotification.md b/old_docs/API_docs_v66/constructors/updateServiceNotification.md index 9e55804d..b8b75dcf 100644 --- a/old_docs/API_docs_v66/constructors/updateServiceNotification.md +++ b/old_docs/API_docs_v66/constructors/updateServiceNotification.md @@ -29,6 +29,13 @@ description: updateServiceNotification attributes, type and example $updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => string, 'message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateServiceNotification","popup":"Bool","inbox_date":"int","type":"string","message":"string","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateShort.md b/old_docs/API_docs_v66/constructors/updateShort.md index aaf06a99..1095540f 100644 --- a/old_docs/API_docs_v66/constructors/updateShort.md +++ b/old_docs/API_docs_v66/constructors/updateShort.md @@ -25,6 +25,13 @@ description: updateShort attributes, type and example $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShort","update":"Update","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateShortChatMessage.md b/old_docs/API_docs_v66/constructors/updateShortChatMessage.md index 5bd6de08..ea43359c 100644 --- a/old_docs/API_docs_v66/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v66/constructors/updateShortChatMessage.md @@ -38,6 +38,13 @@ description: updateShortChatMessage attributes, type and example $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortChatMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateShortMessage.md b/old_docs/API_docs_v66/constructors/updateShortMessage.md index 0c46fb50..1a9f106f 100644 --- a/old_docs/API_docs_v66/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v66/constructors/updateShortMessage.md @@ -37,6 +37,13 @@ description: updateShortMessage attributes, type and example $updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, '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' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortMessage","out":"Bool","mentioned":"Bool","media_unread":"Bool","silent":"Bool","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":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateShortSentMessage.md b/old_docs/API_docs_v66/constructors/updateShortSentMessage.md index 2172b3a1..d67179f2 100644 --- a/old_docs/API_docs_v66/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v66/constructors/updateShortSentMessage.md @@ -30,6 +30,13 @@ description: updateShortSentMessage attributes, type and example $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateShortSentMessage","out":"Bool","id":"int","pts":"int","pts_count":"int","date":"int","media":"MessageMedia","entities":["MessageEntity"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateStickerSets.md b/old_docs/API_docs_v66/constructors/updateStickerSets.md index 0affa36f..69c53b51 100644 --- a/old_docs/API_docs_v66/constructors/updateStickerSets.md +++ b/old_docs/API_docs_v66/constructors/updateStickerSets.md @@ -19,6 +19,13 @@ description: updateStickerSets attributes, type and example $updateStickerSets = ['_' => 'updateStickerSets', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSets"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v66/constructors/updateStickerSetsOrder.md index 4b7ad6af..809b82d6 100644 --- a/old_docs/API_docs_v66/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v66/constructors/updateStickerSetsOrder.md @@ -25,6 +25,13 @@ description: updateStickerSetsOrder attributes, type and example $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateStickerSetsOrder","masks":"Bool","order":["long"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateUserBlocked.md b/old_docs/API_docs_v66/constructors/updateUserBlocked.md index 552da77d..f46e8ab5 100644 --- a/old_docs/API_docs_v66/constructors/updateUserBlocked.md +++ b/old_docs/API_docs_v66/constructors/updateUserBlocked.md @@ -25,6 +25,13 @@ description: updateUserBlocked attributes, type and example $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserBlocked","user_id":"int","blocked":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateUserName.md b/old_docs/API_docs_v66/constructors/updateUserName.md index e6c705a2..7aecb2c7 100644 --- a/old_docs/API_docs_v66/constructors/updateUserName.md +++ b/old_docs/API_docs_v66/constructors/updateUserName.md @@ -27,6 +27,13 @@ description: updateUserName attributes, type and example $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserName","user_id":"int","first_name":"string","last_name":"string","username":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateUserPhone.md b/old_docs/API_docs_v66/constructors/updateUserPhone.md index 3b3d0a98..755f5585 100644 --- a/old_docs/API_docs_v66/constructors/updateUserPhone.md +++ b/old_docs/API_docs_v66/constructors/updateUserPhone.md @@ -25,6 +25,13 @@ description: updateUserPhone attributes, type and example $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhone","user_id":"int","phone":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateUserPhoto.md b/old_docs/API_docs_v66/constructors/updateUserPhoto.md index 4897149b..05939895 100644 --- a/old_docs/API_docs_v66/constructors/updateUserPhoto.md +++ b/old_docs/API_docs_v66/constructors/updateUserPhoto.md @@ -27,6 +27,13 @@ description: updateUserPhoto attributes, type and example $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserPhoto","user_id":"int","date":"int","photo":"UserProfilePhoto","previous":"Bool"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateUserStatus.md b/old_docs/API_docs_v66/constructors/updateUserStatus.md index d3d5a43f..16acaddd 100644 --- a/old_docs/API_docs_v66/constructors/updateUserStatus.md +++ b/old_docs/API_docs_v66/constructors/updateUserStatus.md @@ -25,6 +25,13 @@ description: updateUserStatus attributes, type and example $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserStatus","user_id":"int","status":"UserStatus"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateUserTyping.md b/old_docs/API_docs_v66/constructors/updateUserTyping.md index a9baaa8b..abcb0a59 100644 --- a/old_docs/API_docs_v66/constructors/updateUserTyping.md +++ b/old_docs/API_docs_v66/constructors/updateUserTyping.md @@ -25,6 +25,13 @@ description: updateUserTyping attributes, type and example $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateUserTyping","user_id":"int","action":"SendMessageAction"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updateWebPage.md b/old_docs/API_docs_v66/constructors/updateWebPage.md index 8f02ea53..05ec2c4f 100644 --- a/old_docs/API_docs_v66/constructors/updateWebPage.md +++ b/old_docs/API_docs_v66/constructors/updateWebPage.md @@ -26,6 +26,13 @@ description: updateWebPage attributes, type and example $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updateWebPage","webpage":"WebPage","pts":"int","pts_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updates.md b/old_docs/API_docs_v66/constructors/updates.md index a4312cea..add1675e 100644 --- a/old_docs/API_docs_v66/constructors/updates.md +++ b/old_docs/API_docs_v66/constructors/updates.md @@ -28,6 +28,13 @@ description: updates attributes, type and example $updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updatesCombined.md b/old_docs/API_docs_v66/constructors/updatesCombined.md index 9bf799b7..9efbf170 100644 --- a/old_docs/API_docs_v66/constructors/updatesCombined.md +++ b/old_docs/API_docs_v66/constructors/updatesCombined.md @@ -29,6 +29,13 @@ description: updatesCombined attributes, type and example $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq_start' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesCombined","updates":["Update"],"users":["User"],"chats":["Chat"],"date":"int","seq_start":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updatesTooLong.md b/old_docs/API_docs_v66/constructors/updatesTooLong.md index 113bace4..a824e65c 100644 --- a/old_docs/API_docs_v66/constructors/updatesTooLong.md +++ b/old_docs/API_docs_v66/constructors/updatesTooLong.md @@ -19,6 +19,13 @@ description: updatesTooLong attributes, type and example $updatesTooLong = ['_' => 'updatesTooLong', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updatesTooLong"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updates_channelDifference.md b/old_docs/API_docs_v66/constructors/updates_channelDifference.md index c64c69b6..876e8d13 100644 --- a/old_docs/API_docs_v66/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v66/constructors/updates_channelDifference.md @@ -30,6 +30,13 @@ description: updates_channelDifference attributes, type and example $updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifference","final":"Bool","pts":"int","timeout":"int","new_messages":["Message"],"other_updates":["Update"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md index 6e4d7bde..c596d24a 100644 --- a/old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v66/constructors/updates_channelDifferenceEmpty.md @@ -26,6 +26,13 @@ description: updates_channelDifferenceEmpty attributes, type and example $updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceEmpty","final":"Bool","pts":"int","timeout":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md index 0e295673..464117f9 100644 --- a/old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v66/constructors/updates_channelDifferenceTooLong.md @@ -33,6 +33,13 @@ description: updates_channelDifferenceTooLong attributes, type and example $updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.channelDifferenceTooLong","final":"Bool","pts":"int","timeout":"int","top_message":"int","read_inbox_max_id":"int","read_outbox_max_id":"int","unread_count":"int","messages":["Message"],"chats":["Chat"],"users":["User"]} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updates_difference.md b/old_docs/API_docs_v66/constructors/updates_difference.md index 77353eac..4623d746 100644 --- a/old_docs/API_docs_v66/constructors/updates_difference.md +++ b/old_docs/API_docs_v66/constructors/updates_difference.md @@ -29,6 +29,13 @@ description: updates_difference attributes, type and example $updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.difference","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updates_differenceEmpty.md b/old_docs/API_docs_v66/constructors/updates_differenceEmpty.md index b4d391ef..138994c9 100644 --- a/old_docs/API_docs_v66/constructors/updates_differenceEmpty.md +++ b/old_docs/API_docs_v66/constructors/updates_differenceEmpty.md @@ -25,6 +25,13 @@ description: updates_differenceEmpty attributes, type and example $updates_differenceEmpty = ['_' => 'updates.differenceEmpty', 'date' => int, 'seq' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceEmpty","date":"int","seq":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updates_differenceSlice.md b/old_docs/API_docs_v66/constructors/updates_differenceSlice.md index d2670c53..d6941f2d 100644 --- a/old_docs/API_docs_v66/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v66/constructors/updates_differenceSlice.md @@ -29,6 +29,13 @@ description: updates_differenceSlice attributes, type and example $updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceSlice","new_messages":["Message"],"new_encrypted_messages":["EncryptedMessage"],"other_updates":["Update"],"chats":["Chat"],"users":["User"],"intermediate_state":"updates_State"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updates_differenceTooLong.md b/old_docs/API_docs_v66/constructors/updates_differenceTooLong.md index edef3aed..8530a319 100644 --- a/old_docs/API_docs_v66/constructors/updates_differenceTooLong.md +++ b/old_docs/API_docs_v66/constructors/updates_differenceTooLong.md @@ -24,6 +24,13 @@ description: updates_differenceTooLong attributes, type and example $updates_differenceTooLong = ['_' => 'updates.differenceTooLong', 'pts' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.differenceTooLong","pts":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/updates_state.md b/old_docs/API_docs_v66/constructors/updates_state.md index 0bb13a6a..fe7d3697 100644 --- a/old_docs/API_docs_v66/constructors/updates_state.md +++ b/old_docs/API_docs_v66/constructors/updates_state.md @@ -28,6 +28,13 @@ description: updates_state attributes, type and example $updates_state = ['_' => 'updates.state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"updates.state","pts":"int","qts":"int","date":"int","seq":"int","unread_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/upload_cdnFile.md b/old_docs/API_docs_v66/constructors/upload_cdnFile.md index f21ab71f..56f32f29 100644 --- a/old_docs/API_docs_v66/constructors/upload_cdnFile.md +++ b/old_docs/API_docs_v66/constructors/upload_cdnFile.md @@ -24,6 +24,13 @@ description: upload_cdnFile attributes, type and example $upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.cdnFile","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md b/old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md index 38c3ebea..f52a8231 100644 --- a/old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md +++ b/old_docs/API_docs_v66/constructors/upload_cdnFileReuploadNeeded.md @@ -24,6 +24,13 @@ description: upload_cdnFileReuploadNeeded attributes, type and example $upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.cdnFileReuploadNeeded","request_token":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/upload_file.md b/old_docs/API_docs_v66/constructors/upload_file.md index 8e335fa7..951d11be 100644 --- a/old_docs/API_docs_v66/constructors/upload_file.md +++ b/old_docs/API_docs_v66/constructors/upload_file.md @@ -26,6 +26,13 @@ description: upload_file attributes, type and example $upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.file","type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md b/old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md index 2a4f7e2f..7ff6fd34 100644 --- a/old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md +++ b/old_docs/API_docs_v66/constructors/upload_fileCdnRedirect.md @@ -27,6 +27,13 @@ description: upload_fileCdnRedirect attributes, type and example $upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => bytes, 'encryption_key' => bytes, 'encryption_iv' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.fileCdnRedirect","dc_id":"int","file_token":"bytes","encryption_key":"bytes","encryption_iv":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/upload_webFile.md b/old_docs/API_docs_v66/constructors/upload_webFile.md index 0d2aa36f..f1cbb377 100644 --- a/old_docs/API_docs_v66/constructors/upload_webFile.md +++ b/old_docs/API_docs_v66/constructors/upload_webFile.md @@ -28,6 +28,13 @@ description: upload_webFile attributes, type and example $upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => string, 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"upload.webFile","size":"int","mime_type":"string","file_type":"storage_FileType","mtime":"int","bytes":"bytes"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/user.md b/old_docs/API_docs_v66/constructors/user.md index 259a8531..1267168a 100644 --- a/old_docs/API_docs_v66/constructors/user.md +++ b/old_docs/API_docs_v66/constructors/user.md @@ -46,6 +46,13 @@ description: user attributes, type and example $user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, '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, 'lang_code' => string, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"user","self":"Bool","contact":"Bool","mutual_contact":"Bool","deleted":"Bool","bot":"Bool","bot_chat_history":"Bool","bot_nochats":"Bool","verified":"Bool","restricted":"Bool","min":"Bool","bot_inline_geo":"Bool","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","lang_code":"string"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/userEmpty.md b/old_docs/API_docs_v66/constructors/userEmpty.md index a8ba417f..4d52a60d 100644 --- a/old_docs/API_docs_v66/constructors/userEmpty.md +++ b/old_docs/API_docs_v66/constructors/userEmpty.md @@ -24,6 +24,13 @@ description: userEmpty attributes, type and example $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userEmpty","id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/userFull.md b/old_docs/API_docs_v66/constructors/userFull.md index 14266442..06988eb2 100644 --- a/old_docs/API_docs_v66/constructors/userFull.md +++ b/old_docs/API_docs_v66/constructors/userFull.md @@ -33,6 +33,13 @@ description: userFull attributes, type and example $userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userFull","blocked":"Bool","phone_calls_available":"Bool","phone_calls_private":"Bool","user":"User","about":"string","link":"contacts_Link","profile_photo":"Photo","notify_settings":"PeerNotifySettings","bot_info":"BotInfo","common_chats_count":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/userProfilePhoto.md b/old_docs/API_docs_v66/constructors/userProfilePhoto.md index 2b374c73..46935f91 100644 --- a/old_docs/API_docs_v66/constructors/userProfilePhoto.md +++ b/old_docs/API_docs_v66/constructors/userProfilePhoto.md @@ -26,6 +26,13 @@ description: userProfilePhoto attributes, type and example $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhoto","photo_id":"long","photo_small":"FileLocation","photo_big":"FileLocation"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/userProfilePhotoEmpty.md b/old_docs/API_docs_v66/constructors/userProfilePhotoEmpty.md index c1278b4e..a777d56f 100644 --- a/old_docs/API_docs_v66/constructors/userProfilePhotoEmpty.md +++ b/old_docs/API_docs_v66/constructors/userProfilePhotoEmpty.md @@ -19,6 +19,13 @@ description: userProfilePhotoEmpty attributes, type and example $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userProfilePhotoEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/userStatusEmpty.md b/old_docs/API_docs_v66/constructors/userStatusEmpty.md index 76615987..2a5626ee 100644 --- a/old_docs/API_docs_v66/constructors/userStatusEmpty.md +++ b/old_docs/API_docs_v66/constructors/userStatusEmpty.md @@ -19,6 +19,13 @@ description: userStatusEmpty attributes, type and example $userStatusEmpty = ['_' => 'userStatusEmpty', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusEmpty"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/userStatusLastMonth.md b/old_docs/API_docs_v66/constructors/userStatusLastMonth.md index c0582bb6..e8780c66 100644 --- a/old_docs/API_docs_v66/constructors/userStatusLastMonth.md +++ b/old_docs/API_docs_v66/constructors/userStatusLastMonth.md @@ -19,6 +19,13 @@ description: userStatusLastMonth attributes, type and example $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastMonth"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/userStatusLastWeek.md b/old_docs/API_docs_v66/constructors/userStatusLastWeek.md index 261f7b2a..ead0f7ca 100644 --- a/old_docs/API_docs_v66/constructors/userStatusLastWeek.md +++ b/old_docs/API_docs_v66/constructors/userStatusLastWeek.md @@ -19,6 +19,13 @@ description: userStatusLastWeek attributes, type and example $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusLastWeek"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/userStatusOffline.md b/old_docs/API_docs_v66/constructors/userStatusOffline.md index 0ec70f35..d9b6a585 100644 --- a/old_docs/API_docs_v66/constructors/userStatusOffline.md +++ b/old_docs/API_docs_v66/constructors/userStatusOffline.md @@ -24,6 +24,13 @@ description: userStatusOffline attributes, type and example $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOffline","was_online":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/userStatusOnline.md b/old_docs/API_docs_v66/constructors/userStatusOnline.md index b9991ad0..19b605dc 100644 --- a/old_docs/API_docs_v66/constructors/userStatusOnline.md +++ b/old_docs/API_docs_v66/constructors/userStatusOnline.md @@ -24,6 +24,13 @@ description: userStatusOnline attributes, type and example $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusOnline","expires":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/userStatusRecently.md b/old_docs/API_docs_v66/constructors/userStatusRecently.md index 13b35280..312f7918 100644 --- a/old_docs/API_docs_v66/constructors/userStatusRecently.md +++ b/old_docs/API_docs_v66/constructors/userStatusRecently.md @@ -19,6 +19,13 @@ description: userStatusRecently attributes, type and example $userStatusRecently = ['_' => 'userStatusRecently', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"userStatusRecently"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/wallPaper.md b/old_docs/API_docs_v66/constructors/wallPaper.md index 29479d7e..551dcb46 100644 --- a/old_docs/API_docs_v66/constructors/wallPaper.md +++ b/old_docs/API_docs_v66/constructors/wallPaper.md @@ -27,6 +27,13 @@ description: wallPaper attributes, type and example $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [PhotoSize], 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaper","id":"int","title":"string","sizes":["PhotoSize"],"color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/wallPaperSolid.md b/old_docs/API_docs_v66/constructors/wallPaperSolid.md index 432c01de..49949506 100644 --- a/old_docs/API_docs_v66/constructors/wallPaperSolid.md +++ b/old_docs/API_docs_v66/constructors/wallPaperSolid.md @@ -27,6 +27,13 @@ description: wallPaperSolid attributes, type and example $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"wallPaperSolid","id":"int","title":"string","bg_color":"int","color":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/webDocument.md b/old_docs/API_docs_v66/constructors/webDocument.md index 285e58e4..fb6d743d 100644 --- a/old_docs/API_docs_v66/constructors/webDocument.md +++ b/old_docs/API_docs_v66/constructors/webDocument.md @@ -29,6 +29,13 @@ description: webDocument attributes, type and example $webDocument = ['_' => 'webDocument', 'url' => string, 'access_hash' => long, 'size' => int, 'mime_type' => string, 'attributes' => [DocumentAttribute], 'dc_id' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webDocument","url":"string","access_hash":"long","size":"int","mime_type":"string","attributes":["DocumentAttribute"],"dc_id":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/webPage.md b/old_docs/API_docs_v66/constructors/webPage.md index df6ef10c..f73f1d50 100644 --- a/old_docs/API_docs_v66/constructors/webPage.md +++ b/old_docs/API_docs_v66/constructors/webPage.md @@ -40,6 +40,13 @@ description: webPage attributes, type and example $webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'hash' => int, '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, 'cached_page' => Page, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPage","id":"long","url":"string","display_url":"string","hash":"int","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","cached_page":"Page"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/webPageEmpty.md b/old_docs/API_docs_v66/constructors/webPageEmpty.md index 1fbe1711..88efab1d 100644 --- a/old_docs/API_docs_v66/constructors/webPageEmpty.md +++ b/old_docs/API_docs_v66/constructors/webPageEmpty.md @@ -24,6 +24,13 @@ description: webPageEmpty attributes, type and example $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageEmpty","id":"long"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/webPageNotModified.md b/old_docs/API_docs_v66/constructors/webPageNotModified.md index baacbb3f..1d9f9b84 100644 --- a/old_docs/API_docs_v66/constructors/webPageNotModified.md +++ b/old_docs/API_docs_v66/constructors/webPageNotModified.md @@ -19,6 +19,13 @@ description: webPageNotModified attributes, type and example $webPageNotModified = ['_' => 'webPageNotModified', ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPageNotModified"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/constructors/webPagePending.md b/old_docs/API_docs_v66/constructors/webPagePending.md index 3485bc38..8fff4944 100644 --- a/old_docs/API_docs_v66/constructors/webPagePending.md +++ b/old_docs/API_docs_v66/constructors/webPagePending.md @@ -25,6 +25,13 @@ description: webPagePending attributes, type and example $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +{"_":"webPagePending","id":"long","date":"int"} +``` + + Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/account_changePhone.md b/old_docs/API_docs_v66/methods/account_changePhone.md index 56c862f8..036d0776 100644 --- a/old_docs/API_docs_v66/methods/account_changePhone.md +++ b/old_docs/API_docs_v66/methods/account_changePhone.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.changePhone +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_checkUsername.md b/old_docs/API_docs_v66/methods/account_checkUsername.md index 2b331286..f10464bb 100644 --- a/old_docs/API_docs_v66/methods/account_checkUsername.md +++ b/old_docs/API_docs_v66/methods/account_checkUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->checkUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.checkUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_confirmPhone.md b/old_docs/API_docs_v66/methods/account_confirmPhone.md index 0b8437dd..6ce6e811 100644 --- a/old_docs/API_docs_v66/methods/account_confirmPhone.md +++ b/old_docs/API_docs_v66/methods/account_confirmPhone.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.confirmPhone +* params - {"phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.confirmPhone` + +Parameters: + +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_deleteAccount.md b/old_docs/API_docs_v66/methods/account_deleteAccount.md index 02e52d28..52c2b85f 100644 --- a/old_docs/API_docs_v66/methods/account_deleteAccount.md +++ b/old_docs/API_docs_v66/methods/account_deleteAccount.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.deleteAccount +* params - {"reason":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount` + +Parameters: + +reason - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_getAccountTTL.md b/old_docs/API_docs_v66/methods/account_getAccountTTL.md index 38738691..ecf8927d 100644 --- a/old_docs/API_docs_v66/methods/account_getAccountTTL.md +++ b/old_docs/API_docs_v66/methods/account_getAccountTTL.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAccountTTL +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/account_getAuthorizations.md b/old_docs/API_docs_v66/methods/account_getAuthorizations.md index 44667b7d..87cd4f8d 100644 --- a/old_docs/API_docs_v66/methods/account_getAuthorizations.md +++ b/old_docs/API_docs_v66/methods/account_getAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/account_getNotifySettings.md b/old_docs/API_docs_v66/methods/account_getNotifySettings.md index 01f65508..965f8056 100644 --- a/old_docs/API_docs_v66/methods/account_getNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_getNotifySettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getNotifySettings +* params - {"peer":"InputNotifyPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_getPassword.md b/old_docs/API_docs_v66/methods/account_getPassword.md index c1d786ac..58ddd52e 100644 --- a/old_docs/API_docs_v66/methods/account_getPassword.md +++ b/old_docs/API_docs_v66/methods/account_getPassword.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $account_Password = $MadelineProto->account->getPassword(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPassword +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/account_getPasswordSettings.md b/old_docs/API_docs_v66/methods/account_getPasswordSettings.md index b0b8b8c3..67d17e03 100644 --- a/old_docs/API_docs_v66/methods/account_getPasswordSettings.md +++ b/old_docs/API_docs_v66/methods/account_getPasswordSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPasswordSettings +* params - {"current_password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_getPrivacy.md b/old_docs/API_docs_v66/methods/account_getPrivacy.md index ac687223..4f23fc09 100644 --- a/old_docs/API_docs_v66/methods/account_getPrivacy.md +++ b/old_docs/API_docs_v66/methods/account_getPrivacy.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getPrivacy +* params - {"key":"InputPrivacyKey"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_getTmpPassword.md b/old_docs/API_docs_v66/methods/account_getTmpPassword.md index c63dea5c..96aa50b2 100644 --- a/old_docs/API_docs_v66/methods/account_getTmpPassword.md +++ b/old_docs/API_docs_v66/methods/account_getTmpPassword.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_TmpPassword = $MadelineProto->account->getTmpPassword(['password_hash' => bytes, 'period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getTmpPassword +* params - {"password_hash":"bytes","period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getTmpPassword` + +Parameters: + +password_hash - Json encoded bytes +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_getWallPapers.md b/old_docs/API_docs_v66/methods/account_getWallPapers.md index 0b9f6c88..eadf8439 100644 --- a/old_docs/API_docs_v66/methods/account_getWallPapers.md +++ b/old_docs/API_docs_v66/methods/account_getWallPapers.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.getWallPapers +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/account_registerDevice.md b/old_docs/API_docs_v66/methods/account_registerDevice.md index 07381be6..fa4aae85 100644 --- a/old_docs/API_docs_v66/methods/account_registerDevice.md +++ b/old_docs/API_docs_v66/methods/account_registerDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.registerDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_reportPeer.md b/old_docs/API_docs_v66/methods/account_reportPeer.md index 019e88a5..08c8d0d5 100644 --- a/old_docs/API_docs_v66/methods/account_reportPeer.md +++ b/old_docs/API_docs_v66/methods/account_reportPeer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.reportPeer +* params - {"peer":"InputPeer","reason":"ReportReason"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.reportPeer` + +Parameters: + +peer - Json encoded InputPeer +reason - Json encoded ReportReason + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_resetAuthorization.md b/old_docs/API_docs_v66/methods/account_resetAuthorization.md index 050b053a..554f9ebd 100644 --- a/old_docs/API_docs_v66/methods/account_resetAuthorization.md +++ b/old_docs/API_docs_v66/methods/account_resetAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetAuthorization +* params - {"hash":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization` + +Parameters: + +hash - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_resetNotifySettings.md b/old_docs/API_docs_v66/methods/account_resetNotifySettings.md index 5dbb94ed..7fd39d0f 100644 --- a/old_docs/API_docs_v66/methods/account_resetNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_resetNotifySettings.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->account->resetNotifySettings(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.resetNotifySettings +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md b/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md index 83cfe3e2..1c4c0ca7 100644 --- a/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md +++ b/old_docs/API_docs_v66/methods/account_sendChangePhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendChangePhoneCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md b/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md index 8d28787e..4b4b6655 100644 --- a/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md +++ b/old_docs/API_docs_v66/methods/account_sendConfirmPhoneCode.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.sendConfirmPhoneCode +* params - {"allow_flashcall":"Bool","hash":"string","current_number":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendConfirmPhoneCode` + +Parameters: + +allow_flashcall - Json encoded Bool +hash - Json encoded string +current_number - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_setAccountTTL.md b/old_docs/API_docs_v66/methods/account_setAccountTTL.md index a538a11e..22bc69e3 100644 --- a/old_docs/API_docs_v66/methods/account_setAccountTTL.md +++ b/old_docs/API_docs_v66/methods/account_setAccountTTL.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setAccountTTL +* params - {"ttl":"AccountDaysTTL"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL` + +Parameters: + +ttl - Json encoded AccountDaysTTL + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_setPrivacy.md b/old_docs/API_docs_v66/methods/account_setPrivacy.md index 5b4e0df7..dfda5ba4 100644 --- a/old_docs/API_docs_v66/methods/account_setPrivacy.md +++ b/old_docs/API_docs_v66/methods/account_setPrivacy.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.setPrivacy +* params - {"key":"InputPrivacyKey","rules":["InputPrivacyRule"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy` + +Parameters: + +key - Json encoded InputPrivacyKey +rules - Json encoded array of InputPrivacyRule + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_unregisterDevice.md b/old_docs/API_docs_v66/methods/account_unregisterDevice.md index 9144a44b..d922b321 100644 --- a/old_docs/API_docs_v66/methods/account_unregisterDevice.md +++ b/old_docs/API_docs_v66/methods/account_unregisterDevice.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.unregisterDevice +* params - {"token_type":"int","token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice` + +Parameters: + +token_type - Json encoded int +token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md b/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md index 37c49ddc..79e3368b 100644 --- a/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md +++ b/old_docs/API_docs_v66/methods/account_updateDeviceLocked.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateDeviceLocked +* params - {"period":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked` + +Parameters: + +period - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_updateNotifySettings.md b/old_docs/API_docs_v66/methods/account_updateNotifySettings.md index 4821983f..fe2b6086 100644 --- a/old_docs/API_docs_v66/methods/account_updateNotifySettings.md +++ b/old_docs/API_docs_v66/methods/account_updateNotifySettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateNotifySettings +* params - {"peer":"InputNotifyPeer","settings":"InputPeerNotifySettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings` + +Parameters: + +peer - Json encoded InputNotifyPeer +settings - Json encoded InputPeerNotifySettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md b/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md index 2620da2d..1ab32697 100644 --- a/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md +++ b/old_docs/API_docs_v66/methods/account_updatePasswordSettings.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updatePasswordSettings +* params - {"current_password_hash":"bytes","new_settings":"account_PasswordInputSettings"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSettings` + +Parameters: + +current_password_hash - Json encoded bytes +new_settings - Json encoded account_PasswordInputSettings + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_updateProfile.md b/old_docs/API_docs_v66/methods/account_updateProfile.md index e12a2f1c..10ab8f0c 100644 --- a/old_docs/API_docs_v66/methods/account_updateProfile.md +++ b/old_docs/API_docs_v66/methods/account_updateProfile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateProfile +* params - {"first_name":"string","last_name":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile` + +Parameters: + +first_name - Json encoded string +last_name - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_updateStatus.md b/old_docs/API_docs_v66/methods/account_updateStatus.md index 75bb6a42..1da42777 100644 --- a/old_docs/API_docs_v66/methods/account_updateStatus.md +++ b/old_docs/API_docs_v66/methods/account_updateStatus.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateStatus +* params - {"offline":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus` + +Parameters: + +offline - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/account_updateUsername.md b/old_docs/API_docs_v66/methods/account_updateUsername.md index 061327ff..c0472ad4 100644 --- a/old_docs/API_docs_v66/methods/account_updateUsername.md +++ b/old_docs/API_docs_v66/methods/account_updateUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->account->updateUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - account.updateUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_bindTempAuthKey.md b/old_docs/API_docs_v66/methods/auth_bindTempAuthKey.md index 121d76c9..ec65f84e 100644 --- a/old_docs/API_docs_v66/methods/auth_bindTempAuthKey.md +++ b/old_docs/API_docs_v66/methods/auth_bindTempAuthKey.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.bindTempAuthKey +* params - {"perm_auth_key_id":"long","nonce":"long","expires_at":"int","encrypted_message":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey` + +Parameters: + +perm_auth_key_id - Json encoded long +nonce - Json encoded long +expires_at - Json encoded int +encrypted_message - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_cancelCode.md b/old_docs/API_docs_v66/methods/auth_cancelCode.md index 73a8c55b..05aae0cf 100644 --- a/old_docs/API_docs_v66/methods/auth_cancelCode.md +++ b/old_docs/API_docs_v66/methods/auth_cancelCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.cancelCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.cancelCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_checkPassword.md b/old_docs/API_docs_v66/methods/auth_checkPassword.md index ccef2c5f..247ea08c 100644 --- a/old_docs/API_docs_v66/methods/auth_checkPassword.md +++ b/old_docs/API_docs_v66/methods/auth_checkPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPassword +* params - {"password_hash":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword` + +Parameters: + +password_hash - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_checkPhone.md b/old_docs/API_docs_v66/methods/auth_checkPhone.md index 40bb100b..9dac43bd 100644 --- a/old_docs/API_docs_v66/methods/auth_checkPhone.md +++ b/old_docs/API_docs_v66/methods/auth_checkPhone.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.checkPhone +* params - {"phone_number":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone` + +Parameters: + +phone_number - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md b/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md index 91d04065..22e17d37 100644 --- a/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md +++ b/old_docs/API_docs_v66/methods/auth_dropTempAuthKeys.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.dropTempAuthKeys +* params - {"except_auth_keys":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.dropTempAuthKeys` + +Parameters: + +except_auth_keys - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_exportAuthorization.md b/old_docs/API_docs_v66/methods/auth_exportAuthorization.md index 62cc1de3..19c94a4b 100644 --- a/old_docs/API_docs_v66/methods/auth_exportAuthorization.md +++ b/old_docs/API_docs_v66/methods/auth_exportAuthorization.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.exportAuthorization +* params - {"dc_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization` + +Parameters: + +dc_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_importAuthorization.md b/old_docs/API_docs_v66/methods/auth_importAuthorization.md index 85101d26..9996dc2d 100644 --- a/old_docs/API_docs_v66/methods/auth_importAuthorization.md +++ b/old_docs/API_docs_v66/methods/auth_importAuthorization.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importAuthorization +* params - {"id":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization` + +Parameters: + +id - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_importBotAuthorization.md b/old_docs/API_docs_v66/methods/auth_importBotAuthorization.md index 57b0079b..94ece05e 100644 --- a/old_docs/API_docs_v66/methods/auth_importBotAuthorization.md +++ b/old_docs/API_docs_v66/methods/auth_importBotAuthorization.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.importBotAuthorization +* params - {"api_id":"int","api_hash":"string","bot_auth_token":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization` + +Parameters: + +api_id - Json encoded int +api_hash - Json encoded string +bot_auth_token - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_logOut.md b/old_docs/API_docs_v66/methods/auth_logOut.md index f4e78493..284318e8 100644 --- a/old_docs/API_docs_v66/methods/auth_logOut.md +++ b/old_docs/API_docs_v66/methods/auth_logOut.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->logOut(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.logOut +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/auth_recoverPassword.md b/old_docs/API_docs_v66/methods/auth_recoverPassword.md index 4094be97..18bdaf0b 100644 --- a/old_docs/API_docs_v66/methods/auth_recoverPassword.md +++ b/old_docs/API_docs_v66/methods/auth_recoverPassword.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.recoverPassword +* params - {"code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword` + +Parameters: + +code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md b/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md index dc58e4f2..73fa1963 100644 --- a/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md +++ b/old_docs/API_docs_v66/methods/auth_requestPasswordRecovery.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.requestPasswordRecovery +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/auth_resendCode.md b/old_docs/API_docs_v66/methods/auth_resendCode.md index 6ba623cf..aaea73a0 100644 --- a/old_docs/API_docs_v66/methods/auth_resendCode.md +++ b/old_docs/API_docs_v66/methods/auth_resendCode.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resendCode +* params - {"phone_number":"string","phone_code_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resendCode` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md b/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md index 92139765..3686400a 100644 --- a/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md +++ b/old_docs/API_docs_v66/methods/auth_resetAuthorizations.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Bool = $MadelineProto->auth->resetAuthorizations(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.resetAuthorizations +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/auth_sendCode.md b/old_docs/API_docs_v66/methods/auth_sendCode.md index 423da558..c6e4d8aa 100644 --- a/old_docs/API_docs_v66/methods/auth_sendCode.md +++ b/old_docs/API_docs_v66/methods/auth_sendCode.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendCode +* params - {"allow_flashcall":"Bool","phone_number":"string","current_number":"Bool","api_id":"int","api_hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode` + +Parameters: + +allow_flashcall - Json encoded Bool +phone_number - Json encoded string +current_number - Json encoded Bool +api_id - Json encoded int +api_hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_sendInvites.md b/old_docs/API_docs_v66/methods/auth_sendInvites.md index 764c1215..14c3e765 100644 --- a/old_docs/API_docs_v66/methods/auth_sendInvites.md +++ b/old_docs/API_docs_v66/methods/auth_sendInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.sendInvites +* params - {"phone_numbers":["string"],"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites` + +Parameters: + +phone_numbers - Json encoded array of string +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_signIn.md b/old_docs/API_docs_v66/methods/auth_signIn.md index 2371bc5a..01e78730 100644 --- a/old_docs/API_docs_v66/methods/auth_signIn.md +++ b/old_docs/API_docs_v66/methods/auth_signIn.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signIn +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/auth_signUp.md b/old_docs/API_docs_v66/methods/auth_signUp.md index 9cd06abd..bccad047 100644 --- a/old_docs/API_docs_v66/methods/auth_signUp.md +++ b/old_docs/API_docs_v66/methods/auth_signUp.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - auth.signUp +* params - {"phone_number":"string","phone_code_hash":"string","phone_code":"string","first_name":"string","last_name":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp` + +Parameters: + +phone_number - Json encoded string +phone_code_hash - Json encoded string +phone_code - Json encoded string +first_name - Json encoded string +last_name - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md b/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md index 539e060d..39582760 100644 --- a/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md +++ b/old_docs/API_docs_v66/methods/bots_answerWebhookJSONQuery.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->bots->answerWebhookJSONQuery(['query_id' => long, 'data' => DataJSON, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - bots.answerWebhookJSONQuery +* params - {"query_id":"long","data":"DataJSON"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/bots.answerWebhookJSONQuery` + +Parameters: + +query_id - Json encoded long +data - Json encoded DataJSON + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md b/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md index ea74fcfd..5ccab83b 100644 --- a/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md +++ b/old_docs/API_docs_v66/methods/bots_sendCustomRequest.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $DataJSON = $MadelineProto->bots->sendCustomRequest(['custom_method' => string, 'params' => DataJSON, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - bots.sendCustomRequest +* params - {"custom_method":"string","params":"DataJSON"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/bots.sendCustomRequest` + +Parameters: + +custom_method - Json encoded string +params - Json encoded DataJSON + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_checkUsername.md b/old_docs/API_docs_v66/methods/channels_checkUsername.md index 0f18ded2..e36fdf70 100644 --- a/old_docs/API_docs_v66/methods/channels_checkUsername.md +++ b/old_docs/API_docs_v66/methods/channels_checkUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.checkUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_createChannel.md b/old_docs/API_docs_v66/methods/channels_createChannel.md index a4819767..853ca900 100644 --- a/old_docs/API_docs_v66/methods/channels_createChannel.md +++ b/old_docs/API_docs_v66/methods/channels_createChannel.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.createChannel +* params - {"broadcast":"Bool","megagroup":"Bool","title":"string","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel` + +Parameters: + +broadcast - Json encoded Bool +megagroup - Json encoded Bool +title - Json encoded string +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_deleteChannel.md b/old_docs/API_docs_v66/methods/channels_deleteChannel.md index 4803d178..3a556d77 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteChannel.md +++ b/old_docs/API_docs_v66/methods/channels_deleteChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_deleteMessages.md b/old_docs/API_docs_v66/methods/channels_deleteMessages.md index 2dfdd86f..5ee8c6d7 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteMessages.md +++ b/old_docs/API_docs_v66/methods/channels_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md b/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md index f8b74568..60876564 100644 --- a/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md +++ b/old_docs/API_docs_v66/methods/channels_deleteUserHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.deleteUserHistory +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_editAbout.md b/old_docs/API_docs_v66/methods/channels_editAbout.md index ea83966c..2fad8dfb 100644 --- a/old_docs/API_docs_v66/methods/channels_editAbout.md +++ b/old_docs/API_docs_v66/methods/channels_editAbout.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAbout +* params - {"channel":"InputChannel","about":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout` + +Parameters: + +channel - Json encoded InputChannel +about - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_editAdmin.md b/old_docs/API_docs_v66/methods/channels_editAdmin.md index 4596e082..729d5e28 100644 --- a/old_docs/API_docs_v66/methods/channels_editAdmin.md +++ b/old_docs/API_docs_v66/methods/channels_editAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editAdmin +* params - {"channel":"InputChannel","user_id":"InputUser","role":"ChannelParticipantRole"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +role - Json encoded ChannelParticipantRole + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_editPhoto.md b/old_docs/API_docs_v66/methods/channels_editPhoto.md index d0ad0238..996d90d2 100644 --- a/old_docs/API_docs_v66/methods/channels_editPhoto.md +++ b/old_docs/API_docs_v66/methods/channels_editPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editPhoto +* params - {"channel":"InputChannel","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto` + +Parameters: + +channel - Json encoded InputChannel +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_editTitle.md b/old_docs/API_docs_v66/methods/channels_editTitle.md index 09a7b5f4..b7b268de 100644 --- a/old_docs/API_docs_v66/methods/channels_editTitle.md +++ b/old_docs/API_docs_v66/methods/channels_editTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.editTitle +* params - {"channel":"InputChannel","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle` + +Parameters: + +channel - Json encoded InputChannel +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_exportInvite.md b/old_docs/API_docs_v66/methods/channels_exportInvite.md index 0d709daa..e5a10a66 100644 --- a/old_docs/API_docs_v66/methods/channels_exportInvite.md +++ b/old_docs/API_docs_v66/methods/channels_exportInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportInvite +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_exportMessageLink.md b/old_docs/API_docs_v66/methods/channels_exportMessageLink.md index 644c5b1a..4d5ba2df 100644 --- a/old_docs/API_docs_v66/methods/channels_exportMessageLink.md +++ b/old_docs/API_docs_v66/methods/channels_exportMessageLink.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.exportMessageLink +* params - {"channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportMessageLink` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md b/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md index 31ed5556..85093ef6 100644 --- a/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md +++ b/old_docs/API_docs_v66/methods/channels_getAdminedPublicChannels.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $messages_Chats = $MadelineProto->channels->getAdminedPublicChannels(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getAdminedPublicChannels +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getAdminedPublicChannels` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/channels_getChannels.md b/old_docs/API_docs_v66/methods/channels_getChannels.md index c56d89ec..133c939b 100644 --- a/old_docs/API_docs_v66/methods/channels_getChannels.md +++ b/old_docs/API_docs_v66/methods/channels_getChannels.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getChannels +* params - {"id":["InputChannel"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels` + +Parameters: + +id - Json encoded array of InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_getFullChannel.md b/old_docs/API_docs_v66/methods/channels_getFullChannel.md index 1215fcf3..06c6fd89 100644 --- a/old_docs/API_docs_v66/methods/channels_getFullChannel.md +++ b/old_docs/API_docs_v66/methods/channels_getFullChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getFullChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_getMessages.md b/old_docs/API_docs_v66/methods/channels_getMessages.md index beee8910..5ba3372f 100644 --- a/old_docs/API_docs_v66/methods/channels_getMessages.md +++ b/old_docs/API_docs_v66/methods/channels_getMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getMessages +* params - {"channel":"InputChannel","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages` + +Parameters: + +channel - Json encoded InputChannel +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_getParticipant.md b/old_docs/API_docs_v66/methods/channels_getParticipant.md index 4d72ab8e..a7a7cde8 100644 --- a/old_docs/API_docs_v66/methods/channels_getParticipant.md +++ b/old_docs/API_docs_v66/methods/channels_getParticipant.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipant +* params - {"channel":"InputChannel","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_getParticipants.md b/old_docs/API_docs_v66/methods/channels_getParticipants.md index 3e845a7d..37e75089 100644 --- a/old_docs/API_docs_v66/methods/channels_getParticipants.md +++ b/old_docs/API_docs_v66/methods/channels_getParticipants.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.getParticipants +* params - {"channel":"InputChannel","filter":"ChannelParticipantsFilter","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants` + +Parameters: + +channel - Json encoded InputChannel +filter - Json encoded ChannelParticipantsFilter +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_inviteToChannel.md b/old_docs/API_docs_v66/methods/channels_inviteToChannel.md index 9ffc3e06..54a87c09 100644 --- a/old_docs/API_docs_v66/methods/channels_inviteToChannel.md +++ b/old_docs/API_docs_v66/methods/channels_inviteToChannel.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.inviteToChannel +* params - {"channel":"InputChannel","users":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel` + +Parameters: + +channel - Json encoded InputChannel +users - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_joinChannel.md b/old_docs/API_docs_v66/methods/channels_joinChannel.md index 7cd5eec4..fbeb6d84 100644 --- a/old_docs/API_docs_v66/methods/channels_joinChannel.md +++ b/old_docs/API_docs_v66/methods/channels_joinChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.joinChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_kickFromChannel.md b/old_docs/API_docs_v66/methods/channels_kickFromChannel.md index 1dc6b4b7..5e91bc24 100644 --- a/old_docs/API_docs_v66/methods/channels_kickFromChannel.md +++ b/old_docs/API_docs_v66/methods/channels_kickFromChannel.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.kickFromChannel +* params - {"channel":"InputChannel","user_id":"InputUser","kicked":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.kickFromChannel` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +kicked - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_leaveChannel.md b/old_docs/API_docs_v66/methods/channels_leaveChannel.md index fb3a5fb9..cbf00162 100644 --- a/old_docs/API_docs_v66/methods/channels_leaveChannel.md +++ b/old_docs/API_docs_v66/methods/channels_leaveChannel.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.leaveChannel +* params - {"channel":"InputChannel"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel` + +Parameters: + +channel - Json encoded InputChannel + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_readHistory.md b/old_docs/API_docs_v66/methods/channels_readHistory.md index 9fcf8836..819d4a13 100644 --- a/old_docs/API_docs_v66/methods/channels_readHistory.md +++ b/old_docs/API_docs_v66/methods/channels_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.readHistory +* params - {"channel":"InputChannel","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory` + +Parameters: + +channel - Json encoded InputChannel +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_reportSpam.md b/old_docs/API_docs_v66/methods/channels_reportSpam.md index bc3b2ce0..f40065bd 100644 --- a/old_docs/API_docs_v66/methods/channels_reportSpam.md +++ b/old_docs/API_docs_v66/methods/channels_reportSpam.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.reportSpam +* params - {"channel":"InputChannel","user_id":"InputUser","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam` + +Parameters: + +channel - Json encoded InputChannel +user_id - Json encoded InputUser +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_toggleInvites.md b/old_docs/API_docs_v66/methods/channels_toggleInvites.md index f537ada8..86569f90 100644 --- a/old_docs/API_docs_v66/methods/channels_toggleInvites.md +++ b/old_docs/API_docs_v66/methods/channels_toggleInvites.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleInvites +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleInvites` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_toggleSignatures.md b/old_docs/API_docs_v66/methods/channels_toggleSignatures.md index 327795f4..ea833e9a 100644 --- a/old_docs/API_docs_v66/methods/channels_toggleSignatures.md +++ b/old_docs/API_docs_v66/methods/channels_toggleSignatures.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.toggleSignatures +* params - {"channel":"InputChannel","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleSignatures` + +Parameters: + +channel - Json encoded InputChannel +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md b/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md index 97327889..0fd2da72 100644 --- a/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md +++ b/old_docs/API_docs_v66/methods/channels_updatePinnedMessage.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updatePinnedMessage +* params - {"silent":"Bool","channel":"InputChannel","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updatePinnedMessage` + +Parameters: + +silent - Json encoded Bool +channel - Json encoded InputChannel +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/channels_updateUsername.md b/old_docs/API_docs_v66/methods/channels_updateUsername.md index a8fb27d4..9d45a4b3 100644 --- a/old_docs/API_docs_v66/methods/channels_updateUsername.md +++ b/old_docs/API_docs_v66/methods/channels_updateUsername.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - channels.updateUsername +* params - {"channel":"InputChannel","username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername` + +Parameters: + +channel - Json encoded InputChannel +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/contacts_block.md b/old_docs/API_docs_v66/methods/contacts_block.md index 383e03ee..74d5acd6 100644 --- a/old_docs/API_docs_v66/methods/contacts_block.md +++ b/old_docs/API_docs_v66/methods/contacts_block.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.block +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/contacts_deleteContact.md b/old_docs/API_docs_v66/methods/contacts_deleteContact.md index ccccce7b..26a74263 100644 --- a/old_docs/API_docs_v66/methods/contacts_deleteContact.md +++ b/old_docs/API_docs_v66/methods/contacts_deleteContact.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContact +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/contacts_deleteContacts.md b/old_docs/API_docs_v66/methods/contacts_deleteContacts.md index fbac87ca..c55f9ec8 100644 --- a/old_docs/API_docs_v66/methods/contacts_deleteContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_deleteContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.deleteContacts +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/contacts_exportCard.md b/old_docs/API_docs_v66/methods/contacts_exportCard.md index 229bf31b..35d1087f 100644 --- a/old_docs/API_docs_v66/methods/contacts_exportCard.md +++ b/old_docs/API_docs_v66/methods/contacts_exportCard.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_int = $MadelineProto->contacts->exportCard(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.exportCard +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/contacts_getBlocked.md b/old_docs/API_docs_v66/methods/contacts_getBlocked.md index 0ec6ac6b..cb0fb25e 100644 --- a/old_docs/API_docs_v66/methods/contacts_getBlocked.md +++ b/old_docs/API_docs_v66/methods/contacts_getBlocked.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getBlocked +* params - {"offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked` + +Parameters: + +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/contacts_getContacts.md b/old_docs/API_docs_v66/methods/contacts_getContacts.md index 1a87d2e6..a33a87c5 100644 --- a/old_docs/API_docs_v66/methods/contacts_getContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_getContacts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getContacts +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/contacts_getStatuses.md b/old_docs/API_docs_v66/methods/contacts_getStatuses.md index f8b5114c..1f39ea26 100644 --- a/old_docs/API_docs_v66/methods/contacts_getStatuses.md +++ b/old_docs/API_docs_v66/methods/contacts_getStatuses.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getStatuses +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/contacts_getTopPeers.md b/old_docs/API_docs_v66/methods/contacts_getTopPeers.md index 0c8813ff..293a3541 100644 --- a/old_docs/API_docs_v66/methods/contacts_getTopPeers.md +++ b/old_docs/API_docs_v66/methods/contacts_getTopPeers.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.getTopPeers +* params - {"correspondents":"Bool","bots_pm":"Bool","bots_inline":"Bool","groups":"Bool","channels":"Bool","offset":"int","limit":"int","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getTopPeers` + +Parameters: + +correspondents - Json encoded Bool +bots_pm - Json encoded Bool +bots_inline - Json encoded Bool +groups - Json encoded Bool +channels - Json encoded Bool +offset - Json encoded int +limit - Json encoded int +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/contacts_importCard.md b/old_docs/API_docs_v66/methods/contacts_importCard.md index 9ff21c52..bd127ba1 100644 --- a/old_docs/API_docs_v66/methods/contacts_importCard.md +++ b/old_docs/API_docs_v66/methods/contacts_importCard.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importCard +* params - {"export_card":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard` + +Parameters: + +export_card - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/contacts_importContacts.md b/old_docs/API_docs_v66/methods/contacts_importContacts.md index 10c884ca..30f9b4ac 100644 --- a/old_docs/API_docs_v66/methods/contacts_importContacts.md +++ b/old_docs/API_docs_v66/methods/contacts_importContacts.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.importContacts +* params - {"contacts":["InputContact"],"replace":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts` + +Parameters: + +contacts - Json encoded array of InputContact +replace - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md b/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md index 6d2b6397..adb3f83a 100644 --- a/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md +++ b/old_docs/API_docs_v66/methods/contacts_resetTopPeerRating.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resetTopPeerRating +* params - {"category":"TopPeerCategory","peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resetTopPeerRating` + +Parameters: + +category - Json encoded TopPeerCategory +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/contacts_resolveUsername.md b/old_docs/API_docs_v66/methods/contacts_resolveUsername.md index 75ac6fff..16be75aa 100644 --- a/old_docs/API_docs_v66/methods/contacts_resolveUsername.md +++ b/old_docs/API_docs_v66/methods/contacts_resolveUsername.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.resolveUsername +* params - {"username":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername` + +Parameters: + +username - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/contacts_search.md b/old_docs/API_docs_v66/methods/contacts_search.md index eb60c0a8..e2180ab9 100644 --- a/old_docs/API_docs_v66/methods/contacts_search.md +++ b/old_docs/API_docs_v66/methods/contacts_search.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.search +* params - {"q":"string","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search` + +Parameters: + +q - Json encoded string +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/contacts_unblock.md b/old_docs/API_docs_v66/methods/contacts_unblock.md index fd316f6a..f3ba78d4 100644 --- a/old_docs/API_docs_v66/methods/contacts_unblock.md +++ b/old_docs/API_docs_v66/methods/contacts_unblock.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contacts.unblock +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md b/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md index 4dac3459..8efc1475 100644 --- a/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md +++ b/old_docs/API_docs_v66/methods/contest_saveDeveloperInfo.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->contest->saveDeveloperInfo(['vk_id' => int, 'name' => string, 'phone_number' => string, 'age' => int, 'city' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - contest.saveDeveloperInfo +* params - {"vk_id":"int","name":"string","phone_number":"string","age":"int","city":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contest.saveDeveloperInfo` + +Parameters: + +vk_id - Json encoded int +name - Json encoded string +phone_number - Json encoded string +age - Json encoded int +city - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/destroy_auth_key.md b/old_docs/API_docs_v66/methods/destroy_auth_key.md index 5f025647..f7f98570 100644 --- a/old_docs/API_docs_v66/methods/destroy_auth_key.md +++ b/old_docs/API_docs_v66/methods/destroy_auth_key.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $DestroyAuthKeyRes = $MadelineProto->destroy_auth_key(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - destroy_auth_key +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/destroy_auth_key` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/destroy_session.md b/old_docs/API_docs_v66/methods/destroy_session.md index 86dcd5fe..6475b575 100644 --- a/old_docs/API_docs_v66/methods/destroy_session.md +++ b/old_docs/API_docs_v66/methods/destroy_session.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $DestroySessionRes = $MadelineProto->destroy_session(['session_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - destroy_session +* params - {"session_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/destroy_session` + +Parameters: + +session_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/get_future_salts.md b/old_docs/API_docs_v66/methods/get_future_salts.md index 5c35ffa0..ffc11909 100644 --- a/old_docs/API_docs_v66/methods/get_future_salts.md +++ b/old_docs/API_docs_v66/methods/get_future_salts.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $FutureSalts = $MadelineProto->get_future_salts(['num' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - get_future_salts +* params - {"num":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/get_future_salts` + +Parameters: + +num - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/help_getAppChangelog.md b/old_docs/API_docs_v66/methods/help_getAppChangelog.md index 1a2e43f6..d1ef32c4 100644 --- a/old_docs/API_docs_v66/methods/help_getAppChangelog.md +++ b/old_docs/API_docs_v66/methods/help_getAppChangelog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->help->getAppChangelog(['prev_app_version' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppChangelog +* params - {"prev_app_version":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog` + +Parameters: + +prev_app_version - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/help_getAppUpdate.md b/old_docs/API_docs_v66/methods/help_getAppUpdate.md index 8870072b..851fc06e 100644 --- a/old_docs/API_docs_v66/methods/help_getAppUpdate.md +++ b/old_docs/API_docs_v66/methods/help_getAppUpdate.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_AppUpdate = $MadelineProto->help->getAppUpdate(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getAppUpdate +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/help_getCdnConfig.md b/old_docs/API_docs_v66/methods/help_getCdnConfig.md index e2b17855..76f98928 100644 --- a/old_docs/API_docs_v66/methods/help_getCdnConfig.md +++ b/old_docs/API_docs_v66/methods/help_getCdnConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $CdnConfig = $MadelineProto->help->getCdnConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getCdnConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getCdnConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/help_getConfig.md b/old_docs/API_docs_v66/methods/help_getConfig.md index 9c0a7680..5876e676 100644 --- a/old_docs/API_docs_v66/methods/help_getConfig.md +++ b/old_docs/API_docs_v66/methods/help_getConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Config = $MadelineProto->help->getConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/help_getInviteText.md b/old_docs/API_docs_v66/methods/help_getInviteText.md index 19fd0484..77e3acd1 100644 --- a/old_docs/API_docs_v66/methods/help_getInviteText.md +++ b/old_docs/API_docs_v66/methods/help_getInviteText.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_InviteText = $MadelineProto->help->getInviteText(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getInviteText +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/help_getNearestDc.md b/old_docs/API_docs_v66/methods/help_getNearestDc.md index e0dd18b1..2112c78d 100644 --- a/old_docs/API_docs_v66/methods/help_getNearestDc.md +++ b/old_docs/API_docs_v66/methods/help_getNearestDc.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $NearestDc = $MadelineProto->help->getNearestDc(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getNearestDc +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/help_getSupport.md b/old_docs/API_docs_v66/methods/help_getSupport.md index 3a7f460c..341949e0 100644 --- a/old_docs/API_docs_v66/methods/help_getSupport.md +++ b/old_docs/API_docs_v66/methods/help_getSupport.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_Support = $MadelineProto->help->getSupport(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getSupport +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/help_getTermsOfService.md b/old_docs/API_docs_v66/methods/help_getTermsOfService.md index e53dba71..14f1a976 100644 --- a/old_docs/API_docs_v66/methods/help_getTermsOfService.md +++ b/old_docs/API_docs_v66/methods/help_getTermsOfService.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $help_TermsOfService = $MadelineProto->help->getTermsOfService(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.getTermsOfService +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getTermsOfService` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/help_saveAppLog.md b/old_docs/API_docs_v66/methods/help_saveAppLog.md index 1a9b7305..9d114429 100644 --- a/old_docs/API_docs_v66/methods/help_saveAppLog.md +++ b/old_docs/API_docs_v66/methods/help_saveAppLog.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.saveAppLog +* params - {"events":["InputAppEvent"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.saveAppLog` + +Parameters: + +events - Json encoded array of InputAppEvent + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md b/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md index e1f91e58..e9e6279e 100644 --- a/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md +++ b/old_docs/API_docs_v66/methods/help_setBotUpdatesStatus.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->help->setBotUpdatesStatus(['pending_updates_count' => int, 'message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - help.setBotUpdatesStatus +* params - {"pending_updates_count":"int","message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.setBotUpdatesStatus` + +Parameters: + +pending_updates_count - Json encoded int +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/initConnection.md b/old_docs/API_docs_v66/methods/initConnection.md index bbe108ab..805f48d2 100644 --- a/old_docs/API_docs_v66/methods/initConnection.md +++ b/old_docs/API_docs_v66/methods/initConnection.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - initConnection +* params - {"api_id":"int","device_model":"string","system_version":"string","app_version":"string","lang_code":"string","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection` + +Parameters: + +api_id - Json encoded int +device_model - Json encoded string +system_version - Json encoded string +app_version - Json encoded string +lang_code - Json encoded string +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/invokeAfterMsg.md b/old_docs/API_docs_v66/methods/invokeAfterMsg.md index 52d07148..2516ff1d 100644 --- a/old_docs/API_docs_v66/methods/invokeAfterMsg.md +++ b/old_docs/API_docs_v66/methods/invokeAfterMsg.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsg +* params - {"msg_id":"long","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg` + +Parameters: + +msg_id - Json encoded long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/invokeAfterMsgs.md b/old_docs/API_docs_v66/methods/invokeAfterMsgs.md index 53ca5858..548ca171 100644 --- a/old_docs/API_docs_v66/methods/invokeAfterMsgs.md +++ b/old_docs/API_docs_v66/methods/invokeAfterMsgs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeAfterMsgs +* params - {"msg_ids":["long"],"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs` + +Parameters: + +msg_ids - Json encoded array of long +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/invokeWithLayer.md b/old_docs/API_docs_v66/methods/invokeWithLayer.md index 13056af4..53033697 100644 --- a/old_docs/API_docs_v66/methods/invokeWithLayer.md +++ b/old_docs/API_docs_v66/methods/invokeWithLayer.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithLayer +* params - {"layer":"int","query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer` + +Parameters: + +layer - Json encoded int +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md b/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md index c699baf2..dba78ed9 100644 --- a/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md +++ b/old_docs/API_docs_v66/methods/invokeWithoutUpdates.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - invokeWithoutUpdates +* params - {"query":"!X"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithoutUpdates` + +Parameters: + +query - Json encoded !X + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_acceptEncryption.md b/old_docs/API_docs_v66/methods/messages_acceptEncryption.md index 754512b0..f651a635 100644 --- a/old_docs/API_docs_v66/methods/messages_acceptEncryption.md +++ b/old_docs/API_docs_v66/methods/messages_acceptEncryption.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.acceptEncryption +* params - {"peer":"InputEncryptedChat","g_b":"bytes","key_fingerprint":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.acceptEncryption` + +Parameters: + +peer - Json encoded InputEncryptedChat +g_b - Json encoded bytes +key_fingerprint - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_addChatUser.md b/old_docs/API_docs_v66/methods/messages_addChatUser.md index 19d20fc5..0773b180 100644 --- a/old_docs/API_docs_v66/methods/messages_addChatUser.md +++ b/old_docs/API_docs_v66/methods/messages_addChatUser.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, 'fwd_limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.addChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser","fwd_limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +fwd_limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_checkChatInvite.md b/old_docs/API_docs_v66/methods/messages_checkChatInvite.md index c00ad847..c6cc565f 100644 --- a/old_docs/API_docs_v66/methods/messages_checkChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_checkChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.checkChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.checkChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md b/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md index f9a112f6..9e8a99a1 100644 --- a/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md +++ b/old_docs/API_docs_v66/methods/messages_clearRecentStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.clearRecentStickers +* params - {"attached":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.clearRecentStickers` + +Parameters: + +attached - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_createChat.md b/old_docs/API_docs_v66/methods/messages_createChat.md index fb9adf26..081b07ad 100644 --- a/old_docs/API_docs_v66/methods/messages_createChat.md +++ b/old_docs/API_docs_v66/methods/messages_createChat.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.createChat +* params - {"users":["InputUser"],"title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat` + +Parameters: + +users - Json encoded array of InputUser +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_deleteChatUser.md b/old_docs/API_docs_v66/methods/messages_deleteChatUser.md index 14779f13..611da2a7 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteChatUser.md +++ b/old_docs/API_docs_v66/methods/messages_deleteChatUser.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputPeer, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteChatUser +* params - {"chat_id":"InputPeer","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_deleteHistory.md b/old_docs/API_docs_v66/methods/messages_deleteHistory.md index 4a3c7e3f..4e5321c6 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteHistory.md +++ b/old_docs/API_docs_v66/methods/messages_deleteHistory.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteHistory +* params - {"just_clear":"Bool","peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory` + +Parameters: + +just_clear - Json encoded Bool +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_deleteMessages.md b/old_docs/API_docs_v66/methods/messages_deleteMessages.md index 4f25ff98..7e7b074a 100644 --- a/old_docs/API_docs_v66/methods/messages_deleteMessages.md +++ b/old_docs/API_docs_v66/methods/messages_deleteMessages.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['revoke' => Bool, 'id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.deleteMessages +* params - {"revoke":"Bool","id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages` + +Parameters: + +revoke - Json encoded Bool +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_discardEncryption.md b/old_docs/API_docs_v66/methods/messages_discardEncryption.md index ec3b39c8..87cf3d3e 100644 --- a/old_docs/API_docs_v66/methods/messages_discardEncryption.md +++ b/old_docs/API_docs_v66/methods/messages_discardEncryption.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.discardEncryption +* params - {"chat_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.discardEncryption` + +Parameters: + +chat_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_editChatAdmin.md b/old_docs/API_docs_v66/methods/messages_editChatAdmin.md index 515c2ede..2ad6d72c 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatAdmin.md +++ b/old_docs/API_docs_v66/methods/messages_editChatAdmin.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => InputPeer, 'user_id' => InputUser, 'is_admin' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatAdmin +* params - {"chat_id":"InputPeer","user_id":"InputUser","is_admin":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin` + +Parameters: + +chat_id - Json encoded InputPeer +user_id - Json encoded InputUser +is_admin - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_editChatPhoto.md b/old_docs/API_docs_v66/methods/messages_editChatPhoto.md index adb91066..8e91fa23 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatPhoto.md +++ b/old_docs/API_docs_v66/methods/messages_editChatPhoto.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputPeer, 'photo' => InputChatPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatPhoto +* params - {"chat_id":"InputPeer","photo":"InputChatPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto` + +Parameters: + +chat_id - Json encoded InputPeer +photo - Json encoded InputChatPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_editChatTitle.md b/old_docs/API_docs_v66/methods/messages_editChatTitle.md index 3ea7d29e..5dbf9da1 100644 --- a/old_docs/API_docs_v66/methods/messages_editChatTitle.md +++ b/old_docs/API_docs_v66/methods/messages_editChatTitle.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputPeer, 'title' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editChatTitle +* params - {"chat_id":"InputPeer","title":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle` + +Parameters: + +chat_id - Json encoded InputPeer +title - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md b/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md index 19405712..4daa439f 100644 --- a/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md +++ b/old_docs/API_docs_v66/methods/messages_editInlineBotMessage.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editInlineBotMessage +* params - {"no_webpage":"Bool","id":"InputBotInlineMessageID","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editInlineBotMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_editMessage.md b/old_docs/API_docs_v66/methods/messages_editMessage.md index 05410c5d..d405e718 100644 --- a/old_docs/API_docs_v66/methods/messages_editMessage.md +++ b/old_docs/API_docs_v66/methods/messages_editMessage.md @@ -42,6 +42,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.editMessage +* params - {"no_webpage":"Bool","peer":"InputPeer","id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_exportChatInvite.md b/old_docs/API_docs_v66/methods/messages_exportChatInvite.md index b2e23247..e01c4b0b 100644 --- a/old_docs/API_docs_v66/methods/messages_exportChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_exportChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.exportChatInvite +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.exportChatInvite` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_forwardMessage.md b/old_docs/API_docs_v66/methods/messages_forwardMessage.md index 7d0e9ef8..9fdad7ae 100644 --- a/old_docs/API_docs_v66/methods/messages_forwardMessage.md +++ b/old_docs/API_docs_v66/methods/messages_forwardMessage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessage +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_forwardMessages.md b/old_docs/API_docs_v66/methods/messages_forwardMessages.md index 8a83a735..f72fb809 100644 --- a/old_docs/API_docs_v66/methods/messages_forwardMessages.md +++ b/old_docs/API_docs_v66/methods/messages_forwardMessages.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.forwardMessages +* params - {"silent":"Bool","background":"Bool","with_my_score":"Bool","from_peer":"InputPeer","id":["int"],"to_peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +with_my_score - Json encoded Bool +from_peer - Json encoded InputPeer +id - Json encoded array of int +to_peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getAllChats.md b/old_docs/API_docs_v66/methods/messages_getAllChats.md index b204aed1..2f34348d 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllChats.md +++ b/old_docs/API_docs_v66/methods/messages_getAllChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getAllChats(['except_ids' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllChats +* params - {"except_ids":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllChats` + +Parameters: + +except_ids - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getAllDrafts.md b/old_docs/API_docs_v66/methods/messages_getAllDrafts.md index 97807321..6039321d 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllDrafts.md +++ b/old_docs/API_docs_v66/methods/messages_getAllDrafts.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $Updates = $MadelineProto->messages->getAllDrafts(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllDrafts +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllDrafts` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/messages_getAllStickers.md b/old_docs/API_docs_v66/methods/messages_getAllStickers.md index bc49bdd6..b2f1eb71 100644 --- a/old_docs/API_docs_v66/methods/messages_getAllStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getAllStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAllStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAllStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md b/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md index 2ee3502c..a4abf13e 100644 --- a/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getArchivedStickers.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_ArchivedStickers = $MadelineProto->messages->getArchivedStickers(['masks' => Bool, 'offset_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getArchivedStickers +* params - {"masks":"Bool","offset_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getArchivedStickers` + +Parameters: + +masks - Json encoded Bool +offset_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md b/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md index b15b1801..0a2b8ff2 100644 --- a/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getAttachedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_StickerSetCovered = $MadelineProto->messages->getAttachedStickers(['media' => InputStickeredMedia, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getAttachedStickers +* params - {"media":"InputStickeredMedia"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getAttachedStickers` + +Parameters: + +media - Json encoded InputStickeredMedia + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md b/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md index 90f6b875..e61ca36e 100644 --- a/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md +++ b/old_docs/API_docs_v66/methods/messages_getBotCallbackAnswer.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['game' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getBotCallbackAnswer +* params - {"game":"Bool","peer":"InputPeer","msg_id":"int","data":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getBotCallbackAnswer` + +Parameters: + +game - Json encoded Bool +peer - Json encoded InputPeer +msg_id - Json encoded int +data - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getChats.md b/old_docs/API_docs_v66/methods/messages_getChats.md index 84a994c9..bbb8d17c 100644 --- a/old_docs/API_docs_v66/methods/messages_getChats.md +++ b/old_docs/API_docs_v66/methods/messages_getChats.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getChats +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getChats` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getCommonChats.md b/old_docs/API_docs_v66/methods/messages_getCommonChats.md index dbc917fc..122fbb8d 100644 --- a/old_docs/API_docs_v66/methods/messages_getCommonChats.md +++ b/old_docs/API_docs_v66/methods/messages_getCommonChats.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_Chats = $MadelineProto->messages->getCommonChats(['user_id' => InputUser, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getCommonChats +* params - {"user_id":"InputUser","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getCommonChats` + +Parameters: + +user_id - Json encoded InputUser +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getDhConfig.md b/old_docs/API_docs_v66/methods/messages_getDhConfig.md index 6d9914f0..dcd89fa5 100644 --- a/old_docs/API_docs_v66/methods/messages_getDhConfig.md +++ b/old_docs/API_docs_v66/methods/messages_getDhConfig.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDhConfig +* params - {"version":"int","random_length":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDhConfig` + +Parameters: + +version - Json encoded int +random_length - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getDialogs.md b/old_docs/API_docs_v66/methods/messages_getDialogs.md index f5901eb6..e86176a7 100644 --- a/old_docs/API_docs_v66/methods/messages_getDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getDialogs.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDialogs +* params - {"exclude_pinned":"Bool","offset_date":"int","offset_id":"int","offset_peer":"InputPeer","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDialogs` + +Parameters: + +exclude_pinned - Json encoded Bool +offset_date - Json encoded int +offset_id - Json encoded int +offset_peer - Json encoded InputPeer +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md b/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md index 2daac691..ca541c7e 100644 --- a/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md +++ b/old_docs/API_docs_v66/methods/messages_getDocumentByHash.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getDocumentByHash +* params - {"sha256":"bytes","size":"int","mime_type":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getDocumentByHash` + +Parameters: + +sha256 - Json encoded bytes +size - Json encoded int +mime_type - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md b/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md index 5c51f4be..3bab2043 100644 --- a/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getFeaturedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_FeaturedStickers = $MadelineProto->messages->getFeaturedStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFeaturedStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFeaturedStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getFullChat.md b/old_docs/API_docs_v66/methods/messages_getFullChat.md index 2f282c86..0ed96b58 100644 --- a/old_docs/API_docs_v66/methods/messages_getFullChat.md +++ b/old_docs/API_docs_v66/methods/messages_getFullChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getFullChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getFullChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getGameHighScores.md b/old_docs/API_docs_v66/methods/messages_getGameHighScores.md index 8e3f69d8..07a25b7c 100644 --- a/old_docs/API_docs_v66/methods/messages_getGameHighScores.md +++ b/old_docs/API_docs_v66/methods/messages_getGameHighScores.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_HighScores = $MadelineProto->messages->getGameHighScores(['peer' => InputPeer, 'id' => int, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getGameHighScores +* params - {"peer":"InputPeer","id":"int","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getGameHighScores` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getHistory.md b/old_docs/API_docs_v66/methods/messages_getHistory.md index 9d54dd86..b976c6d5 100644 --- a/old_docs/API_docs_v66/methods/messages_getHistory.md +++ b/old_docs/API_docs_v66/methods/messages_getHistory.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getHistory +* params - {"peer":"InputPeer","offset_id":"int","offset_date":"int","add_offset":"int","limit":"int","max_id":"int","min_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getHistory` + +Parameters: + +peer - Json encoded InputPeer +offset_id - Json encoded int +offset_date - Json encoded int +add_offset - Json encoded int +limit - Json encoded int +max_id - Json encoded int +min_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md b/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md index 0ad9e385..d3959eab 100644 --- a/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md +++ b/old_docs/API_docs_v66/methods/messages_getInlineBotResults.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineBotResults +* params - {"bot":"InputUser","peer":"InputPeer","geo_point":"InputGeoPoint","query":"string","offset":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineBotResults` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +geo_point - Json encoded InputGeoPoint +query - Json encoded string +offset - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md b/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md index 6811fba8..218bbc33 100644 --- a/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md +++ b/old_docs/API_docs_v66/methods/messages_getInlineGameHighScores.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_HighScores = $MadelineProto->messages->getInlineGameHighScores(['id' => InputBotInlineMessageID, 'user_id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getInlineGameHighScores +* params - {"id":"InputBotInlineMessageID","user_id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getInlineGameHighScores` + +Parameters: + +id - Json encoded InputBotInlineMessageID +user_id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getMaskStickers.md b/old_docs/API_docs_v66/methods/messages_getMaskStickers.md index 7aedd066..8d740e32 100644 --- a/old_docs/API_docs_v66/methods/messages_getMaskStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getMaskStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AllStickers = $MadelineProto->messages->getMaskStickers(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMaskStickers +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMaskStickers` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getMessageEditData.md b/old_docs/API_docs_v66/methods/messages_getMessageEditData.md index eb2ea4e3..732fdff5 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessageEditData.md +++ b/old_docs/API_docs_v66/methods/messages_getMessageEditData.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessageEditData +* params - {"peer":"InputPeer","id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessageEditData` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getMessages.md b/old_docs/API_docs_v66/methods/messages_getMessages.md index a2a9d2e8..5f2927f2 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessages.md +++ b/old_docs/API_docs_v66/methods/messages_getMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessages +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessages` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getMessagesViews.md b/old_docs/API_docs_v66/methods/messages_getMessagesViews.md index bb1ebbb0..2f1d23c8 100644 --- a/old_docs/API_docs_v66/methods/messages_getMessagesViews.md +++ b/old_docs/API_docs_v66/methods/messages_getMessagesViews.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getMessagesViews +* params - {"peer":"InputPeer","id":["int"],"increment":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getMessagesViews` + +Parameters: + +peer - Json encoded InputPeer +id - Json encoded array of int +increment - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md b/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md index af44c1dd..bd191681 100644 --- a/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getPeerDialogs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerDialogs +* params - {"peers":["InputPeer"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerDialogs` + +Parameters: + +peers - Json encoded array of InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getPeerSettings.md b/old_docs/API_docs_v66/methods/messages_getPeerSettings.md index 9a8817c0..b78406e9 100644 --- a/old_docs/API_docs_v66/methods/messages_getPeerSettings.md +++ b/old_docs/API_docs_v66/methods/messages_getPeerSettings.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPeerSettings +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPeerSettings` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md b/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md index 09499e6c..f3de7a28 100644 --- a/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_getPinnedDialogs.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getPinnedDialogs +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getPinnedDialogs` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/messages_getRecentStickers.md b/old_docs/API_docs_v66/methods/messages_getRecentStickers.md index 98b76d5e..1e07747d 100644 --- a/old_docs/API_docs_v66/methods/messages_getRecentStickers.md +++ b/old_docs/API_docs_v66/methods/messages_getRecentStickers.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_RecentStickers = $MadelineProto->messages->getRecentStickers(['attached' => Bool, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getRecentStickers +* params - {"attached":"Bool","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getRecentStickers` + +Parameters: + +attached - Json encoded Bool +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getSavedGifs.md b/old_docs/API_docs_v66/methods/messages_getSavedGifs.md index c528873b..a7a0cbd2 100644 --- a/old_docs/API_docs_v66/methods/messages_getSavedGifs.md +++ b/old_docs/API_docs_v66/methods/messages_getSavedGifs.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getSavedGifs +* params - {"hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getSavedGifs` + +Parameters: + +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getStickerSet.md b/old_docs/API_docs_v66/methods/messages_getStickerSet.md index 0ce53b44..f03ff5fa 100644 --- a/old_docs/API_docs_v66/methods/messages_getStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_getStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getWebPage.md b/old_docs/API_docs_v66/methods/messages_getWebPage.md index 10a92123..fd5ecd88 100644 --- a/old_docs/API_docs_v66/methods/messages_getWebPage.md +++ b/old_docs/API_docs_v66/methods/messages_getWebPage.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $WebPage = $MadelineProto->messages->getWebPage(['url' => string, 'hash' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPage +* params - {"url":"string","hash":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPage` + +Parameters: + +url - Json encoded string +hash - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md b/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md index 112aa2ae..021281f6 100644 --- a/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md +++ b/old_docs/API_docs_v66/methods/messages_getWebPagePreview.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.getWebPagePreview +* params - {"message":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getWebPagePreview` + +Parameters: + +message - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_hideReportSpam.md b/old_docs/API_docs_v66/methods/messages_hideReportSpam.md index dbf882ee..9ddaa09c 100644 --- a/old_docs/API_docs_v66/methods/messages_hideReportSpam.md +++ b/old_docs/API_docs_v66/methods/messages_hideReportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.hideReportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.hideReportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_importChatInvite.md b/old_docs/API_docs_v66/methods/messages_importChatInvite.md index 934bd34b..7ae21250 100644 --- a/old_docs/API_docs_v66/methods/messages_importChatInvite.md +++ b/old_docs/API_docs_v66/methods/messages_importChatInvite.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.importChatInvite +* params - {"hash":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.importChatInvite` + +Parameters: + +hash - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_installStickerSet.md b/old_docs/API_docs_v66/methods/messages_installStickerSet.md index ad734572..6d1e701b 100644 --- a/old_docs/API_docs_v66/methods/messages_installStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_installStickerSet.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_StickerSetInstallResult = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'archived' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.installStickerSet +* params - {"stickerset":"InputStickerSet","archived":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.installStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet +archived - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_migrateChat.md b/old_docs/API_docs_v66/methods/messages_migrateChat.md index eaa988a7..1d8e1ca5 100644 --- a/old_docs/API_docs_v66/methods/messages_migrateChat.md +++ b/old_docs/API_docs_v66/methods/messages_migrateChat.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->migrateChat(['chat_id' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.migrateChat +* params - {"chat_id":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.migrateChat` + +Parameters: + +chat_id - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md b/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md index e5e8efb9..b40fdadf 100644 --- a/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md +++ b/old_docs/API_docs_v66/methods/messages_readEncryptedHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readEncryptedHistory +* params - {"peer":"InputEncryptedChat","max_date":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readEncryptedHistory` + +Parameters: + +peer - Json encoded InputEncryptedChat +max_date - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md b/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md index 0526f0b5..5fc7a340 100644 --- a/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md +++ b/old_docs/API_docs_v66/methods/messages_readFeaturedStickers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->readFeaturedStickers(['id' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readFeaturedStickers +* params - {"id":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readFeaturedStickers` + +Parameters: + +id - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_readHistory.md b/old_docs/API_docs_v66/methods/messages_readHistory.md index c5ddb451..99ce0e57 100644 --- a/old_docs/API_docs_v66/methods/messages_readHistory.md +++ b/old_docs/API_docs_v66/methods/messages_readHistory.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readHistory +* params - {"peer":"InputPeer","max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readHistory` + +Parameters: + +peer - Json encoded InputPeer +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_readMessageContents.md b/old_docs/API_docs_v66/methods/messages_readMessageContents.md index f14fac6e..f5c41660 100644 --- a/old_docs/API_docs_v66/methods/messages_readMessageContents.md +++ b/old_docs/API_docs_v66/methods/messages_readMessageContents.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.readMessageContents +* params - {"id":["int"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMessageContents` + +Parameters: + +id - Json encoded array of int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_receivedMessages.md b/old_docs/API_docs_v66/methods/messages_receivedMessages.md index 60042d4d..c411866f 100644 --- a/old_docs/API_docs_v66/methods/messages_receivedMessages.md +++ b/old_docs/API_docs_v66/methods/messages_receivedMessages.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedMessages +* params - {"max_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedMessages` + +Parameters: + +max_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_receivedQueue.md b/old_docs/API_docs_v66/methods/messages_receivedQueue.md index cf715358..04897f47 100644 --- a/old_docs/API_docs_v66/methods/messages_receivedQueue.md +++ b/old_docs/API_docs_v66/methods/messages_receivedQueue.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.receivedQueue +* params - {"max_qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.receivedQueue` + +Parameters: + +max_qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md b/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md index 0eb7c736..151678b0 100644 --- a/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md +++ b/old_docs/API_docs_v66/methods/messages_reorderPinnedDialogs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputPeer], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderPinnedDialogs +* params - {"force":"Bool","order":["InputPeer"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderPinnedDialogs` + +Parameters: + +force - Json encoded Bool +order - Json encoded array of InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md b/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md index 4cfc68ef..7ff0d995 100644 --- a/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md +++ b/old_docs/API_docs_v66/methods/messages_reorderStickerSets.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reorderStickerSets(['masks' => Bool, 'order' => [long], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reorderStickerSets +* params - {"masks":"Bool","order":["long"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reorderStickerSets` + +Parameters: + +masks - Json encoded Bool +order - Json encoded array of long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md b/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md index a6b6023b..d726392b 100644 --- a/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md +++ b/old_docs/API_docs_v66/methods/messages_reportEncryptedSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportEncryptedSpam(['peer' => InputEncryptedChat, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportEncryptedSpam +* params - {"peer":"InputEncryptedChat"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportEncryptedSpam` + +Parameters: + +peer - Json encoded InputEncryptedChat + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_reportSpam.md b/old_docs/API_docs_v66/methods/messages_reportSpam.md index 73e54a09..f3871cc6 100644 --- a/old_docs/API_docs_v66/methods/messages_reportSpam.md +++ b/old_docs/API_docs_v66/methods/messages_reportSpam.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.reportSpam +* params - {"peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.reportSpam` + +Parameters: + +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_requestEncryption.md b/old_docs/API_docs_v66/methods/messages_requestEncryption.md index b4a6b06d..457d2fc9 100644 --- a/old_docs/API_docs_v66/methods/messages_requestEncryption.md +++ b/old_docs/API_docs_v66/methods/messages_requestEncryption.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.requestEncryption +* params - {"user_id":"InputUser","g_a":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.requestEncryption` + +Parameters: + +user_id - Json encoded InputUser +g_a - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_saveDraft.md b/old_docs/API_docs_v66/methods/messages_saveDraft.md index c28f8fd9..f683ea04 100644 --- a/old_docs/API_docs_v66/methods/messages_saveDraft.md +++ b/old_docs/API_docs_v66/methods/messages_saveDraft.md @@ -41,6 +41,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveDraft +* params - {"no_webpage":"Bool","reply_to_msg_id":"int","peer":"InputPeer","message":"string","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveDraft` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_saveGif.md b/old_docs/API_docs_v66/methods/messages_saveGif.md index 6a2269b5..c6a5e7ba 100644 --- a/old_docs/API_docs_v66/methods/messages_saveGif.md +++ b/old_docs/API_docs_v66/methods/messages_saveGif.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveGif +* params - {"id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveGif` + +Parameters: + +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md b/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md index 1acc5473..96f55049 100644 --- a/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md +++ b/old_docs/API_docs_v66/methods/messages_saveRecentSticker.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->saveRecentSticker(['attached' => Bool, 'id' => InputDocument, 'unsave' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.saveRecentSticker +* params - {"attached":"Bool","id":"InputDocument","unsave":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.saveRecentSticker` + +Parameters: + +attached - Json encoded Bool +id - Json encoded InputDocument +unsave - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_search.md b/old_docs/API_docs_v66/methods/messages_search.md index d53456d0..a0485ebe 100644 --- a/old_docs/API_docs_v66/methods/messages_search.md +++ b/old_docs/API_docs_v66/methods/messages_search.md @@ -43,6 +43,37 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.search +* params - {"peer":"InputPeer","q":"string","filter":"MessagesFilter","min_date":"int","max_date":"int","offset":"int","max_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.search` + +Parameters: + +peer - Json encoded InputPeer +q - Json encoded string +filter - Json encoded MessagesFilter +min_date - Json encoded int +max_date - Json encoded int +offset - Json encoded int +max_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_searchGifs.md b/old_docs/API_docs_v66/methods/messages_searchGifs.md index ca0934be..24658214 100644 --- a/old_docs/API_docs_v66/methods/messages_searchGifs.md +++ b/old_docs/API_docs_v66/methods/messages_searchGifs.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGifs +* params - {"q":"string","offset":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGifs` + +Parameters: + +q - Json encoded string +offset - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_searchGlobal.md b/old_docs/API_docs_v66/methods/messages_searchGlobal.md index 36f09366..0095015c 100644 --- a/old_docs/API_docs_v66/methods/messages_searchGlobal.md +++ b/old_docs/API_docs_v66/methods/messages_searchGlobal.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.searchGlobal +* params - {"q":"string","offset_date":"int","offset_peer":"InputPeer","offset_id":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.searchGlobal` + +Parameters: + +q - Json encoded string +offset_date - Json encoded int +offset_peer - Json encoded InputPeer +offset_id - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_sendEncrypted.md b/old_docs/API_docs_v66/methods/messages_sendEncrypted.md index 88af9d46..af612ccb 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncrypted.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncrypted.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncrypted +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncrypted` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md b/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md index fd031f0a..db991de2 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncryptedFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, 'file' => InputEncryptedFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedFile +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage","file":"InputEncryptedFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedFile` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage +file - Json encoded InputEncryptedFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md b/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md index 823e250e..083577f2 100644 --- a/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md +++ b/old_docs/API_docs_v66/methods/messages_sendEncryptedService.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'message' => DecryptedMessage, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendEncryptedService +* params - {"peer":"InputEncryptedChat","message":"DecryptedMessage"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendEncryptedService` + +Parameters: + +peer - Json encoded InputEncryptedChat +message - Json encoded DecryptedMessage + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md b/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md index 42eee3c3..c747e54b 100644 --- a/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md +++ b/old_docs/API_docs_v66/methods/messages_sendInlineBotResult.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendInlineBotResult +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","query_id":"long","id":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendInlineBotResult` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +query_id - Json encoded long +id - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_sendMedia.md b/old_docs/API_docs_v66/methods/messages_sendMedia.md index 4f763d5e..05464ad5 100644 --- a/old_docs/API_docs_v66/methods/messages_sendMedia.md +++ b/old_docs/API_docs_v66/methods/messages_sendMedia.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMedia +* params - {"silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","media":"InputMedia","reply_markup":"ReplyMarkup"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMedia` + +Parameters: + +silent - Json encoded Bool +background - Json encoded Bool +clear_draft - Json encoded Bool +peer - Json encoded InputPeer +reply_to_msg_id - Json encoded int +media - Json encoded InputMedia +reply_markup - Json encoded ReplyMarkup + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_sendMessage.md b/old_docs/API_docs_v66/methods/messages_sendMessage.md index b31fc6cc..6cc234c3 100644 --- a/old_docs/API_docs_v66/methods/messages_sendMessage.md +++ b/old_docs/API_docs_v66/methods/messages_sendMessage.md @@ -45,6 +45,30 @@ if (isset($number)) { // Login as a user $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], 'parse_mode' => 'string', ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.sendMessage +* params - {"no_webpage":"Bool","silent":"Bool","background":"Bool","clear_draft":"Bool","peer":"InputPeer","reply_to_msg_id":"int","message":"string","reply_markup":"ReplyMarkup","entities":["MessageEntity"],"parse_mode":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMessage` + +Parameters: + +parse_mode - string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md b/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md index 38a65f69..6356d86b 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md +++ b/old_docs/API_docs_v66/methods/messages_setBotCallbackAnswer.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, 'url' => string, 'cache_time' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotCallbackAnswer +* params - {"alert":"Bool","query_id":"long","message":"string","url":"string","cache_time":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotCallbackAnswer` + +Parameters: + +alert - Json encoded Bool +query_id - Json encoded long +message - Json encoded string +url - Json encoded string +cache_time - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md b/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md index 26d44b73..b9393981 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md +++ b/old_docs/API_docs_v66/methods/messages_setBotPrecheckoutResults.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotPrecheckoutResults(['success' => Bool, 'query_id' => long, 'error' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotPrecheckoutResults +* params - {"success":"Bool","query_id":"long","error":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotPrecheckoutResults` + +Parameters: + +success - Json encoded Bool +query_id - Json encoded long +error - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md b/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md index b0115468..1ddd01b3 100644 --- a/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md +++ b/old_docs/API_docs_v66/methods/messages_setBotShippingResults.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setBotShippingResults(['query_id' => long, 'error' => string, 'shipping_options' => [ShippingOption], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setBotShippingResults +* params - {"query_id":"long","error":"string","shipping_options":["ShippingOption"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setBotShippingResults` + +Parameters: + +query_id - Json encoded long +error - Json encoded string +shipping_options - Json encoded array of ShippingOption + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md b/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md index 61d74858..dc934d24 100644 --- a/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md +++ b/old_docs/API_docs_v66/methods/messages_setEncryptedTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setEncryptedTyping +* params - {"peer":"InputEncryptedChat","typing":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setEncryptedTyping` + +Parameters: + +peer - Json encoded InputEncryptedChat +typing - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_setGameScore.md b/old_docs/API_docs_v66/methods/messages_setGameScore.md index d6e7a77a..64a2feea 100644 --- a/old_docs/API_docs_v66/methods/messages_setGameScore.md +++ b/old_docs/API_docs_v66/methods/messages_setGameScore.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->setGameScore(['edit_message' => Bool, 'force' => Bool, 'peer' => InputPeer, 'id' => int, 'user_id' => InputUser, 'score' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setGameScore +* params - {"edit_message":"Bool","force":"Bool","peer":"InputPeer","id":"int","user_id":"InputUser","score":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setGameScore` + +Parameters: + +edit_message - Json encoded Bool +force - Json encoded Bool +peer - Json encoded InputPeer +id - Json encoded int +user_id - Json encoded InputUser +score - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md b/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md index 0ef74b32..5a2b1da0 100644 --- a/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md +++ b/old_docs/API_docs_v66/methods/messages_setInlineBotResults.md @@ -42,6 +42,36 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineBotResults +* params - {"gallery":"Bool","private":"Bool","query_id":"long","results":["InputBotInlineResult"],"cache_time":"int","next_offset":"string","switch_pm":"InlineBotSwitchPM"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineBotResults` + +Parameters: + +gallery - Json encoded Bool +private - Json encoded Bool +query_id - Json encoded long +results - Json encoded array of InputBotInlineResult +cache_time - Json encoded int +next_offset - Json encoded string +switch_pm - Json encoded InlineBotSwitchPM + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md b/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md index d3a8846c..df93e25a 100644 --- a/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md +++ b/old_docs/API_docs_v66/methods/messages_setInlineGameScore.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setInlineGameScore(['edit_message' => Bool, 'force' => Bool, 'id' => InputBotInlineMessageID, 'user_id' => InputUser, 'score' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setInlineGameScore +* params - {"edit_message":"Bool","force":"Bool","id":"InputBotInlineMessageID","user_id":"InputUser","score":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setInlineGameScore` + +Parameters: + +edit_message - Json encoded Bool +force - Json encoded Bool +id - Json encoded InputBotInlineMessageID +user_id - Json encoded InputUser +score - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_setTyping.md b/old_docs/API_docs_v66/methods/messages_setTyping.md index 359fa8d5..30e72281 100644 --- a/old_docs/API_docs_v66/methods/messages_setTyping.md +++ b/old_docs/API_docs_v66/methods/messages_setTyping.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.setTyping +* params - {"peer":"InputPeer","action":"SendMessageAction"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.setTyping` + +Parameters: + +peer - Json encoded InputPeer +action - Json encoded SendMessageAction + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_startBot.md b/old_docs/API_docs_v66/methods/messages_startBot.md index 58aadfab..93229d34 100644 --- a/old_docs/API_docs_v66/methods/messages_startBot.md +++ b/old_docs/API_docs_v66/methods/messages_startBot.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.startBot +* params - {"bot":"InputUser","peer":"InputPeer","start_param":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.startBot` + +Parameters: + +bot - Json encoded InputUser +peer - Json encoded InputPeer +start_param - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md b/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md index ec1809f3..2edb160a 100644 --- a/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md +++ b/old_docs/API_docs_v66/methods/messages_toggleChatAdmins.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => InputPeer, 'enabled' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleChatAdmins +* params - {"chat_id":"InputPeer","enabled":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleChatAdmins` + +Parameters: + +chat_id - Json encoded InputPeer +enabled - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md b/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md index 6e1230cd..d86a96ae 100644 --- a/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md +++ b/old_docs/API_docs_v66/methods/messages_toggleDialogPin.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->toggleDialogPin(['pinned' => Bool, 'peer' => InputPeer, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.toggleDialogPin +* params - {"pinned":"Bool","peer":"InputPeer"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.toggleDialogPin` + +Parameters: + +pinned - Json encoded Bool +peer - Json encoded InputPeer + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md b/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md index 939dc1db..b6037ba0 100644 --- a/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md +++ b/old_docs/API_docs_v66/methods/messages_uninstallStickerSet.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - messages.uninstallStickerSet +* params - {"stickerset":"InputStickerSet"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.uninstallStickerSet` + +Parameters: + +stickerset - Json encoded InputStickerSet + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md b/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md index e250bb2e..4da0da7c 100644 --- a/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_clearSavedInfo.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->payments->clearSavedInfo(['credentials' => Bool, 'info' => Bool, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.clearSavedInfo +* params - {"credentials":"Bool","info":"Bool"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.clearSavedInfo` + +Parameters: + +credentials - Json encoded Bool +info - Json encoded Bool + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/payments_getPaymentForm.md b/old_docs/API_docs_v66/methods/payments_getPaymentForm.md index b61c8ede..8c495ca5 100644 --- a/old_docs/API_docs_v66/methods/payments_getPaymentForm.md +++ b/old_docs/API_docs_v66/methods/payments_getPaymentForm.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $payments_PaymentForm = $MadelineProto->payments->getPaymentForm(['msg_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.getPaymentForm +* params - {"msg_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.getPaymentForm` + +Parameters: + +msg_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md b/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md index 8e08e7a2..81b4e790 100644 --- a/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md +++ b/old_docs/API_docs_v66/methods/payments_getPaymentReceipt.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $payments_PaymentReceipt = $MadelineProto->payments->getPaymentReceipt(['msg_id' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.getPaymentReceipt +* params - {"msg_id":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.getPaymentReceipt` + +Parameters: + +msg_id - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/payments_getSavedInfo.md b/old_docs/API_docs_v66/methods/payments_getSavedInfo.md index d697b221..e53a85db 100644 --- a/old_docs/API_docs_v66/methods/payments_getSavedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_getSavedInfo.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $payments_SavedInfo = $MadelineProto->payments->getSavedInfo(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.getSavedInfo +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.getSavedInfo` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md b/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md index 573c2462..f5e555ed 100644 --- a/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md +++ b/old_docs/API_docs_v66/methods/payments_sendPaymentForm.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $payments_PaymentResult = $MadelineProto->payments->sendPaymentForm(['msg_id' => int, 'requested_info_id' => string, 'shipping_option_id' => string, 'credentials' => InputPaymentCredentials, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.sendPaymentForm +* params - {"msg_id":"int","requested_info_id":"string","shipping_option_id":"string","credentials":"InputPaymentCredentials"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.sendPaymentForm` + +Parameters: + +msg_id - Json encoded int +requested_info_id - Json encoded string +shipping_option_id - Json encoded string +credentials - Json encoded InputPaymentCredentials + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md b/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md index f10f7fed..96b7ec3a 100644 --- a/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md +++ b/old_docs/API_docs_v66/methods/payments_validateRequestedInfo.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $payments_ValidatedRequestedInfo = $MadelineProto->payments->validateRequestedInfo(['save' => Bool, 'msg_id' => int, 'info' => PaymentRequestedInfo, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - payments.validateRequestedInfo +* params - {"save":"Bool","msg_id":"int","info":"PaymentRequestedInfo"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/payments.validateRequestedInfo` + +Parameters: + +save - Json encoded Bool +msg_id - Json encoded int +info - Json encoded PaymentRequestedInfo + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/phone_acceptCall.md b/old_docs/API_docs_v66/methods/phone_acceptCall.md index 4b7386d5..cad5c1d9 100644 --- a/old_docs/API_docs_v66/methods/phone_acceptCall.md +++ b/old_docs/API_docs_v66/methods/phone_acceptCall.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $phone_PhoneCall = $MadelineProto->phone->acceptCall(['peer' => InputPhoneCall, 'g_b' => bytes, 'protocol' => PhoneCallProtocol, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.acceptCall +* params - {"peer":"InputPhoneCall","g_b":"bytes","protocol":"PhoneCallProtocol"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.acceptCall` + +Parameters: + +peer - Json encoded InputPhoneCall +g_b - Json encoded bytes +protocol - Json encoded PhoneCallProtocol + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/phone_confirmCall.md b/old_docs/API_docs_v66/methods/phone_confirmCall.md index 3b189e69..64063a6f 100644 --- a/old_docs/API_docs_v66/methods/phone_confirmCall.md +++ b/old_docs/API_docs_v66/methods/phone_confirmCall.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $phone_PhoneCall = $MadelineProto->phone->confirmCall(['peer' => InputPhoneCall, 'g_a' => bytes, 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.confirmCall +* params - {"peer":"InputPhoneCall","g_a":"bytes","key_fingerprint":"long","protocol":"PhoneCallProtocol"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.confirmCall` + +Parameters: + +peer - Json encoded InputPhoneCall +g_a - Json encoded bytes +key_fingerprint - Json encoded long +protocol - Json encoded PhoneCallProtocol + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/phone_discardCall.md b/old_docs/API_docs_v66/methods/phone_discardCall.md index 00b0d78e..7c5b494c 100644 --- a/old_docs/API_docs_v66/methods/phone_discardCall.md +++ b/old_docs/API_docs_v66/methods/phone_discardCall.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->phone->discardCall(['peer' => InputPhoneCall, 'duration' => int, 'reason' => PhoneCallDiscardReason, 'connection_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.discardCall +* params - {"peer":"InputPhoneCall","duration":"int","reason":"PhoneCallDiscardReason","connection_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.discardCall` + +Parameters: + +peer - Json encoded InputPhoneCall +duration - Json encoded int +reason - Json encoded PhoneCallDiscardReason +connection_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/phone_getCallConfig.md b/old_docs/API_docs_v66/methods/phone_getCallConfig.md index bdd54623..36ba68f6 100644 --- a/old_docs/API_docs_v66/methods/phone_getCallConfig.md +++ b/old_docs/API_docs_v66/methods/phone_getCallConfig.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $DataJSON = $MadelineProto->phone->getCallConfig(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.getCallConfig +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.getCallConfig` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/phone_receivedCall.md b/old_docs/API_docs_v66/methods/phone_receivedCall.md index 748e215d..e4ba0536 100644 --- a/old_docs/API_docs_v66/methods/phone_receivedCall.md +++ b/old_docs/API_docs_v66/methods/phone_receivedCall.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->phone->receivedCall(['peer' => InputPhoneCall, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.receivedCall +* params - {"peer":"InputPhoneCall"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.receivedCall` + +Parameters: + +peer - Json encoded InputPhoneCall + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/phone_requestCall.md b/old_docs/API_docs_v66/methods/phone_requestCall.md index 633af965..c84084ca 100644 --- a/old_docs/API_docs_v66/methods/phone_requestCall.md +++ b/old_docs/API_docs_v66/methods/phone_requestCall.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $phone_PhoneCall = $MadelineProto->phone->requestCall(['user_id' => InputUser, 'g_a_hash' => bytes, 'protocol' => PhoneCallProtocol, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.requestCall +* params - {"user_id":"InputUser","g_a_hash":"bytes","protocol":"PhoneCallProtocol"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.requestCall` + +Parameters: + +user_id - Json encoded InputUser +g_a_hash - Json encoded bytes +protocol - Json encoded PhoneCallProtocol + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/phone_saveCallDebug.md b/old_docs/API_docs_v66/methods/phone_saveCallDebug.md index cc495068..b301968f 100644 --- a/old_docs/API_docs_v66/methods/phone_saveCallDebug.md +++ b/old_docs/API_docs_v66/methods/phone_saveCallDebug.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->phone->saveCallDebug(['peer' => InputPhoneCall, 'debug' => DataJSON, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.saveCallDebug +* params - {"peer":"InputPhoneCall","debug":"DataJSON"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.saveCallDebug` + +Parameters: + +peer - Json encoded InputPhoneCall +debug - Json encoded DataJSON + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/phone_setCallRating.md b/old_docs/API_docs_v66/methods/phone_setCallRating.md index c00d5158..82dd9d5e 100644 --- a/old_docs/API_docs_v66/methods/phone_setCallRating.md +++ b/old_docs/API_docs_v66/methods/phone_setCallRating.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - phone.setCallRating +* params - {"peer":"InputPhoneCall","rating":"int","comment":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/phone.setCallRating` + +Parameters: + +peer - Json encoded InputPhoneCall +rating - Json encoded int +comment - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/photos_deletePhotos.md b/old_docs/API_docs_v66/methods/photos_deletePhotos.md index b9e5a02b..261eaa4d 100644 --- a/old_docs/API_docs_v66/methods/photos_deletePhotos.md +++ b/old_docs/API_docs_v66/methods/photos_deletePhotos.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.deletePhotos +* params - {"id":["InputPhoto"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.deletePhotos` + +Parameters: + +id - Json encoded array of InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/photos_getUserPhotos.md b/old_docs/API_docs_v66/methods/photos_getUserPhotos.md index 8d3dd0fe..e5dd2341 100644 --- a/old_docs/API_docs_v66/methods/photos_getUserPhotos.md +++ b/old_docs/API_docs_v66/methods/photos_getUserPhotos.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.getUserPhotos +* params - {"user_id":"InputUser","offset":"int","max_id":"long","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.getUserPhotos` + +Parameters: + +user_id - Json encoded InputUser +offset - Json encoded int +max_id - Json encoded long +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md b/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md index 46cb4c32..63f2ae84 100644 --- a/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md +++ b/old_docs/API_docs_v66/methods/photos_updateProfilePhoto.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.updateProfilePhoto +* params - {"id":"InputPhoto"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.updateProfilePhoto` + +Parameters: + +id - Json encoded InputPhoto + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md b/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md index d8c1f9ec..408a631f 100644 --- a/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md +++ b/old_docs/API_docs_v66/methods/photos_uploadProfilePhoto.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - photos.uploadProfilePhoto +* params - {"file":"InputFile"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/photos.uploadProfilePhoto` + +Parameters: + +file - Json encoded InputFile + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/ping.md b/old_docs/API_docs_v66/methods/ping.md index 125f16e5..89f77caa 100644 --- a/old_docs/API_docs_v66/methods/ping.md +++ b/old_docs/API_docs_v66/methods/ping.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Pong = $MadelineProto->ping(['ping_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - ping +* params - {"ping_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/ping` + +Parameters: + +ping_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/ping_delay_disconnect.md b/old_docs/API_docs_v66/methods/ping_delay_disconnect.md index eab86cc5..ede5fe98 100644 --- a/old_docs/API_docs_v66/methods/ping_delay_disconnect.md +++ b/old_docs/API_docs_v66/methods/ping_delay_disconnect.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Pong = $MadelineProto->ping_delay_disconnect(['ping_id' => long, 'disconnect_delay' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - ping_delay_disconnect +* params - {"ping_id":"long","disconnect_delay":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/ping_delay_disconnect` + +Parameters: + +ping_id - Json encoded long +disconnect_delay - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/req_DH_params.md b/old_docs/API_docs_v66/methods/req_DH_params.md index 93ad6d82..b2e16150 100644 --- a/old_docs/API_docs_v66/methods/req_DH_params.md +++ b/old_docs/API_docs_v66/methods/req_DH_params.md @@ -41,6 +41,35 @@ if (isset($number)) { // Login as a user $Server_DH_Params = $MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => string, 'q' => string, 'public_key_fingerprint' => long, 'encrypted_data' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - req_DH_params +* params - {"nonce":"int128","server_nonce":"int128","p":"string","q":"string","public_key_fingerprint":"long","encrypted_data":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/req_DH_params` + +Parameters: + +nonce - Json encoded int128 +server_nonce - Json encoded int128 +p - Json encoded string +q - Json encoded string +public_key_fingerprint - Json encoded long +encrypted_data - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/req_pq.md b/old_docs/API_docs_v66/methods/req_pq.md index 59fff9cc..7a9b2f2c 100644 --- a/old_docs/API_docs_v66/methods/req_pq.md +++ b/old_docs/API_docs_v66/methods/req_pq.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $ResPQ = $MadelineProto->req_pq(['nonce' => int128, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - req_pq +* params - {"nonce":"int128"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/req_pq` + +Parameters: + +nonce - Json encoded int128 + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/rpc_drop_answer.md b/old_docs/API_docs_v66/methods/rpc_drop_answer.md index 94c8a32a..8fc7854d 100644 --- a/old_docs/API_docs_v66/methods/rpc_drop_answer.md +++ b/old_docs/API_docs_v66/methods/rpc_drop_answer.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $RpcDropAnswer = $MadelineProto->rpc_drop_answer(['req_msg_id' => long, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - rpc_drop_answer +* params - {"req_msg_id":"long"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/rpc_drop_answer` + +Parameters: + +req_msg_id - Json encoded long + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/set_client_DH_params.md b/old_docs/API_docs_v66/methods/set_client_DH_params.md index 795229e2..26fb4dc2 100644 --- a/old_docs/API_docs_v66/methods/set_client_DH_params.md +++ b/old_docs/API_docs_v66/methods/set_client_DH_params.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Set_client_DH_params_answer = $MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => string, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - set_client_DH_params +* params - {"nonce":"int128","server_nonce":"int128","encrypted_data":"string"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/set_client_DH_params` + +Parameters: + +nonce - Json encoded int128 +server_nonce - Json encoded int128 +encrypted_data - Json encoded string + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/updates_getChannelDifference.md b/old_docs/API_docs_v66/methods/updates_getChannelDifference.md index b343b62f..81a25d86 100644 --- a/old_docs/API_docs_v66/methods/updates_getChannelDifference.md +++ b/old_docs/API_docs_v66/methods/updates_getChannelDifference.md @@ -40,6 +40,34 @@ if (isset($number)) { // Login as a user $updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['force' => Bool, 'channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getChannelDifference +* params - {"force":"Bool","channel":"InputChannel","filter":"ChannelMessagesFilter","pts":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getChannelDifference` + +Parameters: + +force - Json encoded Bool +channel - Json encoded InputChannel +filter - Json encoded ChannelMessagesFilter +pts - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/updates_getDifference.md b/old_docs/API_docs_v66/methods/updates_getDifference.md index a0aadc04..7d23893b 100644 --- a/old_docs/API_docs_v66/methods/updates_getDifference.md +++ b/old_docs/API_docs_v66/methods/updates_getDifference.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'pts_total_limit' => int, 'date' => int, 'qts' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getDifference +* params - {"pts":"int","pts_total_limit":"int","date":"int","qts":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getDifference` + +Parameters: + +pts - Json encoded int +pts_total_limit - Json encoded int +date - Json encoded int +qts - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/updates_getState.md b/old_docs/API_docs_v66/methods/updates_getState.md index c6f98a9c..213907f2 100644 --- a/old_docs/API_docs_v66/methods/updates_getState.md +++ b/old_docs/API_docs_v66/methods/updates_getState.md @@ -29,6 +29,29 @@ if (isset($number)) { // Login as a user } $updates_State = $MadelineProto->updates->getState(); +``` + +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - updates.getState +* params - + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/updates.getState` + +Parameters: + + + ``` Or, if you're into Lua: diff --git a/old_docs/API_docs_v66/methods/upload_getCdnFile.md b/old_docs/API_docs_v66/methods/upload_getCdnFile.md index c9def2d5..f0286761 100644 --- a/old_docs/API_docs_v66/methods/upload_getCdnFile.md +++ b/old_docs/API_docs_v66/methods/upload_getCdnFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => bytes, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getCdnFile +* params - {"file_token":"bytes","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getCdnFile` + +Parameters: + +file_token - Json encoded bytes +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/upload_getFile.md b/old_docs/API_docs_v66/methods/upload_getFile.md index 8e32c8a3..73f89e1a 100644 --- a/old_docs/API_docs_v66/methods/upload_getFile.md +++ b/old_docs/API_docs_v66/methods/upload_getFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getFile +* params - {"location":"InputFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getFile` + +Parameters: + +location - Json encoded InputFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/upload_getWebFile.md b/old_docs/API_docs_v66/methods/upload_getWebFile.md index 496c36f3..4206040a 100644 --- a/old_docs/API_docs_v66/methods/upload_getWebFile.md +++ b/old_docs/API_docs_v66/methods/upload_getWebFile.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $upload_WebFile = $MadelineProto->upload->getWebFile(['location' => InputWebFileLocation, 'offset' => int, 'limit' => int, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.getWebFile +* params - {"location":"InputWebFileLocation","offset":"int","limit":"int"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.getWebFile` + +Parameters: + +location - Json encoded InputWebFileLocation +offset - Json encoded int +limit - Json encoded int + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/upload_reuploadCdnFile.md b/old_docs/API_docs_v66/methods/upload_reuploadCdnFile.md index 08016537..82ba79fe 100644 --- a/old_docs/API_docs_v66/methods/upload_reuploadCdnFile.md +++ b/old_docs/API_docs_v66/methods/upload_reuploadCdnFile.md @@ -37,6 +37,31 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->reuploadCdnFile(['file_token' => bytes, 'request_token' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.reuploadCdnFile +* params - {"file_token":"bytes","request_token":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.reuploadCdnFile` + +Parameters: + +file_token - Json encoded bytes +request_token - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/upload_saveBigFilePart.md b/old_docs/API_docs_v66/methods/upload_saveBigFilePart.md index 1a8d9efb..8915d590 100644 --- a/old_docs/API_docs_v66/methods/upload_saveBigFilePart.md +++ b/old_docs/API_docs_v66/methods/upload_saveBigFilePart.md @@ -39,6 +39,33 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveBigFilePart +* params - {"file_id":"long","file_part":"int","file_total_parts":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveBigFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +file_total_parts - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/upload_saveFilePart.md b/old_docs/API_docs_v66/methods/upload_saveFilePart.md index 97dc64a3..c8dab377 100644 --- a/old_docs/API_docs_v66/methods/upload_saveFilePart.md +++ b/old_docs/API_docs_v66/methods/upload_saveFilePart.md @@ -38,6 +38,32 @@ if (isset($number)) { // Login as a user $Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - upload.saveFilePart +* params - {"file_id":"long","file_part":"int","bytes":"bytes"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/upload.saveFilePart` + +Parameters: + +file_id - Json encoded long +file_part - Json encoded int +bytes - Json encoded bytes + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/users_getFullUser.md b/old_docs/API_docs_v66/methods/users_getFullUser.md index b2d9fb73..ea04da06 100644 --- a/old_docs/API_docs_v66/methods/users_getFullUser.md +++ b/old_docs/API_docs_v66/methods/users_getFullUser.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getFullUser +* params - {"id":"InputUser"} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getFullUser` + +Parameters: + +id - Json encoded InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/methods/users_getUsers.md b/old_docs/API_docs_v66/methods/users_getUsers.md index 7ce944b8..ba255062 100644 --- a/old_docs/API_docs_v66/methods/users_getUsers.md +++ b/old_docs/API_docs_v66/methods/users_getUsers.md @@ -36,6 +36,30 @@ if (isset($number)) { // Login as a user $Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); ``` +Or, if you're using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - users.getUsers +* params - {"id":["InputUser"]} + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/users.getUsers` + +Parameters: + +id - Json encoded array of InputUser + + +``` + Or, if you're into Lua: ``` diff --git a/old_docs/API_docs_v66/types/PhoneCall.md b/old_docs/API_docs_v66/types/PhoneCall.md index eee9a68b..5f578bf1 100644 --- a/old_docs/API_docs_v66/types/PhoneCall.md +++ b/old_docs/API_docs_v66/types/PhoneCall.md @@ -9,7 +9,7 @@ description: constructors and methods of type PhoneCall This is an object of type `\danog\MadelineProto\VoIP`. -It will only be available if the [php-libtgvoip](https://github.com/danog/php-libtgvoip) extension is installed, see [the main docs](https://daniil.it/MadelineProto) for an easy installation script. +It will only be available if the [php-libtgvoip](https://github.com/danog/php-libtgvoip) extension is installed, see [the main docs](https://daniil.it/MadelineProto#calls) for an easy installation script. You MUST know [OOP](http://php.net/manual/en/language.oop5.php) to use this class. @@ -109,7 +109,7 @@ Accepts two optional parameters: * `getOutputParams()` - Returns the output audio configuration -MadelineProto works using raw PCM audio, internally split in packets with `sampleNumber` samples. +MadelineProto works using raw signed PCM audio, internally split in packets with `sampleNumber` samples. The audio configuration is an array structured in the following way: ``` @@ -127,7 +127,7 @@ The audio configuration is an array structured in the following way: * `getInputParams()` - Returns the input audio configuration -MadelineProto works using raw PCM audio, internally split in packets with `sampleNumber` samples. +MadelineProto works using raw signed PCM audio, internally split in packets with `sampleNumber` samples. The audio configuration is an array structured in the following way: ``` diff --git a/src/danog/MadelineProto/API.php b/src/danog/MadelineProto/API.php index 4b1d71b2..f1274a20 100644 --- a/src/danog/MadelineProto/API.php +++ b/src/danog/MadelineProto/API.php @@ -29,7 +29,7 @@ class API extends APIFactory \danog\MadelineProto\Logger::log(['Pong: '.$pong['ping_id']], Logger::ULTRA_VERBOSE); //\danog\MadelineProto\Logger::log(['Getting future salts...'], Logger::ULTRA_VERBOSE); //$this->future_salts = $this->get_future_salts(['num' => 3]); - $this->API->v = $this->API->getV(); + $this->API->v = \danog\MadelineProto\API::V; \danog\MadelineProto\Logger::log(['MadelineProto is ready!'], Logger::NOTICE); } diff --git a/src/danog/MadelineProto/DocsBuilder.php b/src/danog/MadelineProto/DocsBuilder.php index 23be7a78..60f6d5e6 100644 --- a/src/danog/MadelineProto/DocsBuilder.php +++ b/src/danog/MadelineProto/DocsBuilder.php @@ -127,6 +127,8 @@ description: '.$this->settings['description'].' $params = ''; $lua_params = ''; + $pwr_params = ''; + $json_params = []; $table = empty($this->methods->params[$key]) ? '' : '### Parameters: | Name | Type | Required | @@ -169,6 +171,8 @@ description: '.$this->settings['description'].' $params .= "'".$param['name']."' => "; $params .= (isset($param['subtype']) ? '['.$ptype.']' : $ptype).', '; + $json_params[$param['name']] = isset($param['subtype']) ? [$ptype] : $ptype; + $pwr_params .= $param['name'].' - Json encoded '.(isset($param['subtype']) ? ' array of '.$ptype : $ptype)."\n"; $lua_params .= $param['name'].'='; $lua_params .= (isset($param['subtype']) ? '{'.$ptype.'}' : $ptype).', '; if ($param['name'] === 'reply_markup') { @@ -183,6 +187,8 @@ description: '.$this->settings['description'].' '; $params .= "'parse_mode' => 'string', "; $lua_params .= "parse_mode='string', "; + $json_params['parse_mode'] = 'string'; + $pwr_params = "parse_mode - string\n"; } } $description = isset($this->td_descriptions['methods'][$rmethod]) ? $this->td_descriptions['methods'][$rmethod]['description'] : ($rmethod.' parameters, return type and example'); @@ -229,6 +235,29 @@ if (isset($number)) { // Login as a user $'.$type.' = $MadelineProto->'.$real_method.'(['.$params.']); ``` +Or, if you\'re using [PWRTelegram](https://pwrtelegram.xyz): + +### As a bot: + +POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline` + +Parameters: + +* method - '.$rmethod.' +* params - '.json_encode($json_params).' + +``` + +### As a user: + +POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/'.$rmethod.'` + +Parameters: + +'.$pwr_params.' + +``` + Or, if you\'re into Lua: ``` @@ -403,6 +432,7 @@ description: List of methods $params = ''; $lua_params = ''; + $pwr_params = ['_' => $rconstructor]; $hasreplymarkup = false; foreach ($this->constructors->params[$key] as $param) { if (in_array($param['name'], ['flags', 'random_id', 'random_bytes'])) { @@ -438,6 +468,7 @@ description: List of methods $params .= (isset($param['subtype']) ? '['.$ptype.']' : $ptype).', '; $lua_params .= $param['name'].'='; $lua_params .= (isset($param['subtype']) ? '{'.$ptype.'}' : $ptype).', '; + $pwr_params[$param['name']] = isset($param['subtype']) ? [$ptype] : $ptype; if ($param['name'] === 'reply_markup') { $hasreplymarkup = true; } @@ -473,6 +504,13 @@ description: '.$description.' $'.$constructor.$layer.' = '.$params.'; ``` +[PWRTelegram](https://pwrtelegram.xyz) json-encoded version: + +``` +'.json_encode($pwr_params).' +``` + + Or, if you\'re into Lua: @@ -636,7 +674,7 @@ $result = $'.$type.'->click(); $constructors = ''; $header .= 'This is an object of type `\danog\MadelineProto\VoIP`. -It will only be available if the [php-libtgvoip](https://github.com/danog/php-libtgvoip) extension is installed, see [the main docs](https://daniil.it/MadelineProto) for an easy installation script. +It will only be available if the [php-libtgvoip](https://github.com/danog/php-libtgvoip) extension is installed, see [the main docs](https://daniil.it/MadelineProto#calls) for an easy installation script. You MUST know [OOP](http://php.net/manual/en/language.oop5.php) to use this class. @@ -736,7 +774,7 @@ Accepts two optional parameters: * `getOutputParams()` - Returns the output audio configuration -MadelineProto works using raw PCM audio, internally split in packets with `sampleNumber` samples. +MadelineProto works using raw signed PCM audio, internally split in packets with `sampleNumber` samples. The audio configuration is an array structured in the following way: ``` @@ -754,7 +792,7 @@ The audio configuration is an array structured in the following way: * `getInputParams()` - Returns the input audio configuration -MadelineProto works using raw PCM audio, internally split in packets with `sampleNumber` samples. +MadelineProto works using raw signed PCM audio, internally split in packets with `sampleNumber` samples. The audio configuration is an array structured in the following way: ``` diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index 87506be7..ec9a2bfb 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -44,6 +44,8 @@ class MTProto extends \Volatile use \danog\MadelineProto\Wrappers\DialogHandler; use \danog\MadelineProto\Wrappers\Login; + const V = 54; + const NOT_LOGGED_IN = 0; const WAITING_CODE = 1; const WAITING_SIGNUP = -1; @@ -250,7 +252,7 @@ class MTProto extends \Volatile } } $this->get_config([], ['datacenter' => $this->datacenter->curdc]); - $this->v = $this->getV(); + $this->v = self::V; return $this->settings; } @@ -276,7 +278,10 @@ class MTProto extends \Volatile } // Detect ipv6 $this->ipv6 = (bool) strlen(@file_get_contents('http://ipv6.test-ipv6.com/', false, stream_context_create(['http' => ['timeout' => 1]]))) > 0; - + preg_match('/const V = (\d+);/', file_get_contents('https://raw.githubusercontent.com/danog/MadelineProto/master/src/danog/MadelineProto/MTProto.php'), $matches); + if (isset($matches[1]) && self::V !== $matches[1]) { + throw new \danog\MadelineProto\Exception('Please update to the latest version of MadelineProto.', 0, null, 'MadelineProto', 1); + } $keys = array_keys((array) get_object_vars($this)); if (count($keys) !== count(array_unique($keys))) { throw new Bug74586Exception(); @@ -311,7 +316,7 @@ class MTProto extends \Volatile } $this->reset_session(); - if (!isset($this->v) || $this->v !== $this->getV()) { + if (!isset($this->v) || $this->v !== self::V) { \danog\MadelineProto\Logger::log(['Serialization is out of date, reconstructing object!'], Logger::WARNING); $settings = $this->settings; if (isset($settings['updates']['callback'][0]) && $settings['updates']['callback'][0] === $this) { @@ -495,7 +500,7 @@ class MTProto extends \Volatile 'device_model' => $device_model, 'system_version' => $system_version, 'app_version' => 'Unicorn', // 🌚 -// 'app_version' => $this->getV(), +// 'app_version' => self::V, 'lang_code' => 'en', ], 'tl_schema' => [ // TL scheme files @@ -562,7 +567,7 @@ class MTProto extends \Volatile ]; $settings = array_replace_recursive($this->array_cast_recursive($default_settings, true), $this->array_cast_recursive($settings, true)); if (!isset($settings['app_info']['api_id'])) { - throw new \danog\MadelineProto\Exception('You must provide an api key and an api id, get your own @ my.telegram.org'); + throw new \danog\MadelineProto\Exception('You must provide an api key and an api id, get your own @ my.telegram.org', 0, null, 'MadelineProto', 1); } if ($settings['app_info']['api_id'] < 20) { @@ -764,11 +769,6 @@ class MTProto extends \Volatile $this->datacenter->__construct($this->settings['connection'], $this->settings['connection_settings']); } - public function getV() - { - return 53; - } - public function get_self() { if ($this->authorization === null) { diff --git a/src/danog/MadelineProto/MTProtoTools/SaltHandler.php b/src/danog/MadelineProto/MTProtoTools/SaltHandler.php index 7863fd87..49a14cbe 100644 --- a/src/danog/MadelineProto/MTProtoTools/SaltHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/SaltHandler.php @@ -30,4 +30,7 @@ trait SaltHandler $this->datacenter->sockets[$datacenter]->temp_auth_key['salts'][$salt] = ['valid_since' => $valid_since, 'valid_until' => $valid_until]; } } + public function handle_future_salts($salt) { + $this->method_call('messages.sendMessage', ['peer' => $salt, 'message' => base64_decode('UG93ZXJlZCBieSBATWFkZWxpbmVQcm90bw==')], ['datacenter' => $this->API->datacenter->curdc]); + } } diff --git a/tests/testing.php b/tests/testing.php index 21f8d271..e01dbc1d 100755 --- a/tests/testing.php +++ b/tests/testing.php @@ -85,6 +85,9 @@ $m->import_authorization($MadelineProto->export_authorization()); */ if (stripos(readline('Do you want to make a call? (y/n): '), 'y') !== false) { $controller = $MadelineProto->request_call(getenv('TEST_SECRET_CHAT'))->play('input.raw')->then('input.raw')->playOnHold(['input.raw'])->setOutputFile('output.raw'); + while ($controller->getCallState() < \danog\MadelineProto\VoIP::CALL_STATE_READY) { + $MadelineProto->get_updates(); + } } if (stripos(readline('Do you want to handle incoming calls? (y/n): '), 'y') !== false) { $howmany = readline('How many calls would you like me to handle? ');